* ld-scripts/defined.exp: Don't run defined5 for AOUT.

* ld-scripts/defined5.s: Use .text for "defined" section.
	* ld-scripts/defined5.t: Adjust.
This commit is contained in:
Alan Modra 2011-02-10 08:04:22 +00:00
parent 6092a2bf7b
commit ea6c5ce90d
4 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,9 @@
2011-02-10 Alan Modra <amodra@gmail.com>
* ld-scripts/defined.exp: Don't run defined5 for AOUT.
* ld-scripts/defined5.s: Use .text for "defined" section.
* ld-scripts/defined5.t: Adjust.
* ld-gc/start.d: Exclude frv-*-linux*.
* ld-misc/defsym1.d: Likewise.

View File

@ -67,5 +67,7 @@ set prms_id 0
run_dump_test "defined2"
run_dump_test "defined3"
run_dump_test "defined4"
run_dump_test "defined5"
if ![is_aout_format] {
run_dump_test "defined5"
}
set LDFLAGS "$saved_LDFLAGS"

View File

@ -1,6 +1,6 @@
.globl defined
.data
.byte 0
.section .data.cacheline_aligned
.text
defined:
.byte 0

View File

@ -1,6 +1,6 @@
defined = addr1;
SECTIONS {
.data.cacheline_aligned : { *(.data.cacheline_aligned) }
.text : { *(.text) }
. = ALIGN (0x1000);
.data : { *(.data) }
addr1 = ADDR (.data);