diff options
Diffstat (limited to 'ld/ldm88k.sc')
-rwxr-xr-x | ld/ldm88k.sc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ld/ldm88k.sc b/ld/ldm88k.sc index cb88b2a..cc123c8 100755 --- a/ld/ldm88k.sc +++ b/ld/ldm88k.sc @@ -30,7 +30,12 @@ SECTIONS .data SIZEOF(.text) + ADDR(.text) + 0x400000: { *(.data) - CONSTRUCTORS; + __CTOR_LIST__ = .; + *(CTOR) + LONG(0); + __DTOR_LIST__ = . ; + *(DTOR) + LONG(0); *(.comment) _edata = .; } |