* ld-elf/ehdr_start.s: Use data rather than rodata.
authorAlan Modra <amodra@gmail.com>
Wed, 27 Jun 2012 01:18:09 +0000 (01:18 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 27 Jun 2012 01:18:09 +0000 (01:18 +0000)
* ld-elf/ehdr_start.d: Run on linux and gnu targets only.

ld/testsuite/ChangeLog
ld/testsuite/ld-elf/ehdr_start.d
ld/testsuite/ld-elf/ehdr_start.s

index 6e27e51..c41bf21 100644 (file)
@@ -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.
index 05c6a07..a8dbee9 100644 (file)
@@ -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
index ab029dc..529d510 100644 (file)
@@ -3,7 +3,7 @@
 _start:
        .space 16
 
-       .section .rodata,"a",%progbits
+       .data
        .globl foo
 foo:
        .weak __ehdr_start