aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mips-elf/empic1-ref.s
diff options
context:
space:
mode:
authorChris Demetriou <cgd@google.com>2002-01-02 18:59:32 +0000
committerChris Demetriou <cgd@google.com>2002-01-02 18:59:32 +0000
commita657e7c198e219e5e540a804f9e5dfb0d81ba886 (patch)
tree29a4f1dcec826a1121a21ba0c139e713d82d4bac /ld/testsuite/ld-mips-elf/empic1-ref.s
parent20d54542b93d43f80c98f5a329c13f39e4835075 (diff)
downloadgdb-a657e7c198e219e5e540a804f9e5dfb0d81ba886.zip
gdb-a657e7c198e219e5e540a804f9e5dfb0d81ba886.tar.gz
gdb-a657e7c198e219e5e540a804f9e5dfb0d81ba886.tar.bz2
2002-01-02 Chris Demetriou <cgd@broadcom.com>
* ld-mips-elf/empic1-ln.d: New file to test basic linking of R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocations. * ld-mips-elf/empic1-lp.d: Likewise. * ld-mips-elf/empic1-mn.d: Likewise. * ld-mips-elf/empic1-mp.d: Likewise. * ld-mips-elf/empic1-sn.d: Likewise. * ld-mips-elf/empic1-sp.d: Likewise. * ld-mips-elf/empic1-ref.s: Likewise. * ld-mips-elf/empic1-space.s: Likewise. * ld-mips-elf/empic1-tgt.s: Likewise. * ld-mips-elf/empic2-fwd-0.d: New file to test R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocation edge cases. * ld-mips-elf/empic2-fwd-1.d: Likewise. * ld-mips-elf/empic2-rev-0.d: Likewise. * ld-mips-elf/empic2-rev-1.d: Likewise. * ld-mips-elf/empic2-ref.s: Likewise. * ld-mips-elf/empic2-space.s: Likewise. * ld-mips-elf/empic2-fwd-tgt.s: Likewise. * ld-mips-elf/empic2-rev-tgt.s: Likewise. * ld-mips-elf/mips-elf.exp: New file to run MIPS 32-bit ELF tests (including those above).
Diffstat (limited to 'ld/testsuite/ld-mips-elf/empic1-ref.s')
-rw-r--r--ld/testsuite/ld-mips-elf/empic1-ref.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/empic1-ref.s b/ld/testsuite/ld-mips-elf/empic1-ref.s
new file mode 100644
index 0000000..dfa345e
--- /dev/null
+++ b/ld/testsuite/ld-mips-elf/empic1-ref.s
@@ -0,0 +1,9 @@
+
+ .globl foo
+ .ent foo
+foo:
+ nop
+ la $2, bar - foo
+ .end foo
+
+ .p2align 5