- fixed linker script

git-svn-id: http://moon:8086/svn/mips@179 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2021-11-22 11:24:14 +00:00
parent 0c06127499
commit 64ad92101d
+11 -8
View File
@@ -13,9 +13,8 @@ INPUT(kernel.o)
DEBUGGER_VAR_SIZE = 0x10000;
SECTIONS
{
.start :
.start ORIGIN(ram) :
{
. = ALIGN(4);
start = .;
entry = .;
_entry = .;
@@ -23,23 +22,27 @@ SECTIONS
KEEP (*(.start))
} >ram
.exc_vector ORIGIN(ram) + 0x80 :
.exc_vect ORIGIN(ram) + 0x80 :
{
KEEP (*(.exc_vect))
} >ram
.init :
.init ALIGN(4) :
{
KEEP (*(.init))
KEEP (*(.init))
} >ram
.text :
.text ALIGN(4) :
{
*(.text)
*(.text)
*(.text.*)
} >ram
.fini :
.fini ALIGN(4) :
{
KEEP (*(.fini))
} >ram
.rodata : { *(.rodata .rodata.*) } >ram
.rodata1 : { *(.rodata1) } >ram
.sdata2 :