* mips/array.ld, mips/cfe.ld, mips/dve.ld, mips/idt32.ld,

* mips/idt64.ld, mips/idtecoff.ld, mips/idt.ld,
	* mips/jmr3904app-java.ld, mips/jmr3904app.ld,
	* mips/jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld,
	* mips/nullmon.ld, mips/pmon.ld: Keep .init and .fini.
This commit is contained in:
Richard Sandiford 2005-04-12 08:06:40 +00:00
parent e8b0558a10
commit 576d455f5f
15 changed files with 36 additions and 28 deletions

View File

@ -1,3 +1,11 @@
2005-04-12 Richard Sandiford <rsandifo@redhat.com>
* mips/array.ld, mips/cfe.ld, mips/dve.ld, mips/idt32.ld,
* mips/idt64.ld, mips/idtecoff.ld, mips/idt.ld,
* mips/jmr3904app-java.ld, mips/jmr3904app.ld,
* mips/jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld,
* mips/nullmon.ld, mips/pmon.ld: Keep .init and .fini.
2005-02-08 Antony King <antony.king@st.com>
* arm/syscalls.c: Change CHECK_INIT to pass reentrant struct

View File

@ -84,7 +84,7 @@ SECTIONS
. = 0x80020000;
.text : {
_ftext = . ;
*(.init)
KEEP (*(.init))
eprol = .;
*(.text)
*(.text.*)
@ -94,7 +94,7 @@ SECTIONS
PROVIDE (__runtime_reloc_start = .);
*(.rel.sdata)
PROVIDE (__runtime_reloc_stop = .);
*(.fini)
KEEP (*(.fini))
etext = .;
_etext = .;
}

View File

@ -41,10 +41,10 @@ SECTIONS
*(.mips16.call.*)
}
.init : {
*(.init)
KEEP (*(.init))
}
.fini : {
*(.fini)
KEEP (*(.fini))
}
.rel.sdata : {
PROVIDE (__runtime_reloc_start = .);

View File

@ -33,7 +33,7 @@ SECTIONS
. = 0xA0040000;
.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 = .;
}

View File

@ -42,10 +42,10 @@ SECTIONS
*(.mips16.call.*)
}
.init : {
*(.init)
KEEP (*(.init))
}
.fini : {
*(.fini)
KEEP (*(.fini))
}
.rel.sdata : {
PROVIDE (__runtime_reloc_start = .);

View File

@ -43,10 +43,10 @@ SECTIONS
*(.mips16.call.*)
}
.init : {
*(.init)
KEEP (*(.init))
}
.fini : {
*(.fini)
KEEP (*(.fini))
}
.rel.sdata : {
PROVIDE (__runtime_reloc_start = .);

View File

@ -43,10 +43,10 @@ SECTIONS
*(.mips16.call.*)
}
.init : {
*(.init)
KEEP (*(.init))
}
.fini : {
*(.fini)
KEEP (*(.fini))
}
.rel.sdata : {
PROVIDE (__runtime_reloc_start = .);

View File

@ -35,7 +35,7 @@ SECTIONS
. = 0xA0020000;
.text : {
_ftext = . ;
*(.init)
KEEP (*(.init))
eprol = .;
*(.text)
*(.text.*)
@ -45,7 +45,7 @@ SECTIONS
PROVIDE (__runtime_reloc_start = .);
*(.rel.sdata)
PROVIDE (__runtime_reloc_stop = .);
*(.fini)
KEEP (*(.fini))
etext = .;
_etext = .;
}

View File

@ -35,7 +35,7 @@ SECTIONS
/* It fits the Cygmon ROMS */
.text : {
_ftext = . ;
*(.init)
KEEP (*(.init))
eprol = .;
*(.text)
*(.text.*)
@ -45,7 +45,7 @@ SECTIONS
PROVIDE (__runtime_reloc_start = .);
*(.rel.sdata)
PROVIDE (__runtime_reloc_stop = .);
*(.fini)
KEEP (*(.fini))
etext = .;
_etext = .;
}

View File

@ -32,7 +32,7 @@ SECTIONS
/* It fits the Cygmon ROMS */
.text : {
_ftext = . ;
*(.init)
KEEP (*(.init))
eprol = .;
*(.text)
*(.text.*)
@ -42,7 +42,7 @@ SECTIONS
PROVIDE (__runtime_reloc_start = .);
*(.rel.sdata)
PROVIDE (__runtime_reloc_stop = .);
*(.fini)
KEEP (*(.fini))
etext = .;
_etext = .;
}

View File

@ -37,7 +37,7 @@ SECTIONS
/* It fits the Cygmon ROMS */
.text : {
_ftext = . ;
*(.init)
KEEP (*(.init))
eprol = .;
*(.text)
*(.text.*)
@ -47,7 +47,7 @@ SECTIONS
PROVIDE (__runtime_reloc_start = .);
*(.rel.sdata)
PROVIDE (__runtime_reloc_stop = .);
*(.fini)
KEEP (*(.fini))
etext = .;
_etext = .;
}

View File

@ -34,7 +34,7 @@ SECTIONS
/* It fits the Cygmon ROMS */
.text : {
_ftext = . ;
*(.init)
KEEP (*(.init))
eprol = .;
*(.text)
*(.text.*)
@ -44,7 +44,7 @@ SECTIONS
PROVIDE (__runtime_reloc_start = .);
*(.rel.sdata)
PROVIDE (__runtime_reloc_stop = .);
*(.fini)
KEEP (*(.fini))
etext = .;
_etext = .;
}

View File

@ -34,7 +34,7 @@ SECTIONS
. = 0xA0020000;
.text : {
_ftext = . ;
*(.init)
KEEP (*(.init))
eprol = .;
*(.text)
*(.text.*)
@ -42,7 +42,7 @@ SECTIONS
PROVIDE (__runtime_reloc_start = .);
*(.rel.sdata)
PROVIDE (__runtime_reloc_stop = .);
*(.fini)
KEEP (*(.fini))
etext = .;
_etext = .;
}

View File

@ -34,7 +34,7 @@ SECTIONS
. = 0xA0020000;
.text : {
_ftext = . ;
*(.init)
KEEP (*(.init))
eprol = .;
*(.text)
*(.text.*)
@ -44,7 +44,7 @@ SECTIONS
PROVIDE (__runtime_reloc_start = .);
*(.rel.sdata)
PROVIDE (__runtime_reloc_stop = .);
*(.fini)
KEEP (*(.fini))
etext = .;
_etext = .;
}

View File

@ -34,7 +34,7 @@ SECTIONS
. = 0xA0020000;
.text : {
_ftext = . ;
*(.init)
KEEP (*(.init))
eprol = .;
*(.text)
*(.text.*)
@ -44,7 +44,7 @@ SECTIONS
PROVIDE (__runtime_reloc_start = .);
*(.rel.sdata)
PROVIDE (__runtime_reloc_stop = .);
*(.fini)
KEEP (*(.fini))
etext = .;
_etext = .;
}