[PATCH] Change idt64.ld to also accept MIPS32r2 objects
Adam Nemet
anemet@caviumnetworks.com
Wed Dec 10 14:05:00 GMT 2008
Jeff Johnston writes:
> Assuming this doesn't cause any regressions for any of the other
> multilib configurations please go ahead. The same applies to the
> proposed idt32.ld change.
I committed the idt32.ld change below. It was tested with the GCC testsuite
on mipsisa32r2-elfoabi with mips-sim-idt32{,-mips16}{-mips32,-mips32r2}.
Adam
2008-12-06 Adam Nemet <anemet@caviumnetworks.com>
* mips/idt32.ld: Set arch to mips:isa32r2 from mips:isa32. Update
comment.
Index: mips/idt32.ld
===================================================================
RCS file: /cvs/src/src/libgloss/mips/idt32.ld,v
retrieving revision 1.9
diff -F^\([(a-zA-Z0-9_]\|#define\) -u -p -r1.9 idt32.ld
--- mips/idt32.ld 8 Jun 2006 16:13:11 -0000 1.9
+++ mips/idt32.ld 6 Dec 2008 16:26:04 -0000
@@ -1,9 +1,9 @@
/* The following TEXT start address leaves space for the monitor
- workspace. This linker script links isa32 programs for use with the
- simulator. */
+ workspace. This linker script links ISA32r2 programs for use with
+ the simulator. */
ENTRY(_start)
-OUTPUT_ARCH("mips:isa32")
+OUTPUT_ARCH("mips:isa32r2")
OUTPUT_FORMAT("elf32-littlemips", "elf32-bigmips", "elf32-littlemips")
GROUP(-lc -lidt -lgcc)
SEARCH_DIR(.)
More information about the Newlib
mailing list