Commit | Line | Data |
---|---|---|
1b19eb81 AO |
1 | ! Check mixed-mode objects; different sections holding different ISA:s. |
2 | .mode SHcompact | |
3 | .text | |
4 | .global start | |
5 | start: | |
6 | bt forw | |
7 | mova start2,r0 | |
8 | start2: | |
9 | nop | |
10 | nop | |
11 | forw: | |
12 | nop | |
13 | .long $ | |
14 | .long start2 | |
15 | .long mediacode2 | |
16 | ||
17 | .data | |
18 | .long $ | |
19 | .long start2 | |
20 | .long mediacode2 | |
21 | ||
22 | .section .text.media,"ax" | |
23 | .mode SHmedia | |
24 | .align 2 | |
25 | mediacode: | |
26 | ptb forw,tr4 | |
27 | pt start2,tr5 | |
28 | mediacode2: | |
29 | movi start2,r54 | |
30 | movi mediacode2,r45 | |
31 | pta mediacode2,tr7 | |
32 | nop |