diff options
author | Alan Modra <amodra@gmail.com> | 2018-02-02 16:55:21 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-02-02 22:46:40 +1030 |
commit | d830549dba59f4e11412fd6dc18b7b1d4c6cf557 (patch) | |
tree | c71c424578dca6fabb7c6e3ac6c99819025ad3c3 /bfd/ChangeLog | |
parent | 59498c305e6f1db2a1ed8d44cb58f0d24ec092fe (diff) | |
download | gdb-d830549dba59f4e11412fd6dc18b7b1d4c6cf557.zip gdb-d830549dba59f4e11412fd6dc18b7b1d4c6cf557.tar.gz gdb-d830549dba59f4e11412fd6dc18b7b1d4c6cf557.tar.bz2 |
PowerPC64, don't relocate nops
This fixes a "bug" in that nops emitted as part of code optimization
were being relocated. As it happens the relocation value was always
zero so the nop wasn't changed. Whew! I've also moved the use of
"howto" later since I was caught out in some recent code changes with
the howto not matching r_type.
* elf64-ppc.c (ppc64_elf_relocate_section): Don't relocate nops
emitted for toc sequence optimization. Set and use "howto" later.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 664a974..090fc23 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2018-02-02 Alan Modra <amodra@gmail.com> + + * elf64-ppc.c (ppc64_elf_relocate_section): Don't relocate nops + emitted for toc sequence optimization. Set and use "howto" later. + 2018-02-01 Simon Marchi <simon.marchi@ericsson.com> * elf64-ppc.c (ppc64_elf_archive_symbol_lookup): Avoid pointer |