mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
f159cdb611
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.
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
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
|
||
".rela.plt" at ".plt".
|
||
|
||
2017-01-07 Alan Modra <amodra@gmail.com>
|
||
|
||
* powerpc.cc: Use shorter equivalent elfcpp typedef for
|
||
Reltype and reloc_size throughout.
|
||
(Target_powerpc::symval_for_branch): Exclude dynamic symbols.
|
||
(Target_powerpc::Scan::local): Use local var r_sym.
|
||
(Target_powerpc::Scan::global: Likewise.
|
||
(Target_powerpc::Relocate::relocate): Delete shadowing r_sym.
|
||
|
||
2017-01-02 Alan Modra <amodra@gmail.com>
|
||
|
||
Update year range in copyright notice of all files.
|
||
|
||
For older changes see ChangeLog-2016
|
||
|
||
Copyright (C) 2017 Free Software Foundation, Inc.
|
||
|
||
Copying and distribution of this file, with or without modification,
|
||
are permitted in any medium without royalty provided the copyright
|
||
notice and this notice are preserved.
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
End:
|