ld: Move the .note.build-id section to near the start of the memory map.
[binutils-gdb.git] / sim / testsuite / bfin / c_progctrl_call_pr.s
blobbe8278e18230d6d5e830edfa1c739bb4eb3df1df
1 //Original:/testcases/core/c_progctrl_call_pr/c_progctrl_call_pr.dsp
2 // Spec Reference: progctrl call (pr)
3 # mach: bfin
5 .include "testutils.inc"
6 start
8 INIT_R_REGS 0;
10 ASTAT = r0;
12 FP = SP;
14 loadsym P1, SUBR;
15 CALL ( P1 );
17 CHECKREG r0, 0x00000000;
18 CHECKREG r1, 0x00001111;
19 CHECKREG r2, 0x00000000;
20 CHECKREG r3, 0x00000000;
21 CHECKREG r4, 0x00000000;
22 CHECKREG r5, 0x00000000;
23 CHECKREG r6, 0x00000000;
24 CHECKREG r7, 0x00000000;
26 pass
28 SUBR: // should jump here
29 R1.L = 0x1111;
30 RTS;
31 R2.L = 0x2222; // should not go here
32 RTS;