aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2012-11-30 21:14:02 +0000
committerRoland McGrath <roland@gnu.org>2012-11-30 21:14:02 +0000
commit1438a3ee10e46b3fe2755414f449f631ed9be4b3 (patch)
tree76f54c1f2ccdc453c88aa05e858ee48fe2b7d3e8
parentf204ddb8a84caa7133a20bf63a5cec8d422d52ca (diff)
downloadgdb-1438a3ee10e46b3fe2755414f449f631ed9be4b3.zip
gdb-1438a3ee10e46b3fe2755414f449f631ed9be4b3.tar.gz
gdb-1438a3ee10e46b3fe2755414f449f631ed9be4b3.tar.bz2
ld/testsuite/
* ld-elf/ehdr_start.s: Put reference in .rodata section, not .data.
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-elf/ehdr_start.s2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 12026a9..493d4ba 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2012-11-30 Roland McGrath <mcgrathr@google.com>
+
+ * ld-elf/ehdr_start.s: Put reference in .rodata section, not .data.
+
2012-11-27 Roland McGrath <mcgrathr@google.com>
* ld-elf/flags1.d: Add *-*-nacl* to xfail list.
diff --git a/ld/testsuite/ld-elf/ehdr_start.s b/ld/testsuite/ld-elf/ehdr_start.s
index 529d510..2efe8a6 100644
--- a/ld/testsuite/ld-elf/ehdr_start.s
+++ b/ld/testsuite/ld-elf/ehdr_start.s
@@ -3,7 +3,7 @@
_start:
.space 16
- .data
+ .section .rodata,"a"
.globl foo
foo:
.weak __ehdr_start