mirror of
git://slackware.nl/current.git
synced 2024-12-27 09:59:16 +01:00
12 lines
500 B
Diff
12 lines
500 B
Diff
|
diff -rup binutils.orig/bfd/elfnn-aarch64.c binutils-2.27/bfd/elfnn-aarch64.c
|
||
|
--- binutils.orig/bfd/elfnn-aarch64.c 2017-02-21 10:45:19.311956006 +0000
|
||
|
+++ binutils-2.27/bfd/elfnn-aarch64.c 2017-02-21 11:55:07.517922655 +0000
|
||
|
@@ -4947,6 +4947,7 @@ elfNN_aarch64_final_link_relocate (reloc
|
||
|
it here if it is defined in a non-shared object. */
|
||
|
if (h != NULL
|
||
|
&& h->type == STT_GNU_IFUNC
|
||
|
+ && (input_section->flags & SEC_ALLOC)
|
||
|
&& h->def_regular)
|
||
|
{
|
||
|
asection *plt;
|