Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
69 lines (57 sloc) 1.11 KB
OUTPUT_FORMAT("elf32-h8300")
OUTPUT_ARCH(h8300h)
MEMORY
{
romall(rx) : o = 0x000000, l = 0x080000 /* 512KB */
vectors(r) : o = 0x000000, l = 0x000100
rom(rx) : o = 0x000100, l = 0x07ff00
ramall(rwx) : o = 0xffbf20, l = 0x004000 /* 16KB */
softvec(rw) : o = 0xffbf20, l = 0x000040 /* 64B */
buffer(rwx) : o = 0xffdf20, l = 0x001d00 /* 8KB */
data(rwx) : o = 0xfffc20, l = 0x000300
bootstack(rw) : o = 0xffff00, l = 0x000000
intrstack(rw) : o = 0xffff00, l = 0x000000
}
SECTIONS
{
.vectors : {
../../bin/bootload/obj/vector.o(.data)
} > vectors
.text : {
_text_start = . ;
*(.text)
_etext = . ;
} > rom
.rodata : {
_rodata_start = . ;
*(.strings)
*(.rodata)
*(.rodata.*)
_erodata = . ;
} > rom
.softvec : {
_softvec = .;
} > softvec
.buffer : {
_buffer_start = . ;
} > buffer
.data : {
_data_start = . ;
*(.data)
_edata = . ;
} > data AT> rom
.bss : {
_bss_start = . ;
*(.bss)
*(COMMON)
_ebss = . ;
} > data AT> rom
. = ALIGN(4);
_end = . ;
.bootstack : {
_bootstack = .;
} > bootstack
.intrstack : {
_intrstack = .;
} > intrstack
}
You can’t perform that action at this time.