summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/relax-jalr.s
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-03-26 01:05:44 +0000
committerAlexandre Oliva <aoliva@redhat.com>2003-03-26 01:05:44 +0000
commit7e7581f2011e685487a9010e018d603869f2f998 (patch)
tree901e72754130c9669662f0f65c676bbf92b197a6 /ld/testsuite/ld-mips-elf/relax-jalr.s
parent768cc03c46f9364743a79047d39a5e60f42a0bbe (diff)
downloadbinutils-redhat-7e7581f2011e685487a9010e018d603869f2f998.tar.gz
* ld-mips-elf/mips-elf.exp: Added...
* ld-mips-elf/relax-jalr.s, ld-mips-elf/relax-jalr-n32.d, ld-mips-elf/relax-jalr-n32-shared.d, ld-mips-elf/relax-jalr-n64.d, ld-mips-elf/relax-jalr-n64-shared.d: New tests.
Diffstat (limited to 'ld/testsuite/ld-mips-elf/relax-jalr.s')
-rw-r--r--ld/testsuite/ld-mips-elf/relax-jalr.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/relax-jalr.s b/ld/testsuite/ld-mips-elf/relax-jalr.s
new file mode 100644
index 0000000000..b990ad0a23
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/relax-jalr.s
@@ -0,0 +1,12 @@
+.globl __start
+ .space 8
+.ent __start
+__start:
+.Lstart:
+ .space 16
+ jal __start
+ .space 32
+ jal __start
+ .space 64
+ jal .Lstart
+.end __start