mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-18 14:53:32 +08:00
13762d2ee4
ld/ * ldlang.c (lang_size_sections_1): When given an lma_region align LMA as per VMA only if lma_region is the same as region. ld/testsuite/ * ld-scripts/rgn-at6.s, * ld-scripts/rgn-at6.t, * ld-scripts/rgn-at6.d, * ld-scripts/rgn-at7.t, * ld-scripts/rgn-at7.d: New tests.
13 lines
213 B
Raku
13 lines
213 B
Raku
MEMORY
|
|
{
|
|
ram : ORIGIN = 0x10000, LENGTH = 0x10000
|
|
rom : ORIGIN = 0x20000, LENGTH = 0x10000
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.text : {*(.text)} > ram AT> rom
|
|
.data : ALIGN (16) {*(.data)} > ram AT> rom
|
|
/DISCARD/ : {*(*)}
|
|
}
|