diff options
Diffstat (limited to 'libgloss/mips/idt64.ld')
-rw-r--r-- | libgloss/mips/idt64.ld | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/libgloss/mips/idt64.ld b/libgloss/mips/idt64.ld index 4a400ae73..751c0f1c8 100644 --- a/libgloss/mips/idt64.ld +++ b/libgloss/mips/idt64.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 = .); @@ -56,10 +54,6 @@ SECTIONS PROVIDE (etext = .); _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 @@ -97,13 +91,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; @@ -117,7 +111,7 @@ SECTIONS .sdata : { *(.sdata) *(.sdata.*) - *(.gnu.linkonce.s.*) + *(.gnu.linkonce.s*) } . = ALIGN(4); PROVIDE (edata = .); @@ -125,15 +119,11 @@ SECTIONS _fbss = .; .sbss : { *(.sbss) - *(.sbss.*) - *(.gnu.linkonce.sb.*) *(.scommon) } .bss : { _bss_start = . ; *(.bss) - *(.bss.*) - *(.gnu.linkonce.b.*) *(COMMON) } @@ -164,7 +154,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) } |