- fixed linker script
git-svn-id: http://moon:8086/svn/mips@179 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
+9
-6
@@ -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))
|
||||
} >ram
|
||||
.text :
|
||||
|
||||
.text ALIGN(4) :
|
||||
{
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
} >ram
|
||||
.fini :
|
||||
|
||||
.fini ALIGN(4) :
|
||||
{
|
||||
KEEP (*(.fini))
|
||||
} >ram
|
||||
|
||||
.rodata : { *(.rodata .rodata.*) } >ram
|
||||
.rodata1 : { *(.rodata1) } >ram
|
||||
.sdata2 :
|
||||
|
||||
Reference in New Issue
Block a user