aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/protected3.s
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-04-09 21:36:24 +0930
committerAlan Modra <amodra@gmail.com>2015-04-10 19:16:47 +0930
commit8d2ea2a80abad66250f2f4a1d38e3b8c796147f8 (patch)
tree556afca02e04ecd7cde4137f5915040476984198 /ld/testsuite/ld-i386/protected3.s
parent8d707a12ef51ba5f4c3c6a52532e903da7a56b8b (diff)
downloadgdb-8d2ea2a80abad66250f2f4a1d38e3b8c796147f8.zip
gdb-8d2ea2a80abad66250f2f4a1d38e3b8c796147f8.tar.gz
gdb-8d2ea2a80abad66250f2f4a1d38e3b8c796147f8.tar.bz2
Revert "Add extern_protected_data and set it for x86"
This reverts commit ca3fe95e469b9daec153caa2c90665f5daaec2b5.
Diffstat (limited to 'ld/testsuite/ld-i386/protected3.s')
-rw-r--r--ld/testsuite/ld-i386/protected3.s3
1 files changed, 1 insertions, 2 deletions
diff --git a/ld/testsuite/ld-i386/protected3.s b/ld/testsuite/ld-i386/protected3.s
index 4dd2115..7a605a2 100644
--- a/ld/testsuite/ld-i386/protected3.s
+++ b/ld/testsuite/ld-i386/protected3.s
@@ -10,7 +10,6 @@ foo:
.globl bar
.type bar, @function
bar:
- movl foo@GOT(%ecx), %eax
- movl (%eax), %eax
+ movl foo@GOTOFF(%ecx), %eax
ret
.size bar, .-bar