]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-mips-elf/dyn-sec64.s
Imported binutils-2.20
[msp430-binutils.git] / ld / testsuite / ld-mips-elf / dyn-sec64.s
diff --git a/ld/testsuite/ld-mips-elf/dyn-sec64.s b/ld/testsuite/ld-mips-elf/dyn-sec64.s
new file mode 100644 (file)
index 0000000..7d634ee
--- /dev/null
@@ -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
+