build/rom: cleanup
This commit is contained in:
parent
d6810cf729
commit
bdeb32b11c
|
@ -1,7 +1,7 @@
|
|||
# Common GNU Make rules for building the project
|
||||
# Common GNU Make rules for building targets (reducing boilerplate)
|
||||
|
||||
# This makefile is expected to be included after the variables given
|
||||
# have been defined:
|
||||
# *have* been defined:
|
||||
#
|
||||
# NAME=name
|
||||
#
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
_stack_size = 0x80000;
|
||||
_heap_size = 1024*1024*10;
|
||||
|
||||
|
||||
ENTRY(_start);
|
||||
SECTIONS {
|
||||
/* 0xbfc00000 */
|
||||
.text 0xbfc00000 : {
|
||||
_text_origin = .;
|
||||
*start.o /* Always link reset first */
|
||||
|
@ -30,12 +28,15 @@ SECTIONS {
|
|||
_data_size = . - _data_origin;
|
||||
|
||||
_gp = ALIGN(128) + 0x7ff0;
|
||||
|
||||
.lit4 ALIGN(128) : {
|
||||
*(.lit4)
|
||||
}
|
||||
|
||||
.lit8 ALIGN(128) : {
|
||||
*(.lit8)
|
||||
}
|
||||
|
||||
.sdata ALIGN(128) : {
|
||||
*(.sdata)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue