summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/gdb/files/gdb-5.3-hppa-02.patch')
-rw-r--r--sys-devel/gdb/files/gdb-5.3-hppa-02.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-devel/gdb/files/gdb-5.3-hppa-02.patch b/sys-devel/gdb/files/gdb-5.3-hppa-02.patch
new file mode 100644
index 000000000000..aced5e630a7f
--- /dev/null
+++ b/sys-devel/gdb/files/gdb-5.3-hppa-02.patch
@@ -0,0 +1,24 @@
+--- 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)
+ return false;
+ }
+ else
+--- gdb-5.2.cvs20020401/bfd/elf32-hppa.c~ Sun Mar 31 19:09:41 2002
++++ gdb-5.2.cvs20020401/bfd/elf32-hppa.c Sat Apr 20 09:35:54 2002
+@@ -1038,7 +1038,8 @@
+ i_ehdrp = elf_elfheader (abfd);
+ if (strcmp (bfd_get_target (abfd), "elf32-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)
+ return false;
+ }
+ else