diff options
Diffstat (limited to 'libgloss/mips/ddb-kseg0.ld')
-rw-r--r-- | libgloss/mips/ddb-kseg0.ld | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/libgloss/mips/ddb-kseg0.ld b/libgloss/mips/ddb-kseg0.ld index db3759ea6..420fb6fe9 100644 --- a/libgloss/mips/ddb-kseg0.ld +++ b/libgloss/mips/ddb-kseg0.ld @@ -2,7 +2,6 @@ workspace. */ ENTRY(_start) -STARTUP(crt0.o) OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-littlemips") GROUP(-lc -lpmon -lgcc) SEARCH_DIR(.) @@ -23,8 +22,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); @@ -33,25 +30,21 @@ SECTIONS . = 0x80100000; .text : { _ftext = . ; - KEEP (*(.init)) + *(.init) eprol = .; *(.text) *(.text.*) - *(.gnu.linkonce.t.*) + *(.gnu.linkonce.t*) *(.mips16.fn.*) *(.mips16.call.*) PROVIDE (__runtime_reloc_start = .); *(.rel.sdata) PROVIDE (__runtime_reloc_stop = .); - KEEP (*(.fini)) + *(.fini) 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 @@ -89,13 +82,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; @@ -109,7 +102,7 @@ SECTIONS .sdata : { *(.sdata) *(.sdata.*) - *(.gnu.linkonce.s.*) + *(.gnu.linkonce.s*) } . = ALIGN(4); edata = .; @@ -117,15 +110,11 @@ SECTIONS _fbss = .; .sbss : { *(.sbss) - *(.sbss.*) - *(.gnu.linkonce.sb.*) *(.scommon) } .bss : { _bss_start = . ; *(.bss) - *(.bss.*) - *(.gnu.linkonce.b.*) *(COMMON) } @@ -156,7 +145,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) } |