aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/protected3.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/protected3.s')
-rw-r--r--ld/testsuite/ld-x86-64/protected3.s3
1 files changed, 1 insertions, 2 deletions
diff --git a/ld/testsuite/ld-x86-64/protected3.s b/ld/testsuite/ld-x86-64/protected3.s
index 7538050..e4af6e7 100644
--- a/ld/testsuite/ld-x86-64/protected3.s
+++ b/ld/testsuite/ld-x86-64/protected3.s
@@ -10,7 +10,6 @@ foo:
.globl bar
.type bar, @function
bar:
- movq foo@GOTPCREL(%rip), %rax
- movl (%rax), %eax
+ movl foo(%rip), %eax
ret
.size bar, .-bar