diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2005-04-12 08:06:40 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2005-04-12 08:06:40 +0000 |
commit | 576d455f5f6266a1f8fbcadcbb02e46e96ece631 (patch) | |
tree | 30341accc387f5ae443c1237d1810b24fcb1ee53 /libgloss | |
parent | e8b0558a10198805353d2500096549863394a2f4 (diff) | |
download | newlib-576d455f5f6266a1f8fbcadcbb02e46e96ece631.zip newlib-576d455f5f6266a1f8fbcadcbb02e46e96ece631.tar.gz newlib-576d455f5f6266a1f8fbcadcbb02e46e96ece631.tar.bz2 |
* 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.
Diffstat (limited to 'libgloss')
-rw-r--r-- | libgloss/ChangeLog | 8 | ||||
-rw-r--r-- | libgloss/mips/array.ld | 4 | ||||
-rw-r--r-- | libgloss/mips/cfe.ld | 4 | ||||
-rw-r--r-- | libgloss/mips/dve.ld | 4 | ||||
-rw-r--r-- | libgloss/mips/idt.ld | 4 | ||||
-rw-r--r-- | libgloss/mips/idt32.ld | 4 | ||||
-rw-r--r-- | libgloss/mips/idt64.ld | 4 | ||||
-rw-r--r-- | libgloss/mips/idtecoff.ld | 4 | ||||
-rw-r--r-- | libgloss/mips/jmr3904app-java.ld | 4 | ||||
-rw-r--r-- | libgloss/mips/jmr3904app.ld | 4 | ||||
-rw-r--r-- | libgloss/mips/jmr3904dram-java.ld | 4 | ||||
-rw-r--r-- | libgloss/mips/jmr3904dram.ld | 4 | ||||
-rw-r--r-- | libgloss/mips/lsi.ld | 4 | ||||
-rw-r--r-- | libgloss/mips/nullmon.ld | 4 | ||||
-rw-r--r-- | libgloss/mips/pmon.ld | 4 |
15 files changed, 36 insertions, 28 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 680fe79..f065c87 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -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 diff --git a/libgloss/mips/array.ld b/libgloss/mips/array.ld index 5c99bcb..6856842 100644 --- a/libgloss/mips/array.ld +++ b/libgloss/mips/array.ld @@ -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 = .; } diff --git a/libgloss/mips/cfe.ld b/libgloss/mips/cfe.ld index a251f8e..37bc38b 100644 --- a/libgloss/mips/cfe.ld +++ b/libgloss/mips/cfe.ld @@ -41,10 +41,10 @@ SECTIONS *(.mips16.call.*) } .init : { - *(.init) + KEEP (*(.init)) } .fini : { - *(.fini) + KEEP (*(.fini)) } .rel.sdata : { PROVIDE (__runtime_reloc_start = .); diff --git a/libgloss/mips/dve.ld b/libgloss/mips/dve.ld index 0e91b5d..38a8793 100644 --- a/libgloss/mips/dve.ld +++ b/libgloss/mips/dve.ld @@ -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 = .; } diff --git a/libgloss/mips/idt.ld b/libgloss/mips/idt.ld index fb06bd8..427e1b9 100644 --- a/libgloss/mips/idt.ld +++ b/libgloss/mips/idt.ld @@ -42,10 +42,10 @@ SECTIONS *(.mips16.call.*) } .init : { - *(.init) + KEEP (*(.init)) } .fini : { - *(.fini) + KEEP (*(.fini)) } .rel.sdata : { PROVIDE (__runtime_reloc_start = .); diff --git a/libgloss/mips/idt32.ld b/libgloss/mips/idt32.ld index 9e6a651..c4adf37 100644 --- a/libgloss/mips/idt32.ld +++ b/libgloss/mips/idt32.ld @@ -43,10 +43,10 @@ SECTIONS *(.mips16.call.*) } .init : { - *(.init) + KEEP (*(.init)) } .fini : { - *(.fini) + KEEP (*(.fini)) } .rel.sdata : { PROVIDE (__runtime_reloc_start = .); diff --git a/libgloss/mips/idt64.ld b/libgloss/mips/idt64.ld index 3042e7c..61a5e8c 100644 --- a/libgloss/mips/idt64.ld +++ b/libgloss/mips/idt64.ld @@ -43,10 +43,10 @@ SECTIONS *(.mips16.call.*) } .init : { - *(.init) + KEEP (*(.init)) } .fini : { - *(.fini) + KEEP (*(.fini)) } .rel.sdata : { PROVIDE (__runtime_reloc_start = .); diff --git a/libgloss/mips/idtecoff.ld b/libgloss/mips/idtecoff.ld index 2910db6..1189438 100644 --- a/libgloss/mips/idtecoff.ld +++ b/libgloss/mips/idtecoff.ld @@ -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 = .; } diff --git a/libgloss/mips/jmr3904app-java.ld b/libgloss/mips/jmr3904app-java.ld index 3759d0b..acb8f52 100644 --- a/libgloss/mips/jmr3904app-java.ld +++ b/libgloss/mips/jmr3904app-java.ld @@ -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 = .; } diff --git a/libgloss/mips/jmr3904app.ld b/libgloss/mips/jmr3904app.ld index 0785d59..51d3fb5 100644 --- a/libgloss/mips/jmr3904app.ld +++ b/libgloss/mips/jmr3904app.ld @@ -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 = .; } diff --git a/libgloss/mips/jmr3904dram-java.ld b/libgloss/mips/jmr3904dram-java.ld index 3bf777c..6801a0b 100644 --- a/libgloss/mips/jmr3904dram-java.ld +++ b/libgloss/mips/jmr3904dram-java.ld @@ -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 = .; } diff --git a/libgloss/mips/jmr3904dram.ld b/libgloss/mips/jmr3904dram.ld index 67be2b5..abbd858 100644 --- a/libgloss/mips/jmr3904dram.ld +++ b/libgloss/mips/jmr3904dram.ld @@ -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 = .; } diff --git a/libgloss/mips/lsi.ld b/libgloss/mips/lsi.ld index b1f3e6f..227eb85 100644 --- a/libgloss/mips/lsi.ld +++ b/libgloss/mips/lsi.ld @@ -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 = .; } diff --git a/libgloss/mips/nullmon.ld b/libgloss/mips/nullmon.ld index a001739..41415e2 100644 --- a/libgloss/mips/nullmon.ld +++ b/libgloss/mips/nullmon.ld @@ -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 = .; } diff --git a/libgloss/mips/pmon.ld b/libgloss/mips/pmon.ld index 214594a..975b1bd 100644 --- a/libgloss/mips/pmon.ld +++ b/libgloss/mips/pmon.ld @@ -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 = .; } |