Re: [Xen-devel] [MINIOS PATCH 4/4] x86: use unified linker script

2016-08-17 Thread Andrew Cooper
On 17/08/16 13:35, Wei Liu wrote: > diff --git a/arch/x86/minios-x86.lds.S b/arch/x86/minios-x86.lds.S > new file mode 100644 > index 000..65650ab > --- /dev/null > +++ b/arch/x86/minios-x86.lds.S > @@ -0,0 +1,133 @@ > +#if defined(__x86_64__) > + > +OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64"

Re: [Xen-devel] [MINIOS PATCH 4/4] x86: use unified linker script

2016-08-17 Thread Wei Liu
On Wed, Aug 17, 2016 at 01:35:14PM +0100, Wei Liu wrote: > 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 sh

[Xen-devel] [MINIOS PATCH 4/4] x86: use unified linker script

2016-08-17 Thread Wei Liu
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