This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Always pass --32 to assembler on Linux/ia32


On Thu, Oct 15, 2009 at 10:50 AM, Andrew Pinski <pinskia@gmail.com> wrote:
> On Thu, Oct 15, 2009 at 10:41 AM, H.J. Lu <hongjiu.lu@intel.com> wrote:
>> Hi,
>>
>> On Linux/ia32, we require binutils 2.13.1 or later, which supports --32
>> which was added on 2000-12-20. ?This patch always passes --32 to assembler
>> on Linux/ia32 so that one can configure gcc as i686-pc-linux-gnu on
>> Linux/x86-64 to build/test Linux/ia32 gcc binaries. Tested on Linux/ia32
>> and Linux/x86-64. ?OK for trunk?
>
> Does this work for a mutli-arch compiled i686-linux-gnu compiler?
>

Yes. Such setup includes i386/linux64.h which redefines ASM_SPEC.


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]