mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
13075d049d
ld/ 2014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de> * ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation. * ld/ldlang.c (lang_size_sections_1): Add dotdelta variable which reflects the VMA change due to alignment requirements. Use dotdelta do change the LMA if ALIGN_WITH_INPUT is requested. ld/testsuite/ChangeLog 2014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de> * ld-scripts/rgn-at9.d: New file. * ld-scripts/rgn-at9.t: Likewise. * ld-scripts/rgn-at10.d: Likewise. * ld-scripts/rgn-at10.s: Likewise. * ld-scripts/rgn-at10.t: Likewise. * ld-scripts/rgn-at11.d: Likewise. * ld-scripts/rgn-at11.t: Likewise.
14 lines
271 B
Raku
14 lines
271 B
Raku
MEMORY
|
|
{
|
|
ram : ORIGIN = 0x10000, LENGTH = 0x10000
|
|
rom : ORIGIN = 0x20000, LENGTH = 0x10000
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.text : ALIGN_WITH_INPUT {*(.text)} > ram AT> rom
|
|
.tbss : {*(.tbss)} > ram AT> rom
|
|
.data : ALIGN_WITH_INPUT {*(.data)} > ram AT> rom
|
|
/DISCARD/ : {*(*)}
|
|
}
|