diff options
author | Alan Modra <amodra@gmail.com> | 2015-06-16 16:47:51 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-06-16 17:42:29 +0930 |
commit | 1d5c94cb3e2e312fc37e7841d17ea98a02f0412c (patch) | |
tree | c1af5e39acf43ea290e71861de2c9185508b8921 /ld/testsuite/ld-powerpc/ppc476-shared.s | |
parent | dd9bdb04c7ca31c4ca14e2aaf244d4a492d9d9b3 (diff) | |
download | gdb-1d5c94cb3e2e312fc37e7841d17ea98a02f0412c.zip gdb-1d5c94cb3e2e312fc37e7841d17ea98a02f0412c.tar.gz gdb-1d5c94cb3e2e312fc37e7841d17ea98a02f0412c.tar.bz2 |
ppc476 linker workaround shared lib fixes again
Huh, I can't even write a binary search properly.
bfd/
* elf32-ppc.c (ppc_elf_relocate_section): Correct binary search of
dynamic relocs.
ld/testsuite/
* ld-powerpc/ppc476-shared.s: Repeat dynamic reloc generating insns.
* ld-powerpc/ppc476-shared.d: Update.
* ld-powerpc/ppc476-shared2.d: Update.
Diffstat (limited to 'ld/testsuite/ld-powerpc/ppc476-shared.s')
-rw-r--r-- | ld/testsuite/ld-powerpc/ppc476-shared.s | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ld/testsuite/ld-powerpc/ppc476-shared.s b/ld/testsuite/ld-powerpc/ppc476-shared.s index 6774bad..e23b78a 100644 --- a/ld/testsuite/ld-powerpc/ppc476-shared.s +++ b/ld/testsuite/ld-powerpc/ppc476-shared.s @@ -1,8 +1,14 @@ .text lis 3,x@ha addi 3,3,x@l + .org 0x10000 + lis 3,x@ha + addi 3,3,x@l + .org 0x20000 + lis 3,x@ha + addi 3,3,x@l - .org 0xfff4 + .org 0x2fff4 bcl 20,31,.+4 0: mflr 9 |