public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] bfd: xtensa: fix PR ld/25630
@ 2020-03-16  8:32 gdb-buildbot
  2020-03-16  8:32 ` Failures on Fedora-i686, branch master gdb-buildbot
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: gdb-buildbot @ 2020-03-16  8:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e15a8da9c71336b06cb5f2706c3f6b7e6ddd95a3 ***

commit e15a8da9c71336b06cb5f2706c3f6b7e6ddd95a3
Author:     Max Filippov <jcmvbkbc@gmail.com>
AuthorDate: Wed Mar 4 14:54:27 2020 -0800
Commit:     Max Filippov <jcmvbkbc@gmail.com>
CommitDate: Thu Mar 5 19:48:08 2020 -0800

    bfd: xtensa: fix PR ld/25630
    
    bfd/
    2020-03-05  Max Filippov  <jcmvbkbc@gmail.com>
    
            * elf32-xtensa.c (shrink_dynamic_reloc_sections): Shrink dynamic
            relocation sections for any removed reference to a dynamic symbol.

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 1cfff1c04d..838b07faf1 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2020-03-05  Max Filippov  <jcmvbkbc@gmail.com>
+
+	* elf32-xtensa.c (shrink_dynamic_reloc_sections): Shrink dynamic
+	relocation sections for any removed reference to a dynamic symbol.
+
 2020-03-05  Nick Clifton  <nickc@redhat.com>
 
 	* elf-bfd.h (struct elf_backend_data): Add new fields:
diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c
index 5e31e73a6f..473a9d76f2 100644
--- a/bfd/elf32-xtensa.c
+++ b/bfd/elf32-xtensa.c
@@ -10148,10 +10148,9 @@ shrink_dynamic_reloc_sections (struct bfd_link_info *info,
 
   if ((r_type == R_XTENSA_32 || r_type == R_XTENSA_PLT)
       && (input_section->flags & SEC_ALLOC) != 0
-      && (dynamic_symbol || bfd_link_pic (info))
-      && (!h || h->root.type != bfd_link_hash_undefweak
-	  || (dynamic_symbol
-	      && (bfd_link_dll (info) || info->export_dynamic))))
+      && (dynamic_symbol
+	  || (bfd_link_pic (info)
+	      && (!h || h->root.type != bfd_link_hash_undefweak))))
     {
       asection *srel;
       bfd_boolean is_plt = FALSE;


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-03-19  5:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-16  8:32 [binutils-gdb] bfd: xtensa: fix PR ld/25630 gdb-buildbot
2020-03-16  8:32 ` Failures on Fedora-i686, branch master gdb-buildbot
2020-03-16  8:35 ` Failures on Fedora-x86_64-cc-with-index, " gdb-buildbot
2020-03-16  9:06 ` Failures on Fedora-x86_64-m64, " gdb-buildbot
2020-03-16  9:14 ` Failures on Fedora-x86_64-m32, " gdb-buildbot
2020-03-16  9:46 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " gdb-buildbot
2020-03-16 10:07 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " gdb-buildbot
2020-03-18 10:34 ` Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, " gdb-buildbot
2020-03-18 11:57 ` Failures on Fedora-x86_64-native-gdbserver-m64, " gdb-buildbot
2020-03-18 12:23 ` Failures on Ubuntu-Aarch64-native-gdbserver-m64, " gdb-buildbot
2020-03-19  5:17 ` Failures on Fedora-x86_64-native-gdbserver-m32, " gdb-buildbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).