diff options
Diffstat (limited to 'ld/testsuite/ld-mips-elf/emrelocs1.s')
-rw-r--r-- | ld/testsuite/ld-mips-elf/emrelocs1.s | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/emrelocs1.s b/ld/testsuite/ld-mips-elf/emrelocs1.s new file mode 100644 index 0000000..3e679ae --- /dev/null +++ b/ld/testsuite/ld-mips-elf/emrelocs1.s @@ -0,0 +1,23 @@ +# emrelocs1.s: some external symbols to be used in relocations. + + .text + .p2align 4 + + # Pad things so addresses which are used for relocations + # are non-zero. Zero simply isn't as much fun. + .word 0 + + .globl ext_fun + .ent ext_fun +ext_fun: .word 1 + .end ext_fun + + + .sdata + .p2align 4 + + # Padding here, for same reason. + .word 0 + + .globl ext_var +ext_var: .word 2 |