From: Randolph Chung <randolph@tausq.org>
To: Carlos O'Donell <carlos@baldric.uwo.ca>,
parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] Why do we relax e_ident[EI_OSABI] in gdb?
Date: Fri, 27 Dec 2002 16:34:17 -0800 [thread overview]
Message-ID: <20021228003417.GX19331@tausq.org> (raw)
In-Reply-To: <20021227023137.GD8363@systemhalted>
> Anyone have some ideas why we have this patch in gdb, and thus relax the
> EI_OSABI check?
>
> --- gdb-5.2.cvs20020401/bfd/elf64-hppa.c~ Sun Mar 31 19:09:41 2002
> +++ gdb-5.2.cvs20020401/bfd/elf64-hppa.c Sat Apr 20 09:35:54 2002
> @@ -372,7 +372,8 @@
> i_ehdrp = elf_elfheader (abfd);
> if (strcmp (bfd_get_target (abfd), "elf64-hppa-linux") == 0)
> {
> - if (i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_LINUX)
> + if (i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_LINUX &&
> + i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_NONE)
well... take a look at
http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=137316
but Grant's references explain it in more detail.
randolph
prev parent reply other threads:[~2002-12-28 0:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-27 2:31 [parisc-linux] Why do we relax e_ident[EI_OSABI] in gdb? Carlos O'Donell
2002-12-27 5:49 ` Grant Grundler
2002-12-27 6:09 ` Grant Grundler
2002-12-28 0:34 ` Randolph Chung [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021228003417.GX19331@tausq.org \
--to=randolph@tausq.org \
--cc=carlos@baldric.uwo.ca \
--cc=parisc-linux@lists.parisc-linux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.