# a linker script template. # RAMSTART - start of board's ram # RAMSIZE - size of board's ram # RAMDBUG - bytes at start of RAM for DBUG use cat < ram .data : { *(.got.plt) *(.got) *(.shdata) *(.data .data.*) _edata = .; } > ram .bss : { . = ALIGN(0x4); __bss_start = . ; *(.shbss) *(.bss .bss.*) *(COMMON) _end = ALIGN (0x8); __end = _end; } > ram .stab 0 (NOLOAD) : { *(.stab) } .stabstr 0 (NOLOAD) : { *(.stabstr) } } EOF