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:
Diffstat (limited to 'libgloss/mips/idt32.ld')
-rw-r--r--libgloss/mips/idt32.ld23
1 files changed, 6 insertions, 17 deletions
diff --git a/libgloss/mips/idt32.ld b/libgloss/mips/idt32.ld
index b5bba04b8..4214b7bdd 100644
--- a/libgloss/mips/idt32.ld
+++ b/libgloss/mips/idt32.ld
@@ -25,8 +25,6 @@ PROVIDE (__stack = 0);
* We have to initalize them twice, so we multiple object file
* formats, as some prepend an underscore.
*/
-PROVIDE (hardware_exit_hook = 0);
-PROVIDE (hardware_hazard_hook = 0);
PROVIDE (hardware_init_hook = 0);
PROVIDE (software_init_hook = 0);
@@ -38,15 +36,15 @@ SECTIONS
PROVIDE (eprol = .);
*(.text)
*(.text.*)
- *(.gnu.linkonce.t.*)
+ *(.gnu.linkonce.t*)
*(.mips16.fn.*)
*(.mips16.call.*)
}
.init : {
- KEEP (*(.init))
+ *(.init)
}
.fini : {
- KEEP (*(.fini))
+ *(.fini)
}
.rel.sdata : {
PROVIDE (__runtime_reloc_start = .);
@@ -57,10 +55,6 @@ SECTIONS
_etext = .;
- .eh_frame_hdr : { *(.eh_frame_hdr) }
- .eh_frame : { KEEP (*(.eh_frame)) }
- .gcc_except_table : { *(.gcc_except_table) }
- .jcr : { KEEP (*(.jcr)) }
.ctors :
{
/* gcc uses crtbegin.o to find the start of
@@ -98,13 +92,13 @@ SECTIONS
*(.rdata)
*(.rodata)
*(.rodata.*)
- *(.gnu.linkonce.r.*)
+ *(.gnu.linkonce.r*)
}
_fdata = ALIGN(16);
.data : {
*(.data)
*(.data.*)
- *(.gnu.linkonce.d.*)
+ *(.gnu.linkonce.d*)
}
. = ALIGN(8);
_gp = . + 0x8000;
@@ -118,7 +112,7 @@ SECTIONS
.sdata : {
*(.sdata)
*(.sdata.*)
- *(.gnu.linkonce.s.*)
+ *(.gnu.linkonce.s*)
}
. = ALIGN(4);
PROVIDE (edata = .);
@@ -126,15 +120,11 @@ SECTIONS
_fbss = .;
.sbss : {
*(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
*(.scommon)
}
.bss : {
_bss_start = . ;
*(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
*(COMMON)
}
@@ -165,7 +155,6 @@ SECTIONS
.debug_str 0 : { *(.debug_str) }
.debug_loc 0 : { *(.debug_loc) }
.debug_macinfo 0 : { *(.debug_macinfo) }
- .debug_ranges 0 : { *(.debug_ranges) }
/* SGI/MIPS DWARF 2 extensions */
.debug_weaknames 0 : { *(.debug_weaknames) }