diff options
author | Alan Modra <amodra@gmail.com> | 2003-03-10 23:25:13 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2003-03-10 23:25:13 +0000 |
commit | e515b051720482023e3f79e418d8b381e29273f3 (patch) | |
tree | 655fb7c6e6041c298be80fff59d491198ae7c21f /ld/testsuite/ld-powerpc/tlsso32.r | |
parent | 8c87bc22967dca0135f841ee6ccfbdc36f6597ee (diff) | |
download | gdb-e515b051720482023e3f79e418d8b381e29273f3.zip gdb-e515b051720482023e3f79e418d8b381e29273f3.tar.gz gdb-e515b051720482023e3f79e418d8b381e29273f3.tar.bz2 |
* elf32-ppc.c (ppc_elf_relocate_section): Subtract tls seg vma from
zero index dynamic tls relocs generated for the GOT. Tidy code.
Set "relocation" to 1 on DTPMOD32 relocs. Optimize HA adjustment.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* ld-powerpc/tlsso.r: Adjust for corrected zero symbol index relocs.
* ld-powerpc/tlsso32.r: Likewise.
Diffstat (limited to 'ld/testsuite/ld-powerpc/tlsso32.r')
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsso32.r | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-powerpc/tlsso32.r b/ld/testsuite/ld-powerpc/tlsso32.r index 7125875..6009467 100644 --- a/ld/testsuite/ld-powerpc/tlsso32.r +++ b/ld/testsuite/ld-powerpc/tlsso32.r @@ -62,7 +62,7 @@ Relocation section '\.rela\.dyn' at offset 0x454 contains 18 entries: 0+5a6 +0+846 R_PPC_TPREL16_LO +0+105a8 +\.tdata \+ 105c0 0+10674 +0+44 R_PPC_DTPMOD32 +0+ 0+1067c +0+44 R_PPC_DTPMOD32 +0+ -0+10680 +0+4e R_PPC_DTPREL32 +0+105a8 +0+10680 +0+4e R_PPC_DTPREL32 +0+ 0+10684 +0+1244 R_PPC_DTPMOD32 +0+ +gd \+ 0 0+10688 +0+124e R_PPC_DTPREL32 +0+ +gd \+ 0 0+1068c +0+2144 R_PPC_DTPMOD32 +0+1c +gd0 \+ 0 |