ld: Update function prototypes for compilers defaulting to -std=gnu23
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / ljmp1.d
blobeb378fb60797ea68d43be2ab7ddbff49c70f99e8
1 #name: Absolute non-overflowing relocs in ljmp segments
2 #source: ../ld-i386/ljmp1.s
3 #source: ../ld-i386/ljmp.s
4 #ld: -z noseparate-code
5 #objdump: -Mi386 -dw
7 .*: +file format .*
10 Disassembly of section .text:
12 0+[a-f0-9]+ <_start>:
13 +[a-f0-9]+: 0f 22 c0 mov %eax,%cr0
14 +[a-f0-9]+: ea ([0-9a-f]{2} ){4}08 00 ljmp \$0x8,\$0x[a-f0-9]+
16 0+[a-f0-9]+ <foo>:
17 +[a-f0-9]+: 66 ea 00 00 18 00 ljmpw \$0x18,\$0x0