x86: Disable GOT relaxation with data prefix
[deliverable/binutils-gdb.git] / ld / testsuite / ld-i386 / pr23854.s
1 .data
2 .type bar, @object
3 bar:
4 .byte 1
5 .size bar, .-bar
6 .globl foo
7 .type foo, @object
8 foo:
9 .byte 1
10 .size foo, .-foo
11 .text
12 .globl _start
13 .type _start, @function
14 _start:
15 adcw bar@GOT(%ecx), %ax
16 addw bar@GOT(%ecx), %bx
17 andw bar@GOT(%ecx), %cx
18 cmpw bar@GOT(%ecx), %dx
19 orw bar@GOT(%ecx), %di
20 sbbw bar@GOT(%ecx), %si
21 subw bar@GOT(%ecx), %bp
22 xorw bar@GOT(%ecx), %sp
23 testw %cx, bar@GOT(%ecx)
24 adcw foo@GOT(%ecx), %ax
25 addw foo@GOT(%ecx), %bx
26 andw foo@GOT(%ecx), %cx
27 cmpw foo@GOT(%ecx), %dx
28 orw foo@GOT(%ecx), %di
29 sbbw foo@GOT(%ecx), %si
30 subw foo@GOT(%ecx), %bp
31 xorw foo@GOT(%ecx), %sp
32 testw %cx, foo@GOT(%ecx)
33 .size _start, .-_start
This page took 0.038127 seconds and 4 git commands to generate.