[PATCH,HURD] Recognize GNU/Hurd-specific binaries

Roland McGrath roland@hack.frob.com
Sun Jun 19 20:48:00 GMT 2011


> Ground issue is this:
> http://sourceware.org/bugzilla/show_bug.cgi?id=10549
> gcc/glibc now uses GNU-specific extensions to the ELF format (GNU_IFUNC,
> GNU_UNIQUE). For such cases, binutils now emits binaries with the
> GNU/Linux-specific ELFOSABI_LINUX on GNU/Linux, and should also emit
> binaries with the GNU/Hurd-specific ELFOSABI_HURD on GNU/Hurd.

I am not convinced that the addition of an ELFOSABI_HURD makes any sense.
ELFOSABI_LINUX today really doesn't mean anything about an "OS", it just
means the presence of these GNU ELF extensions.  I don't see why we
shouldn't use that flag uniformly across all kinds of GNU systems.


Thanks,
Roland



More information about the Libc-alpha mailing list