Remove GOTOFF in ld-i386/nogot1.s.
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 24 Sep 2010 06:09:31 +0000 (06:09 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 24 Sep 2010 06:09:31 +0000 (06:09 +0000)
2010-09-23  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/11812
* ld-i386/nogot1.s: Don't use GOTOFF.

ld/testsuite/ChangeLog
ld/testsuite/ld-i386/nogot1.s

index 2e9a8f2fe7c855436c129dd55dcd45a35b04aeb3..1e777a05a14533653f9543e09132083f481f93b6 100644 (file)
@@ -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.
index c657231057e2aca19bff473b8ed0b9987319a05a..016e17277770d0dceeef9647f8637c9969b8dca2 100644 (file)
@@ -5,6 +5,6 @@ bar:
 .globl foo
        .type   foo, @function
 foo:
-       leal    bar@GOTOFF(%ecx), %eax
+       leal    bar, %eax
        ret
        .size   foo, .-foo