aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2018-10-05 11:41:41 +0900
committerStafford Horne <shorne@gmail.com>2018-10-05 11:41:41 +0900
commitf2c1801f6255a3f9f483ae2f07c7d7da0ddae4af (patch)
tree42225e48a4f3b3a8ac41540c97ddc598b472ac98 /bfd/ChangeLog
parent1c4f3780f7d939402cfe555007ebff45c8e38951 (diff)
downloadgdb-f2c1801f6255a3f9f483ae2f07c7d7da0ddae4af.zip
gdb-f2c1801f6255a3f9f483ae2f07c7d7da0ddae4af.tar.gz
gdb-f2c1801f6255a3f9f483ae2f07c7d7da0ddae4af.tar.bz2
or1k: Fix messages for relocations in shared libraries
Added checks include: - Do not allow relocations to global symbols using relocations which are meant for local symbol relocations. - Require the use of -fpic when compiling shared libraries. - Require zero addend for plt relocations. bfd/ChangeLog: yyyy-mm-dd Richard Henderson <rth@twiddle.net> * elf32-or1k.c (or1k_elf_relocate_section): Add error for unknown relocations. Add error for non zero addend with plt and got relocations. Add error for got and plt references against dynamic, non local, symbols. Add error when linking non shared liraries with flag_pic.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index e0b26df..d8f0949 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,4 +1,12 @@
2018-10-05 Richard Henderson <rth@twiddle.net>
+
+ * elf32-or1k.c (or1k_elf_relocate_section): Add error for unknown
+ relocations. Add error for non zero addend with plt and got
+ relocations. Add error for got and plt references against dynamic, non
+ local, symbols. Add error when linking non shared liraries with
+ flag_pic.
+
+2018-10-05 Richard Henderson <rth@twiddle.net>
Stafford Horne <shorne@gmail.com>
* bfd-in2.h: Regenerated.