From a2ae814f42b5b83b82c38e5d2f9f41447d4a247e Mon Sep 17 00:00:00 2001
From: "H.J. Lu" <hjl.tools@gmail.com>
Date: Fri, 24 Sep 2010 06:09:31 +0000
Subject: [PATCH] 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.
---
 ld/testsuite/ChangeLog        | 5 +++++
 ld/testsuite/ld-i386/nogot1.s | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 2e9a8f2fe7c..1e777a05a14 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 c657231057e..016e1727777 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