aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-31 17:16:54 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-05-31 17:16:54 +0000
commit653c23d819890cdca8826594699846e67e86648b (patch)
treeedfd5c99af01bd898e25efd00e12f1b58de5ed42
parent65db8fa58640979c919f9c818ff4624497338dc1 (diff)
downloadgdb-653c23d819890cdca8826594699846e67e86648b.zip
gdb-653c23d819890cdca8826594699846e67e86648b.tar.gz
gdb-653c23d819890cdca8826594699846e67e86648b.tar.bz2
Add missing "foo" after ".global"
2012-05-31 H.J. Lu <hongjiu.lu@intel.com> * ld-ifunc/ifunc-13a-x86-64.s: Add missing "foo" after ".global". * ld-ifunc/ifunc-15-x86-64.s: Likewise.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/testsuite/ld-ifunc/ifunc-13a-x86-64.s2
-rw-r--r--ld/testsuite/ld-ifunc/ifunc-15-x86-64.s2
3 files changed, 7 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index da4a915..80c31e3 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ld-ifunc/ifunc-13a-x86-64.s: Add missing "foo" after ".global".
+ * ld-ifunc/ifunc-15-x86-64.s: Likewise.
+
2012-05-30 Alan Modra <amodra@gmail.com>
* ldlang.h (lang_output_section_statement_type): Rename
diff --git a/ld/testsuite/ld-ifunc/ifunc-13a-x86-64.s b/ld/testsuite/ld-ifunc/ifunc-13a-x86-64.s
index 5bfc9e0..45df09a 100644
--- a/ld/testsuite/ld-ifunc/ifunc-13a-x86-64.s
+++ b/ld/testsuite/ld-ifunc/ifunc-13a-x86-64.s
@@ -1,6 +1,6 @@
.text
.type foo, @function
- .global
+ .global foo
foo:
movl xxx(%rip), %eax
ret
diff --git a/ld/testsuite/ld-ifunc/ifunc-15-x86-64.s b/ld/testsuite/ld-ifunc/ifunc-15-x86-64.s
index ee336de..837f250 100644
--- a/ld/testsuite/ld-ifunc/ifunc-15-x86-64.s
+++ b/ld/testsuite/ld-ifunc/ifunc-15-x86-64.s
@@ -1,6 +1,6 @@
.text
.type foo, @function
- .global
+ .global foo
foo:
movl ifunc@GOTPCREL(%rip), %eax
ret