mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
113e68452e
if it is not overridden and section is for the same vma region as the previous section. * ld-scripts/rgn-at.exp: New. * ld-scripts/rgn-at.s: New. * ld-scripts/rgn-at1.d: New. * ld-scripts/rgn-at1.t: New. * ld-scripts/rgn-at2.d: New. * ld-scripts/rgn-at2.t: New. * ld-scripts/rgn-at3.d: New. * ld-scripts/rgn-at3.t: New.
14 lines
358 B
Raku
14 lines
358 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 : AT (0x30000) { *(.data) } >ram /* NO default AT>rom */
|
|
.bss : { *(.bss) } >ram /* NO default AT>rom */
|
|
/DISCARD/ : { *(*) }
|
|
}
|