/* CyCab mc68332 linker command file */ MEMORY{ CPU32BUGram(w!a): org=0x00000000, len=0x00003000 /* 12K */ ram (wx): org=0x00003000, len=64K-0x3000 CAN (w!a): org=0x00020000, len=2K flash (wx): org=0x00100000, len=512K /* FLASH_BLOCK0 (wx): org=0x00100000, len=0x00004000 FLASH_BLOCK1 (wx): org=0x00104000, len=0x00002000 FLASH_BLOCK2 (wx): org=0x00106000, len=0x00002000 FLASH_BLOCK3 (wx): org=0x00108000, len=0x000 */ ADC (w!a): org=0x00200000, len=2K CPU32BUGrom(rx!a): org=0x00C00000, len=32K } SECTIONS{ /* .boot : { *(.boot) } >FLASH_BLOCK0 .text : { LONG(start) *(.text) } >FLASH_BLOCK4 .data : AT(ADDR(.text)+SIZEOF(.text)) { *(.data) } >ram .bss BLOCK(4) : { *(.bss) *(COMMON) } >ram */ .text : { *(.text) /* support for C++, with __main and atexit, see info/ld/OptionCommands __CTOR_LIST__ = .; LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2) *(.ctors) LONG(0) __CTOR_END__ = .; __DTOR_LIST__ = .; LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2) *(.dtors) LONG(0) __DTOR_END__ = .; */ } >ram .data : { *(.data) _edata = . ; . = ALIGN(4) ; __data_size_longs = SIZEOF(.data)/4 ; } >ram .bss ALIGN(8) : { __bss_start = . ; *(.bss) *(COMMON) _end = . ; . = ALIGN(4) ; __bss_size_longs = SIZEOF(.bss)/4 ; } >ram }