23 lines
636 B
Diff
23 lines
636 B
Diff
--- binutils.orig/bfd/elf64-s390.c 2018-03-09 11:49:19.535561642 +0000
|
|
+++ binutils-2.30/bfd/elf64-s390.c 2018-03-09 11:50:09.875967304 +0000
|
|
@@ -2559,6 +2559,9 @@ elf_s390_relocate_section (bfd *output_b
|
|
case R_390_32:
|
|
case R_390_64:
|
|
|
|
+ if ((input_section->flags & SEC_ALLOC) == 0)
|
|
+ break;
|
|
+
|
|
if (h != NULL
|
|
&& s390_is_ifunc_symbol_p (h)
|
|
&& h->def_regular)
|
|
@@ -2621,9 +2624,6 @@ elf_s390_relocate_section (bfd *output_b
|
|
}
|
|
}
|
|
|
|
- if ((input_section->flags & SEC_ALLOC) == 0)
|
|
- break;
|
|
-
|
|
if ((bfd_link_pic (info)
|
|
&& (h == NULL
|
|
|| (ELF_ST_VISIBILITY (h->other) == STV_DEFAULT
|