Commit | Line | Data |
---|---|---|
d65d31a6 CD |
1 | # Source file used to test the jal macro even harder |
2 | # some space so offets won't be 0. | |
3 | .space 0xc | |
4 | ||
5 | .globl g1 .text | |
6 | .globl e2 .text | |
7 | g1: | |
8 | l1: | |
9 | # some more space, so offset from label won't be 0. | |
10 | .space 0xc | |
11 | ||
12 | # Hit the case where 'value == 0' in the BFD_RELOC_16_PCREL_S2 | |
13 | # handling in tc-mips.c:md_apply_fix3(). | |
14 | jal g1 - 0x20 # 0x18 | |
15 | jal l1 - 0x28 # 0x20 | |
16 | jal e1 - 0x24 # 0x28 | |
17 | jal e2 - 0x2c # 0x30 | |
18 | ||
19 | # Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ... | |
20 | .space 8 |