mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +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.
12 lines
170 B
Raku
12 lines
170 B
Raku
MEMORY
|
|
{
|
|
ram : ORIGIN = 0x10000, LENGTH = 0x10000
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.text : {*(.text)} > ram AT> ram
|
|
.data : ALIGN (16) {*(.data)} > ram AT> ram
|
|
/DISCARD/ : {*(*)}
|
|
}
|