From: Alan Modra Date: Wed, 27 Jun 2012 01:18:09 +0000 (+0000) Subject: * ld-elf/ehdr_start.s: Use data rather than rodata. X-Git-Tag: sid-snapshot-20120701~56 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b585b735fdaa469b785a5e0bc520dc71ee93d20;p=external%2Fbinutils.git * ld-elf/ehdr_start.s: Use data rather than rodata. * ld-elf/ehdr_start.d: Run on linux and gnu targets only. --- 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 + + * 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 * 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