From 6b585b735fdaa469b785a5e0bc520dc71ee93d20 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 27 Jun 2012 01:18:09 +0000 Subject: * ld-elf/ehdr_start.s: Use data rather than rodata. * ld-elf/ehdr_start.d: Run on linux and gnu targets only. --- ld/testsuite/ld-elf/ehdr_start.d | 2 +- ld/testsuite/ld-elf/ehdr_start.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ld/testsuite/ld-elf') 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 -- cgit v1.1