OUTPUT_ARCH(arm)
MEMORY {

        rom     : ORIGIN = 0x09000000, LENGTH = 16M
        ewram   : ORIGIN = 0x02000000, LENGTH = 4M - 4k
}

SECTIONS {
        .text : {

                FILL (0xABCD)
                __text_start = . ;
                *(.init)
                *(.text)
                *(.ctors)
                *(.dtors)
                *(.fini)
                *(COMMON)
                __text_end  = . ;
                *(.rodata*)
                *(.rdata)
                *(.data)
                __bss_start__ = . ;
                *(.bss)
                __bss_end__ = . ;
                __file_end__ = . ;
        _end = __file_end__ ;
        __end__ = __file_end__ ;
        } >rom = 0xff
}
