Disallow 64bit relocations in x32 mode.
[binutils.git] / gas / testsuite / gas / i386 / ilp32 / immed64.d
blob02fb96531bb5629ff4c9221057477e0709dce216
1 #objdump: -dw
2 #name: x86-64 (ILP32) immed
4 .*: +file format .*
6 Disassembly of section \.text:
8 0+000 <_start>:
9 [ ]*[0-9a-fA-F]+:[ ]+ff 50 04[ ]+callq? +\*0x4\(%rax\)
10 [ ]*[0-9a-fA-F]+:[ ]+ff 90 08 00 00 00[ ]+callq? +\*0x8\(%rax\)
11 [ ]*[0-9a-fA-F]+:[ ]+ff 90 00 00 00 00[ ]+callq? +\*0x0\(%rax\)
12 [ ]*[0-9a-fA-F]+:[ ]+67 ff 50 04[ ]+(addr32 )?callq? +\*0x4\(%eax\)
13 [ ]*[0-9a-fA-F]+:[ ]+67 ff 90 08 00 00 00[ ]+(addr32 )?callq? +\*0x8\(%eax\)
14 [ ]*[0-9a-fA-F]+:[ ]+67 ff 90 00 00 00 00[ ]+(addr32 )?callq? +\*0x0\(%eax\)
15 [ ]*[0-9a-fA-F]+:[ ]+b0 04[ ]+movb? +\$0x4,%al
16 [ ]*[0-9a-fA-F]+:[ ]+b0 08[ ]+movb? +\$0x8,%al
17 [ ]*[0-9a-fA-F]+:[ ]+b0 00[ ]+movb? +\$0x0,%al
18 [ ]*[0-9a-fA-F]+:[ ]+66 b8 04 00[ ]+movw? +\$0x4,%ax
19 [ ]*[0-9a-fA-F]+:[ ]+66 b8 08 00[ ]+movw? +\$0x8,%ax
20 [ ]*[0-9a-fA-F]+:[ ]+66 b8 00 00[ ]+movw? +\$0x0,%ax
21 [ ]*[0-9a-fA-F]+:[ ]+b8 04 00 00 00[ ]+movl? +\$0x4,%eax
22 [ ]*[0-9a-fA-F]+:[ ]+b8 08 00 00 00[ ]+movl? +\$0x8,%eax
23 [ ]*[0-9a-fA-F]+:[ ]+b8 00 00 00 00[ ]+movl? +\$0x0,%eax
24 [ ]*[0-9a-fA-F]+:[ ]+48 b8 04 00 00 00 00 00 00 00[ ]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