diff options
author | Alan Modra <amodra@gmail.com> | 2019-09-04 15:30:37 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-09-05 13:56:20 +0930 |
commit | 77486630b13e9e586b0a1556cba9876a0ede99da (patch) | |
tree | 161e6fdbc465968b10e3a7be716026b1f6acf33c /ld/ChangeLog | |
parent | 89bdc77eabf5ede68322f6e47e003c1dc45b9ccb (diff) | |
download | gdb-77486630b13e9e586b0a1556cba9876a0ede99da.zip gdb-77486630b13e9e586b0a1556cba9876a0ede99da.tar.gz gdb-77486630b13e9e586b0a1556cba9876a0ede99da.tar.bz2 |
R_PPC64_PCREL_OPT
The loads and stores handled in the second instruction of a sequence
marked by R_PPC64_PCREL_OPT may be a prefix instruction. For example:
pld ra,symbol@got@pcrel
0:
pld rt,off(ra)
.reloc 0b-8,R_PPC64_PCREL_OPT,(.-8)-(0b-8)
can be optimised to
pld rt,symbol+off@pcrel
pnop
* elf64-ppc.c (xlate_pcrel_opt): Handle prefix loads and stores
in second instruction.
(ppc64_elf_relocate_section): Likewise.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index b654eb9..0da9e25 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2019-09-05 Alan Modra <amodra@gmail.com> + + * testsuite/ld-powerpc/pcrelopt.s, + * testsuite/ld-powerpc/pcrelopt.d: Test offset and prefix in + second instruction. + 2019-08-29 Alan Modra <amodra@gmail.com> PR ld/24406 |