forked from pool/binutils
This commit is contained in:
parent
e0ce529b18
commit
51a8319b5f
@ -1,7 +1,7 @@
|
||||
Index: bfd/elf32-s390.c
|
||||
===================================================================
|
||||
--- bfd/elf32-s390.c.orig 2016-01-27 14:06:42.068604589 +0100
|
||||
+++ bfd/elf32-s390.c 2016-01-27 14:10:52.591518888 +0100
|
||||
--- bfd/elf32-s390.c.orig 2016-01-25 09:51:06.000000000 +0100
|
||||
+++ bfd/elf32-s390.c 2016-01-27 15:24:52.947115619 +0100
|
||||
@@ -2782,6 +2782,27 @@ elf_s390_relocate_section (bfd *output_b
|
||||
case R_390_PC24DBL:
|
||||
case R_390_PC32DBL:
|
||||
@ -9,7 +9,7 @@ Index: bfd/elf32-s390.c
|
||||
+ /* This is strictly required only for PC32DBL, which
|
||||
+ is not handled by ld.so, but let's be helpful to the user also
|
||||
+ in the other cases. */
|
||||
+ if (info->shared
|
||||
+ if (bfd_link_pic (info)
|
||||
+ && !SYMBOL_REFERENCES_LOCAL (info, h)
|
||||
+ && (input_section->flags & SEC_ALLOC) != 0
|
||||
+ && (input_section->flags & SEC_READONLY) != 0
|
||||
|
Loading…
Reference in New Issue
Block a user