Add R_386_GOT32X support to gas and ld
[deliverable/binutils-gdb.git] / ld / testsuite / ld-i386 / load6.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 adcl bar@GOT(%ecx), %eax
16 addl bar@GOT(%ecx), %ebx
17 andl bar@GOT(%ecx), %ecx
18 cmpl bar@GOT(%ecx), %edx
19 orl bar@GOT(%ecx), %edi
20 sbbl bar@GOT(%ecx), %esi
21 subl bar@GOT(%ecx), %ebp
22 xorl bar@GOT(%ecx), %esp
23 testl %ecx, bar@GOT(%ecx)
24 adcl foo@GOT(%ecx), %eax
25 addl foo@GOT(%ecx), %ebx
26 andl foo@GOT(%ecx), %ecx
27 cmpl foo@GOT(%ecx), %edx
28 orl foo@GOT(%ecx), %edi
29 sbbl foo@GOT(%ecx), %esi
30 subl foo@GOT(%ecx), %ebp
31 xorl foo@GOT(%ecx), %esp
32 testl %ecx, foo@GOT(%ecx)
33 .size _start, .-_start
This page took 0.046065 seconds and 4 git commands to generate.