Commit | Line | Data |
---|---|---|
c19d1205 ZW |
1 | @ test that an OFFSET_IMM reloc against a global symbol is |
2 | @ still resolved by the assembler, as long as the symbol is in | |
3 | @ the same section as the reference | |
4 | .text | |
5 | .globl l | |
6 | .globl foo | |
7 | l: | |
8 | ldr r0, foo | |
9 | foo: | |
10 | nop | |
8fbf1ae5 | 11 | |
c19d1205 ZW |
12 | @ pad section for a.out's benefit |
13 | nop | |
14 | nop |