aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-06-27 01:18:09 +0000
committerAlan Modra <amodra@gmail.com>2012-06-27 01:18:09 +0000
commit6b585b735fdaa469b785a5e0bc520dc71ee93d20 (patch)
treeb12601dd7364dd9c52ccf46a5756b38142eb745a
parentd7d20338d50c3c45509e3eda7ee5707a875cd0b1 (diff)
downloadgdb-6b585b735fdaa469b785a5e0bc520dc71ee93d20.zip
gdb-6b585b735fdaa469b785a5e0bc520dc71ee93d20.tar.gz
gdb-6b585b735fdaa469b785a5e0bc520dc71ee93d20.tar.bz2
* ld-elf/ehdr_start.s: Use data rather than rodata.
* ld-elf/ehdr_start.d: Run on linux and gnu targets only.
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-elf/ehdr_start.d2
-rw-r--r--ld/testsuite/ld-elf/ehdr_start.s2
3 files changed, 7 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 6e27e51..c41bf21 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2012-06-27 Alan Modra <amodra@gmail.com>
+
+ * ld-elf/ehdr_start.s: Use data rather than rodata.
+ * ld-elf/ehdr_start.d: Run on linux and gnu targets only.
+
2012-06-25 Roland McGrath <mcgrathr@google.com>
* ld-elf/ehdr_start.d (ld): Add explicit -e _start.
diff --git a/ld/testsuite/ld-elf/ehdr_start.d b/ld/testsuite/ld-elf/ehdr_start.d
index 05c6a07..a8dbee9 100644
--- a/ld/testsuite/ld-elf/ehdr_start.d
+++ b/ld/testsuite/ld-elf/ehdr_start.d
@@ -1,7 +1,7 @@
#source: ehdr_start.s
#ld: -e _start
#nm: -n
-#notarget: arm*-*-eabi* cris-*-*
+#target: *-*-linux* *-*-gnu*
#...
[0-9a-f]*000 [ADRT] __ehdr_start
diff --git a/ld/testsuite/ld-elf/ehdr_start.s b/ld/testsuite/ld-elf/ehdr_start.s
index ab029dc..529d510 100644
--- a/ld/testsuite/ld-elf/ehdr_start.s
+++ b/ld/testsuite/ld-elf/ehdr_start.s
@@ -3,7 +3,7 @@
_start:
.space 16
- .section .rodata,"a",%progbits
+ .data
.globl foo
foo:
.weak __ehdr_start