From c50e45772461427fcfaffbda0e3f6c94d9f5efc1 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Mon, 7 Oct 2002 16:24:00 +0000 Subject: * mips/ddb.ld: KEEP .init and .fini. * mips/ddb-kseg0.ld: Likewise. --- libgloss/mips/ddb-kseg0.ld | 4 ++-- libgloss/mips/ddb.ld | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libgloss/mips') 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 = .; } -- cgit v1.2.3