Disallow 64bit relocations in x32 mode.
[binutils.git] / gas / testsuite / gas / i386 / ilp32 / inval.l
blob70f975411819a2219e2807e3632e3adab6923e73
1 .*: Assembler messages:
2 .*:3: Error: .*
3 .*:4: Error: .*
4 .*:5: Error: .*
5 .*:6: Error: .*
6 .*:10: Error: .*
7 GAS LISTING .*
10 [       ]*1[    ]+\.text
11 [       ]*2[    ]+\# All the following should be illegal for x32
12 [       ]*3[    ]+\?\?\?\? 48A10000             movabs xxx,%rax
13 [       ]*3[    ]+00000000 
14 [       ]*3[    ]+0000
15 [       ]*4[    ]+\?\?\?\? 48A10000             movabs foo,%rax
16 [       ]*4[    ]+00000000 
17 [       ]*4[    ]+0000
18 [       ]*5[    ]+\?\?\?\? 48A10000             movabsq xxx,%rax
19 [       ]*5[    ]+00000000 
20 [       ]*5[    ]+0000
21 [       ]*6[    ]+\?\?\?\? 48A10000             movabsq foo,%rax
22 [       ]*6[    ]+00000000 
23 [       ]*6[    ]+0000
24 [       ]*7[    ]+
25 [       ]*8[    ]+\.data
26 [       ]*9[    ]+xxx:
27 [       ]*10[   ]+\?\?\?\? 00000000             \.quad foo
28 \*\*\*\*  Error:cannot represent relocation type BFD_RELOC_[    ]*64[   ]+in x32 mode
29 [       ]*10[   ]+00000000