aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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