aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ifunc/ifunc-21-i386.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-ifunc/ifunc-21-i386.s')
-rw-r--r--ld/testsuite/ld-ifunc/ifunc-21-i386.s8
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/testsuite/ld-ifunc/ifunc-21-i386.s b/ld/testsuite/ld-ifunc/ifunc-21-i386.s
index e1af106..92eb55e 100644
--- a/ld/testsuite/ld-ifunc/ifunc-21-i386.s
+++ b/ld/testsuite/ld-ifunc/ifunc-21-i386.s
@@ -9,11 +9,11 @@ _start:
.global __start
__start:
.type __start,"function"
- call .L6
-.L6:
- popl %ebx
- addl $_GLOBAL_OFFSET_TABLE_+[.-.L6], %ebx
+ call *foo@GOT(%ebx)
+ jmp *foo@GOT(%ebx)
+ add foo@GOT(%ebx), %eax
mov foo@GOT(%ebx), %eax
+ test %eax, foo@GOT(%ebx)
mov bar@GOT(%ebx), %eax
.type foo, %gnu_indirect_function
foo: