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:
-rw-r--r--libgloss/ChangeLog5
-rw-r--r--libgloss/mips/ddb-kseg0.ld4
-rw-r--r--libgloss/mips/ddb.ld4
3 files changed, 9 insertions, 4 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index f1ad70283..45a6636fd 100644
--- a/libgloss/ChangeLog
+++ b/libgloss/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-07 Richard Sandiford <rsandifo@redhat.com>
+
+ * mips/ddb.ld: KEEP .init and .fini.
+ * mips/ddb-kseg0.ld: Likewise.
+
2002-08-01 Chris Demetriou <cgd@broadcom.com>
* mips/cfe.ld (STARTUP): New definition.
diff --git a/libgloss/mips/ddb-kseg0.ld b/libgloss/mips/ddb-kseg0.ld
index 8ec1e8e1a..939510d46 100644
--- a/libgloss/mips/ddb-kseg0.ld
+++ b/libgloss/mips/ddb-kseg0.ld
@@ -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 = .;
}
diff --git a/libgloss/mips/ddb.ld b/libgloss/mips/ddb.ld
index 524ac8d83..28e07b65b 100644
--- a/libgloss/mips/ddb.ld
+++ b/libgloss/mips/ddb.ld
@@ -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 = .;
}