x86: Support Intel IBT with IBT property and IBT-enable PLT
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr21481b.S
index 744d86a382afd8005af676906831261b1fb7db69..583ec77d12105790de68de04401801000e5b189d 100644 (file)
@@ -10,7 +10,11 @@ check:
        cmpl    $func1, %eax
        jne     .L3
        movq    func1_p@GOTPCREL(%rip), %rdx
+#ifdef __LP64__
        cmpq    %rax, (%rdx)
+#else
+       cmpl    %eax, (%rdx)
+#endif
        jne     .L3
        call    *func1@GOTPCREL(%rip)
        cmpl    $1, %eax
This page took 0.02794 seconds and 4 git commands to generate.