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/jmr3904dram.ld')
-rw-r--r--libgloss/mips/jmr3904dram.ld20
1 files changed, 6 insertions, 14 deletions
diff --git a/libgloss/mips/jmr3904dram.ld b/libgloss/mips/jmr3904dram.ld
index a2cb1eae5..cf283641c 100644
--- a/libgloss/mips/jmr3904dram.ld
+++ b/libgloss/mips/jmr3904dram.ld
@@ -1,7 +1,6 @@
/* Linker script forJMR 3904 board */
ENTRY(_start)
-STARTUP(crt0.o)
OUTPUT_ARCH("mips:3000")
OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-littlemips")
GROUP(-lc -ljmr3904 -lgcc)
@@ -21,8 +20,6 @@ PROVIDE (_mem_size = 0x100000); /* JMR3904 comes as standard with 512k of RAM */
* 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);
@@ -34,17 +31,17 @@ SECTIONS
/* It fits the Cygmon ROMS */
.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 = .;
}
@@ -53,13 +50,13 @@ SECTIONS
*(.rdata)
*(.rodata)
*(.rodata.*)
- *(.gnu.linkonce.r.*)
+ *(.gnu.linkonce.r*)
}
_fdata = ALIGN(16);
.data : {
*(.data)
*(.data.*)
- *(.gnu.linkonce.d.*)
+ *(.gnu.linkonce.d*)
CONSTRUCTORS
}
. = ALIGN(8);
@@ -74,7 +71,7 @@ SECTIONS
.sdata : {
*(.sdata)
*(.sdata.*)
- *(.gnu.linkonce.s.*)
+ *(.gnu.linkonce.s*)
}
. = ALIGN(4);
edata = .;
@@ -82,15 +79,11 @@ SECTIONS
_fbss = .;
.sbss : {
*(.sbss)
- *(.sbss.*)
- *(.gnu.linkonce.sb.*)
*(.scommon)
}
.bss : {
_bss_start = . ;
*(.bss)
- *(.bss.*)
- *(.gnu.linkonce.b.*)
*(COMMON)
}
@@ -125,7 +118,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) }