aboutsummaryrefslogtreecommitdiff
path: root/gold/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-01-10 10:24:09 +1030
committerAlan Modra <amodra@gmail.com>2017-01-10 11:50:07 +1030
commitf159cdb61155d699f5aff2a9fbad8b787a7fe10c (patch)
treef86a44b39d08ad07be0349eaf3cb8b1f11588833 /gold/ChangeLog
parenteaa38cfd42fe323fb7868e676ced7419bc5eec12 (diff)
downloadgdb-f159cdb61155d699f5aff2a9fbad8b787a7fe10c.zip
gdb-f159cdb61155d699f5aff2a9fbad8b787a7fe10c.tar.gz
gdb-f159cdb61155d699f5aff2a9fbad8b787a7fe10c.tar.bz2
[GOLD] Add --secure-plt option for ppc32
Added just to accept, and ignore. gcc since 2015-10-21, when configured with --enable-secureplt passes this option to the linker. As powerpc gold cannot link --bss-plt code successfully, gold needs to accept the option or the gcc specs file needs to be changed. The patch also make gold detect --bss-plt code and error out rather than producing a binary that crashes. * options.h: Add --secure-plt option. * powerpc.cc (Target_powerpc::Scan::local): Detect and error on -fPIC -mbss-plt code. (Target_powerpc::Scan::global): Likewise.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r--gold/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 1159f9c..bf834f8 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,10 @@
+2017-01-10 Alan Modra <amodra@gmail.com>
+
+ * options.h: Add --secure-plt option.
+ * powerpc.cc (Target_powerpc::Scan::local): Detect and error
+ on -fPIC -mbss-plt code.
+ (Target_powerpc::Scan::global): Likewise.
+
2017-01-09 Alan Modra <amodra@gmail.com>
* powerpc.cc (Target_powerpc::make_plt_section): Point sh_info of