mirror of
git://projects.qi-hardware.com/iris.git
synced 2025-04-21 12:27:27 +03:00
Make it work with new gcc version; use linker script to force entry code in page 0.
This commit is contained in:
23
mips/nanonote/iris.ld
Normal file
23
mips/nanonote/iris.ld
Normal file
@@ -0,0 +1,23 @@
|
||||
OUTPUT_ARCH(mips)
|
||||
ENTRY(__start)
|
||||
MEMORY
|
||||
{
|
||||
ram : ORIGIN = 0x80000000 , LENGTH = 32M
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.text : { "mips/iris_elf-entry.o" (.text*) } > ram
|
||||
.text : { *(.text*) } > ram
|
||||
.rodata : { *(.rodata*) *(.note*) } > ram
|
||||
.sdata : { *(.sdata*) } > ram
|
||||
.data : { *(.data*) *(.scommon*) *(.reginfo*) } > ram
|
||||
|
||||
_gp = ABSOLUTE(.);
|
||||
.got : { *(.got*) } > ram
|
||||
|
||||
_bss = ABSOLUTE(.);
|
||||
.sbss : { *(.sbss*) } > ram
|
||||
.bss : { *(.bss*) } > ram
|
||||
_end = ABSOLUTE(.);
|
||||
}
|
||||
Reference in New Issue
Block a user