aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-09-24 06:09:31 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-09-24 06:09:31 +0000
commita2ae814f42b5b83b82c38e5d2f9f41447d4a247e (patch)
tree34dae57adfe827bf8d4fddec667dc79cde2577e1 /ld
parente537977262c187604a7bf352617df6524330fb90 (diff)
downloadfsf-binutils-gdb-a2ae814f42b5b83b82c38e5d2f9f41447d4a247e.zip
fsf-binutils-gdb-a2ae814f42b5b83b82c38e5d2f9f41447d4a247e.tar.gz
fsf-binutils-gdb-a2ae814f42b5b83b82c38e5d2f9f41447d4a247e.tar.bz2
Remove GOTOFF in ld-i386/nogot1.s.
2010-09-23 H.J. Lu <hongjiu.lu@intel.com> PR ld/11812 * ld-i386/nogot1.s: Don't use GOTOFF.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-i386/nogot1.s2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 2e9a8f2..1e777a0 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-09-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/11812
+ * ld-i386/nogot1.s: Don't use GOTOFF.
+
2010-09-23 Bernd Schmidt <bernds@codesourcery.com>
* ld-tic6x/pcrel-reloc-local-r-rel-rela.d: New test.
diff --git a/ld/testsuite/ld-i386/nogot1.s b/ld/testsuite/ld-i386/nogot1.s
index c657231..016e172 100644
--- a/ld/testsuite/ld-i386/nogot1.s
+++ b/ld/testsuite/ld-i386/nogot1.s
@@ -5,6 +5,6 @@ bar:
.globl foo
.type foo, @function
foo:
- leal bar@GOTOFF(%ecx), %eax
+ leal bar, %eax
ret
.size foo, .-foo