diff options
Diffstat (limited to 'ld/ldgld.script')
-rwxr-xr-x | ld/ldgld.script | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/ld/ldgld.script b/ld/ldgld.script index 2f402c1..15ff71f 100755 --- a/ld/ldgld.script +++ b/ld/ldgld.script @@ -7,21 +7,23 @@ __DYNAMIC = 0; SECTIONS { .text 0x2020 BLOCK(0x2000): - { - CREATE_OBJECT_SYMBOLS - *(.text) - _etext = ALIGN( 0x2000); + { + CREATE_OBJECT_SYMBOLS ; + *(.text); + _etext = ALIGN( 0x2000); } .data ALIGN(0x2000) : - { - *(.data) + { + *(.data); + CONSTRUCTORS; _edata = .; - } + } .bss SIZEOF(.data) + ADDR(.data) : - { - *(.bss) - [COMMON] - _end = .; + { + *(.bss) + [COMMON] + _end = .; + __end = .; } } |