[PATCH] BFD and GAS support for x86_64-nacl target

Roland McGrath mcgrathr@google.com
Fri Mar 16 22:26:00 GMT 2012


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



More information about the Binutils mailing list