diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2009-08-10 13:38:44 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2009-08-10 13:38:44 +0000 |
commit | 01017ef89a902536817c86aa0d0562184807a954 (patch) | |
tree | 7479f8fca97167522f03259c9c82e7804c762753 /ld/testsuite/ld-powerpc/relax.s | |
parent | 023e4e81acd973bf79e07681690ca4196bf2e37d (diff) | |
download | binutils-01017ef89a902536817c86aa0d0562184807a954.zip binutils-01017ef89a902536817c86aa0d0562184807a954.tar.gz binutils-01017ef89a902536817c86aa0d0562184807a954.tar.bz2 |
bfd/
* elf32-ppc.c (shared_stub_entry, stub_entry): Use r12, not r11.
(ppc_elf_relax_section): Use symbol index to distinguish
relocatable stubs.
ld/testsuite/
* ld-powerpc/relax.s: New.
* ld-powerpc/relax.d: New.
* ld-powerpc/relaxr.d: New.
* ld-powerpc/powerpc.exp: Add new tests.
Diffstat (limited to 'ld/testsuite/ld-powerpc/relax.s')
-rw-r--r-- | ld/testsuite/ld-powerpc/relax.s | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/relax.s b/ld/testsuite/ld-powerpc/relax.s new file mode 100644 index 0000000..2e05569 --- /dev/null +++ b/ld/testsuite/ld-powerpc/relax.s @@ -0,0 +1,6 @@ + .globl _start +_start: + bl near + bl far + bl near + bl far |