This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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] BFD and GAS support for x86_64-nacl target


On Fri, Mar 16, 2012 at 3:13 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> Why is x86_64:32?
> Do you need to support x86_64-*-nacl* target?

I'm not entirely clear on what you're asking.

For x86_64-nacl, x32 will be the primary model (and the only one supported
by gcc and glibc, when that work is eventually done).  So it just seemed
right that bare x86_64-nacl-as default to --x32.

But there are existing binaries from a past toolchain port (never
integrated upstream, and not very good quality) that use ELFCLASS64, so it
seems worthwhile that target=x86_64-nacl binutils know how to handle those
too.  Hence, target=x86_64-nacl and target=i?86-nacl builds have all three
BFD target flavors.

Does that answer your question?


Thanks,
Roland


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