This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] Change idt64.ld to also accept MIPS32r2 objects
- From: Adam Nemet <anemet at caviumnetworks dot com>
- To: Jeff Johnston <jjohnstn at redhat dot com>
- Cc: newlib at sources dot redhat dot com
- Date: Sat, 6 Dec 2008 00:29:14 -0800
- Subject: Re: [PATCH] Change idt64.ld to also accept MIPS32r2 objects
- References: <18742.50875.38079.783465@foo.home> <4936D5CE.20309@redhat.com>
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(.)