source: trunk/binutils/ld/testsuite/ld-mips-elf/emrelocs1.s

Last change on this file was 607, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 376 bytes
Line 
1# emrelocs1.s: some external symbols to be used in relocations.
2
3 .text
4 .p2align 4
5
6 # Pad things so addresses which are used for relocations
7 # are non-zero. Zero simply isn't as much fun.
8 .word 0
9
10 .globl ext_fun
11 .ent ext_fun
12ext_fun: .word 1
13 .end ext_fun
14
15
16 .sdata
17 .p2align 4
18
19 # Padding here, for same reason.
20 .word 0
21
22 .globl ext_var
23ext_var: .word 2
Note: See TracBrowser for help on using the repository browser.