x86: Add -z noseparate-code to IFUNC tests
[deliverable/binutils-gdb.git] / ld / testsuite / ld-ifunc / ifunc-10-x86-64.s
index ea6f8c2d16e4fc1cdc58116c874e9d3abd92ee58..11e29b52b489d14645e6bc8bf31f163c3ad822c2 100644 (file)
@@ -6,6 +6,7 @@ foo:
         movl ifunc(%rip), %eax
        call ifunc@PLT
        call ifunc
+        movl xxx(%rip), %eax
         ret
 
         .section .text.bar,"ax",@progbits
@@ -18,3 +19,7 @@ bar:
         .type ifunc, @gnu_indirect_function
 ifunc:
         ret
+
+        .section .data.foo,"aw",@progbits
+xxx:
+       .quad ifunc 
This page took 0.024817 seconds and 4 git commands to generate.