aboutsummaryrefslogtreecommitdiff
path: root/gold/ChangeLog
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@gmail.com>2018-04-19 10:20:08 -0700
committerCary Coutant <ccoutant@gmail.com>2018-04-19 10:20:08 -0700
commitd83d54033545c0e7b668950b127753c88a33f950 (patch)
treeed509dc053b6db9b7e27acdb66550d9a724b7581 /gold/ChangeLog
parentf6a8b8c7ac2d5369070a6b76a94ee0f3052433ff (diff)
downloadfsf-binutils-gdb-d83d54033545c0e7b668950b127753c88a33f950.zip
fsf-binutils-gdb-d83d54033545c0e7b668950b127753c88a33f950.tar.gz
fsf-binutils-gdb-d83d54033545c0e7b668950b127753c88a33f950.tar.bz2
Fix second bug where --icf=safe triggers segfault when linking ARM.
When checking a R_ARM_TARGET[12] relocation, we need a valid target pointer, but the garbage collection code was passing a NULL instead. The previous fix for this bug fixed the call to scan.global_reloc_may_be_function_pointer, but missed the similar call to scan.local_reloc_may_be_function_pointer. gold/ PR gold/23046 * gc.h (gc_process_relocs): Pass target to scan.local_reloc_may_be_function_pointer.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r--gold/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 270ba8a..bc17a9e 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,9 @@
+2018-04-19 Cary Coutant <ccoutant@gmail.com>
+
+ PR gold/23046
+ * gc.h (gc_process_relocs): Pass target to
+ scan.local_reloc_may_be_function_pointer.
+
2018-04-18 Nick Clifton <nickc@redhat.com>
* po/es.po: Updated Spanish translation.