aboutsummaryrefslogtreecommitdiff
path: root/libgloss/mips
diff options
context:
space:
mode:
authorAdam Nemet <anemet@caviumnetworks.com>2008-12-05 19:51:33 +0000
committerAdam Nemet <anemet@caviumnetworks.com>2008-12-05 19:51:33 +0000
commit8f2a0718d24c2390b8faf1b863d0ac981a5300de (patch)
tree9f1992ff8e13d82207ad50672e8053c7cd3272ab /libgloss/mips
parenta81a17c43bffee5a8db8ac34d69b1bbca67e8a34 (diff)
downloadnewlib-8f2a0718d24c2390b8faf1b863d0ac981a5300de.zip
newlib-8f2a0718d24c2390b8faf1b863d0ac981a5300de.tar.gz
newlib-8f2a0718d24c2390b8faf1b863d0ac981a5300de.tar.bz2
* mips/idt64.ld: Set arch to mips:isa64r2 from mips:isa64. Update
comment.
Diffstat (limited to 'libgloss/mips')
-rw-r--r--libgloss/mips/idt64.ld8
1 files changed, 5 insertions, 3 deletions
diff --git a/libgloss/mips/idt64.ld b/libgloss/mips/idt64.ld
index 10e9b1b..4a95820 100644
--- a/libgloss/mips/idt64.ld
+++ b/libgloss/mips/idt64.ld
@@ -1,9 +1,11 @@
/* 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 ISA64r2 programs for use with the
+ simulator. We set the ISA explicitly so that we can link objects of
+ different ISAs that are subsets of ISA64r2 but are not extensions of
+ each other (e.g., MIPS32r2 and MIPS64). */
ENTRY(_start)
-OUTPUT_ARCH("mips:isa64")
+OUTPUT_ARCH("mips:isa64r2")
OUTPUT_FORMAT("elf32-littlemips", "elf32-bigmips", "elf32-littlemips")
GROUP(-lc -lidt -lgcc)
SEARCH_DIR(.)