OUTPUT_FORMAT("elf32-rl78","elf32-rl78","elf32-rl78") OUTPUT_ARCH(rl78) ENTRY(_start) MEMORY { ram (rwx) : ORIGIN = 0xff900, LENGTH = 0x5e0/*idk*/ } SECTIONS { /*.hdr : { BYTE(0xe0); BYTE(0x07); / * address * / BYTE(SIZEOF(.text)); } > ram*/ .text : { *(.text* .rodata* .data*) } > ram .bss : { *(.bss) } > ram =0x00 /DISCARD/ : { *(.vectors) *(.callt) *(.option) *(.password) *(.plt) } }