summaryrefslogtreecommitdiffstats
path: root/binutils-2.21/ld/testsuite/ld-mips-elf/dyn-sec64.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.21/ld/testsuite/ld-mips-elf/dyn-sec64.s')
-rw-r--r--binutils-2.21/ld/testsuite/ld-mips-elf/dyn-sec64.s19
1 files changed, 19 insertions, 0 deletions
diff --git a/binutils-2.21/ld/testsuite/ld-mips-elf/dyn-sec64.s b/binutils-2.21/ld/testsuite/ld-mips-elf/dyn-sec64.s
new file mode 100644
index 0000000..7d634ee
--- /dev/null
+++ b/binutils-2.21/ld/testsuite/ld-mips-elf/dyn-sec64.s
@@ -0,0 +1,19 @@
+ .section .init,"ax",@progbits
+ .globl _init
+ .ent _init
+ .type _init, @function
+_init:
+ ld $2,%call16(bar)
+ .end _init
+
+ .section .fini,"ax",@progbits
+ .globl _fini
+ .ent _fini
+ .type _fini, @function
+_fini:
+ .end _fini
+
+ .data
+foo:
+ .dword bar
+