- Updated libstdc++ pretty printers to - Remove gdb-libstdc++-v3-python-6.3.1-20170212.tar.bz2 as unused in SUSE. - Add patches for s390x z14 feates [fate #321514, fate #322272] gdb-s390x-1b63490.patch gdb-s390x-289e23a.patch gdb-s390x-8fe09d7.patch gdb-s390x-96235dc.patch gdb-s390x-ad33963.patch - Adjust some patches: gdb-ppc-power7-test.patch gdb-rhbz795424-bitpos-20of25.patch gdb-rhbz795424-bitpos-21of25.patch gdb-vla-intel-fortran-vla-strings.patch - Add some patches from Fedora: gdb-rhbz1420304-s390x-01of35.patch gdb-rhbz1420304-s390x-02of35.patch gdb-rhbz1420304-s390x-03of35.patch gdb-rhbz1420304-s390x-04of35.patch gdb-rhbz1420304-s390x-05of35.patch gdb-rhbz1420304-s390x-06of35.patch gdb-rhbz1420304-s390x-07of35.patch gdb-rhbz1420304-s390x-08of35.patch gdb-rhbz1420304-s390x-09of35.patch gdb-rhbz1420304-s390x-10of35.patch gdb-rhbz1420304-s390x-11of35.patch gdb-rhbz1420304-s390x-12of35.patch gdb-rhbz1420304-s390x-13of35.patch gdb-rhbz1420304-s390x-14of35.patch OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=167
68 lines
2.2 KiB
Diff
68 lines
2.2 KiB
Diff
commit 1ef692ea23714876cc30b1a3ab3ef33a1369f17a
|
|
Author: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
Date: Tue Aug 1 15:13:40 2017 +0200
|
|
|
|
S/390: Fix claimfile failures
|
|
|
|
This fixes a segfault when trying to access the local_plt field in the
|
|
s390 specific elf data althoug the underlaying object is a generic elf
|
|
object.
|
|
|
|
This fixes the following testsuite failures:
|
|
|
|
< FAIL: plugin claimfile replace symbol with source
|
|
< FAIL: plugin claimfile resolve symbol with source
|
|
< FAIL: plugin claimfile replace file with source
|
|
< FAIL: plugin set symbol visibility with source
|
|
< FAIL: plugin ignore lib with source
|
|
< FAIL: plugin claimfile replace lib with source
|
|
< FAIL: plugin 2 with source lib
|
|
< FAIL: load plugin 2 with source
|
|
< FAIL: plugin 3 with source lib
|
|
< FAIL: load plugin 3 with source
|
|
|
|
bfd/ChangeLog:
|
|
|
|
2017-08-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
* elf32-s390.c (elf_s390_finish_dynamic_sections): Skip if it
|
|
isn't the S/390 specific elf data.
|
|
* elf64-s390.c (elf_s390_finish_dynamic_sections): Likewise.
|
|
|
|
### a/bfd/ChangeLog
|
|
### b/bfd/ChangeLog
|
|
## -1,3 +1,9 @@
|
|
+2017-08-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
+
|
|
+ * elf32-s390.c (elf_s390_finish_dynamic_sections): Skip if it
|
|
+ isn't the S/390 specific elf data.
|
|
+ * elf64-s390.c (elf_s390_finish_dynamic_sections): Likewise.
|
|
+
|
|
2017-07-31 Kuan-Lin Chen <rufus@andestech.com>
|
|
|
|
* elfxx-riscv.c (riscv_elf_add_sub_reloc): New function.
|
|
--- a/bfd/elf32-s390.c
|
|
+++ b/bfd/elf32-s390.c
|
|
@@ -4001,6 +4001,9 @@ elf_s390_finish_dynamic_sections (bfd *output_bfd,
|
|
|
|
symtab_hdr = &elf_symtab_hdr (ibfd);
|
|
|
|
+ if (!is_s390_elf (ibfd))
|
|
+ continue;
|
|
+
|
|
local_plt = elf_s390_local_plt (ibfd);
|
|
if (local_plt != NULL)
|
|
for (i = 0; i < symtab_hdr->sh_info; i++)
|
|
--- a/bfd/elf64-s390.c
|
|
+++ b/bfd/elf64-s390.c
|
|
@@ -3814,6 +3814,9 @@ elf_s390_finish_dynamic_sections (bfd *output_bfd,
|
|
|
|
symtab_hdr = &elf_symtab_hdr (ibfd);
|
|
|
|
+ if (!is_s390_elf (ibfd))
|
|
+ continue;
|
|
+
|
|
local_plt = elf_s390_local_plt (ibfd);
|
|
if (local_plt != NULL)
|
|
for (i = 0; i < symtab_hdr->sh_info; i++)
|