]> xenbits.xensource.com Git - mini-os.git/commit
x86: use unified linker script
authorWei Liu <wei.liu2@citrix.com>
Thu, 18 Aug 2016 10:15:26 +0000 (11:15 +0100)
committerWei Liu <wei.liu2@citrix.com>
Mon, 22 Aug 2016 09:39:21 +0000 (10:39 +0100)
commit5623e2d22833b401a731bd717f80fb2ffc5c8b73
tree50a2958be5bced45bbe983973a96ffd8a0e4a5d4
parent6d1cc81d049fdec8e8c8fe80a02fd51da1c150a5
x86: use unified linker script

There are only a few differences between i386 and x86-64 linker scripts.
Unify them into one. Re-indent the file at the same time.

Construct a special rule in top-level directory to cope with the change.
Ideally the build system should also be made more elegant, but
overhauling the build system is out of scope of this patch.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
.gitignore
Makefile
arch/x86/Makefile
arch/x86/minios-x86.lds.S [new file with mode: 0644]
arch/x86/minios-x86_32.lds [deleted file]
arch/x86/minios-x86_64.lds [deleted file]