Remove sh-symbianelf support
[deliverable/binutils-gdb.git] / gas / testsuite / gas / sh / sh64 / relax-3.s
1 ! Check relaxation for MOVI PC-relative expansions. Unfortunately, we
2 ! can't check the 32 and 48 bit limit on a host with 32-bit longs, so we
3 ! just check going from first state to the second state.
4
5 .mode SHmedia
6 .text
7 start:
8 nop
9 start2:
10 movi (x0-4-$),r3
11 x1:
12 movi (x0-1-$),r4
13 .space 32768-4,0
14 x0:
15 movi (x1-$),r5
16 movi (x1+3-$),r6
17
18 ! These PC-relative expressions are here because of past bugs leading to
19 ! premature symbol evaluation and assignment when they were exposed to
20 ! relaxation.
21 ! The expected result may need future tweaking if advances are done in
22 ! relaxation. At the time of this writing the expressions are not
23 ! relaxed although the numbers will be in the right range finally.
24
25 movi (x1-x0),r7
26 movi (x0-1-x1),r8
27 movi (y1-y0),r8
28
29 .section .text.another,"ax"
30 y0:
31 movi (x1-start2),r9
32 y1:
This page took 0.031085 seconds and 4 git commands to generate.