* 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:
parent
6092a2bf7b
commit
ea6c5ce90d
@ -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.
|
||||
|
||||
|
@ -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"
|
||||
|
@ -1,6 +1,6 @@
|
||||
.globl defined
|
||||
.data
|
||||
.byte 0
|
||||
.section .data.cacheline_aligned
|
||||
.text
|
||||
defined:
|
||||
.byte 0
|
||||
|
@ -1,6 +1,6 @@
|
||||
defined = addr1;
|
||||
SECTIONS {
|
||||
.data.cacheline_aligned : { *(.data.cacheline_aligned) }
|
||||
.text : { *(.text) }
|
||||
. = ALIGN (0x1000);
|
||||
.data : { *(.data) }
|
||||
addr1 = ADDR (.data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user