OUTPUT_ARCH(h8300s) SECTIONS { .vects 0x00000000 : AT (0x00000000) { KEEP(*(.vects)) } .text 0x00000400 : AT (0x00000400) { *(.text) *(.text.*) etext = .; } .init : { *(.init) } .fini : { *(.fini) } .got : { *(.got) *(.got.plt) } .rodata : { *(.rodata) *(.rodata.*) _erodata = .; } .eh_frame_hdr : { *(.eh_frame_hdr) } .eh_frame : { *(.eh_frame) } .jcr : { *(.jcr) } .tors : { __CTOR_LIST__ = .; ___ctors = .; *(.ctors) ___ctors_end = .; __CTOR_END__ = .; __DTOR_LIST__ = .; ___dtors = .; *(.dtors) ___dtors_end = .; __DTOR_END__ = .; _mdata = .; } .data 0x00FF4000 : AT (0x00FF4000) { _data = .; *(.data) *(.data.*) _edata = .; } .gcc_exc : { *(.gcc_exc) } .bss : { _bss = .; *(.bss) *(COMMON) _ebss = .; _end = .; } .stack 0x00FFC000 : AT (0x00FFC000) { _stack = .; } }