ld: Move the .note.build-id section to near the start of the memory map.
[binutils-gdb.git] / sim / testsuite / bfin / link-2.s
blobac711c6646952da8c9e5dc69cfe9b9ea140ed77e
1 # Blackfin testcase for link/unlink instructions
2 # mach: bfin
4 .include "testutils.inc"
6 start
8 /* Make sure size arg to LINK works */
9 R0 = SP;
10 LINK 0x20;
11 R1 = SP;
12 R1 += 0x8 + 0x20;
13 CC = R1 == R0;
14 IF !CC JUMP 1f;
16 /* Make sure UNLINK restores old SP */
17 UNLINK
18 R1 = SP;
19 CC = R1 == R0;
20 IF !CC JUMP 1f;
22 pass
24 fail