aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/ljmp1.d
blob: 9708ad0e002011fb0ea1abd45040d5c337c11659 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#name: Absolute non-overflowing relocs in ljmp segments
#as: --32
#source: ljmp1.s
#source: ljmp.s
#ld: -melf_i386 -z noseparate-code
#objdump: -dw

.*: +file format .*


Disassembly of section .text:

0+[a-f0-9]+ <_start>:
 +[a-f0-9]+:	0f 22 c0             	mov    %eax,%cr0
 +[a-f0-9]+:	ea ([0-9a-f]{2} ){4}08 00 	ljmp   \$0x8,\$0x[a-f0-9]+

0+[a-f0-9]+ <foo>:
 +[a-f0-9]+:	66 ea 00 00 18 00    	ljmpw  \$0x18,\$0x0