* mips/ddb.ld: KEEP .init and .fini.
* mips/ddb-kseg0.ld: Likewise.
This commit is contained in:
@@ -33,7 +33,7 @@ SECTIONS
|
||||
. = 0x80100000;
|
||||
.text : {
|
||||
_ftext = . ;
|
||||
*(.init)
|
||||
KEEP (*(.init))
|
||||
eprol = .;
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
@@ -43,7 +43,7 @@ SECTIONS
|
||||
PROVIDE (__runtime_reloc_start = .);
|
||||
*(.rel.sdata)
|
||||
PROVIDE (__runtime_reloc_stop = .);
|
||||
*(.fini)
|
||||
KEEP (*(.fini))
|
||||
etext = .;
|
||||
_etext = .;
|
||||
}
|
||||
|
@@ -33,7 +33,7 @@ SECTIONS
|
||||
. = 0xA0100000;
|
||||
.text : {
|
||||
_ftext = . ;
|
||||
*(.init)
|
||||
KEEP (*(.init))
|
||||
eprol = .;
|
||||
*(.text)
|
||||
*(.text.*)
|
||||
@@ -43,7 +43,7 @@ SECTIONS
|
||||
PROVIDE (__runtime_reloc_start = .);
|
||||
*(.rel.sdata)
|
||||
PROVIDE (__runtime_reloc_stop = .);
|
||||
*(.fini)
|
||||
KEEP (*(.fini))
|
||||
etext = .;
|
||||
_etext = .;
|
||||
}
|
||||
|
Reference in New Issue
Block a user