Entry point is now configurable via a Makefile variable. Entry point is detected automatically (Gabor Juhos)
SVN-Revision: 6841master
parent
305d012ea6
commit
3d987ecbdb
@ -1,20 +0,0 @@ |
|||||||
OUTPUT_ARCH(mips) |
|
||||||
ENTRY(entry) |
|
||||||
SECTIONS { |
|
||||||
. = BZ_TEXT_START; |
|
||||||
.text : { |
|
||||||
*(.text.entry) |
|
||||||
*(.text) |
|
||||||
*(.rodata) |
|
||||||
} |
|
||||||
|
|
||||||
.data : { |
|
||||||
*(.data) |
|
||||||
} |
|
||||||
|
|
||||||
.bss : { |
|
||||||
*(.bss) |
|
||||||
} |
|
||||||
|
|
||||||
workspace = .; |
|
||||||
} |
|
@ -1,17 +1,27 @@ |
|||||||
OUTPUT_ARCH(mips) |
OUTPUT_ARCH(mips) |
||||||
ENTRY(startup) |
|
||||||
SECTIONS { |
SECTIONS { |
||||||
. = TEXT_START; |
|
||||||
.text : { |
.text : { |
||||||
|
_code_start = .; |
||||||
*(.text) |
*(.text) |
||||||
|
*(.text.*) |
||||||
*(.rodata) |
*(.rodata) |
||||||
|
*(.rodata.*) |
||||||
|
_code_end = .; |
||||||
} |
} |
||||||
|
|
||||||
.data : { |
.data : { |
||||||
*(.data) |
*(.data) |
||||||
|
*(.data.*) |
||||||
} |
} |
||||||
|
|
||||||
.bss : { |
.bss : { |
||||||
*(.bss) |
*(.bss) |
||||||
|
*(.bss.*) |
||||||
} |
} |
||||||
|
|
||||||
|
. = ALIGN(16); |
||||||
|
. = . + 8192; |
||||||
|
_stack = .; |
||||||
|
|
||||||
|
workspace = .; |
||||||
} |
} |
||||||
|
Loading…
Reference in new issue