Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2001-08-31 23:22:51 +0400
committerEric Christopher <echristo@gmail.com>2001-08-31 23:22:51 +0400
commitd9204f54e12d5187db4b53cb9a9d5b3da49d85c5 (patch)
treeebcc041af3b6fb304774eea957bdcabbef1f6d90 /libgloss/mips/idt.ld
parent5ac73dfeadf24d60cb3a3cffc25a72c6b23bdee4 (diff)
2001-08-30 Richard Henderson <rth@redhat.com>
Eric Christopher <echristo@redhat.com> * mips/idt.ld: Rewrite for .init/.fini sections.
Diffstat (limited to 'libgloss/mips/idt.ld')
-rw-r--r--libgloss/mips/idt.ld24
1 files changed, 15 insertions, 9 deletions
diff --git a/libgloss/mips/idt.ld b/libgloss/mips/idt.ld
index cba8b7b73..5dd26fac3 100644
--- a/libgloss/mips/idt.ld
+++ b/libgloss/mips/idt.ld
@@ -30,21 +30,27 @@ SECTIONS
{
. = 0xA0020000;
.text : {
- _ftext = . ;
- *(.init)
- eprol = .;
+ _ftext = . ;
+ PROVIDE (eprol = .);
*(.text)
*(.text.*)
*(.gnu.linkonce.t*)
*(.mips16.fn.*)
*(.mips16.call.*)
+ }
+ .init : {
+ *(.init)
+ }
+ .fini : {
+ *(.fini)
+ }
+ .rel.sdata : {
PROVIDE (__runtime_reloc_start = .);
*(.rel.sdata)
PROVIDE (__runtime_reloc_stop = .);
- *(.fini)
- etext = .;
- _etext = .;
}
+ PROVIDE (etext = .);
+ _etext = .;
.ctors :
{
@@ -106,7 +112,7 @@ SECTIONS
*(.gnu.linkonce.s*)
}
. = ALIGN(4);
- edata = .;
+ PROVIDE (edata = .);
_edata = .;
_fbss = .;
.sbss : {
@@ -119,8 +125,8 @@ SECTIONS
*(COMMON)
}
- end = .;
- _end = .;
+ PROVIDE (end = .);
+ _end = .;
/* DWARF debug sections.
Symbols in the DWARF debugging sections are relative to