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: Should rename ELFOSABI_LINUX into ELFOSABI_GNU, and drop ELFOSABI_HURD


Matt Rice, le Sun 03 Jul 2011 23:42:10 -0700, a écrit :
> On Sun, Jul 3, 2011 at 6:40 AM, Thomas Schwinge <thomas@schwinge.name> wrote:
> > Hallo!
> >
> > On Thu, 30 Jun 2011 10:48:02 +0100, Nick Clifton <nickc@redhat.com> wrote:
> >> ?> [ELFOSABI_GNU]
> >>
> >> Approved - please apply.
> >
> > Applied, with the following additional changed:
> 
> Hi, It isn't immediately obvious to me how to fix it but this patch
> broke gdb compilation,
> 
> ELFOSABI_HURD and ELFOSABI_LINUX caused the respective i386gnu-tdep.c
> and i386-linux-tdep.c implementations to be used.  Not sure what to
> replace that with, with these being the same and/or missing.

I believe it should be turned into just one case (ELFOSABI_GNU), and
then use generic_elf_osabi_sniff_abi_tag_sections, as is done for
ELFOSABI_NONE, to distinguish between LINUX and HURD.

Samuel


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