Re: [U-Boot] [PATCH] i386 compiler args are wrong

2013-04-15 Thread Simon Glass
Hi Vladimir, Tom, On Sun, Apr 7, 2013 at 8:39 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > -pie for ld can't be used w/o -fPIE to compiler. -m32 and -melf_i386 > are needed to be able to use gcc-multilib/binutils-multilib. > -fPIE prevents from using some registers in constraints. This pat

[U-Boot] [PATCH] i386 compiler args are wrong

2013-04-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
-pie for ld can't be used w/o -fPIE to compiler. -m32 and -melf_i386 are needed to be able to use gcc-multilib/binutils-multilib. -fPIE prevents from using some registers in constraints. diff --git a/Makefile b/Makefile index db7561c..6c3a8d5 100644 --- a/Makefile +++ b/Makefile @@ -365,7 +365,7 @