[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH,HURD] Recognize GNU/Hurd-specific binaries
From: |
Samuel Thibault |
Subject: |
Re: [PATCH,HURD] Recognize GNU/Hurd-specific binaries |
Date: |
Sun, 19 Jun 2011 20:10:07 +0200 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Roland McGrath, le Sun 19 Jun 2011 10:48:12 -0700, a écrit :
> > 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.
Well, it frightens me a bit to add something called "LINUX" in all GNU
systems: what if somebody adds something there that we don't want to add
to some GNU system? What if we want to add something for GNU/Hurd that
Linux people do not want to add?
I know that the dynamic linker is currently mostly shared, but the very
fact that ELFOSABI_LINUX and ELFOSABI_HURD are already separate in
binutils worries me.
Samuel
- Re: [PATCH,HURD] Recognize GNU/Hurd-specific binaries,
Samuel Thibault <=