mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
ec6d26bed6
sections when checking for overlap. Clarify error message concerns load address. testsuite/ * ld-scripts/rgn-at4.t: New. * ld-scripts/rgn-at4.d: New.
15 lines
325 B
Raku
15 lines
325 B
Raku
/* Memory region at test, >AT should propagate by default */
|
|
|
|
MEMORY {
|
|
ram : ORIGIN = 0x10000, LENGTH = 0x100
|
|
rom : ORIGIN = 0x20000, LENGTH = 0x200
|
|
}
|
|
_start = 0x1000;
|
|
SECTIONS {
|
|
.text : { *(.text) } >ram AT>rom
|
|
.data : { *(.data) } >ram
|
|
.bss : { *(.bss) } >ram
|
|
.trail : { LONG(5) } >ram
|
|
/DISCARD/ : { *(*) }
|
|
}
|