mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
2000-05-02 H.J. Lu <hjl@gnu.org>
* ia64-tdep.c (ia64_gdbarch_init): Reference to ELFOSABI_NONE instead of ELFOSABI_SYSV.
This commit is contained in:
parent
146243a7e0
commit
02240683a5
@ -1,3 +1,8 @@
|
||||
2000-05-02 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* ia64-tdep.c (ia64_gdbarch_init): Reference to ELFOSABI_NONE
|
||||
instead of ELFOSABI_SYSV.
|
||||
|
||||
Tue May 2 19:07:20 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* gdbarch.sh (NPC_REGNUM, NNPC_REGNUM): Add.
|
||||
|
@ -1897,7 +1897,7 @@ ia64_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
|
||||
os_ident = elf_elfheader (info.abfd)->e_ident[EI_OSABI];
|
||||
|
||||
/* If os_ident is 0, it is not necessarily the case that we're on a
|
||||
SYSV system. (ELFOSABI_SYSV is defined to be 0.) GNU/Linux uses
|
||||
SYSV system. (ELFOSABI_NONE is defined to be 0.) GNU/Linux uses
|
||||
a note section to record OS/ABI info, but leaves e_ident[EI_OSABI]
|
||||
zero. So we have to check for note sections too. */
|
||||
if (os_ident == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user