diff options
author | Alan Modra <amodra@gmail.com> | 2019-09-20 12:21:50 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-09-20 12:51:19 +0930 |
commit | e59a1001222d853f0517c7e974bb51589ba86710 (patch) | |
tree | d31bde00fd91d48b7367a4ed9eb83984cdcd97bb /gold/ChangeLog | |
parent | e4153ae630fcc779ba414fdcea960394cb479e04 (diff) | |
download | gdb-e59a1001222d853f0517c7e974bb51589ba86710.zip gdb-e59a1001222d853f0517c7e974bb51589ba86710.tar.gz gdb-e59a1001222d853f0517c7e974bb51589ba86710.tar.bz2 |
PowerPC64, error on unsupported dynamic relocation
This patch corrects the set of dynamic relocations recognised by gold
as supported by glibc, and teaches ld.bfd to report an error similar
to the gold error. Note that ld --noinhibit-exec can be used to
produce an output, supporting older ld with newer glibc if the set of
supported glibc dynamic relocations changes.
bfd/
* elf64-ppc.c (ppc64_glibc_dynamic_reloc): New function.
(ppc64_elf_relocate_section): Error if emitting unsupported
dynamic relocations.
gold/
* powerpc.cc (Target_powerpc::Scan::check_non_pic): Move REL24
to 32-bit supported.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 9e45c0f..8ec7014 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2019-09-20 Alan Modra <amodra@gmail.com> + + * powerpc.cc (Target_powerpc::Scan::check_non_pic): Move REL24 + to 32-bit supported. + 2019-09-18 Simon Marchi <simon.marchi@polymtl.ca> * testsuite/Makefile.in: Re-generate. |