PIC32MZ: Fixes from Kristopher Tate

This commit is contained in:
Gregory Nutt 2015-03-11 10:25:51 -06:00
parent 6064bd08bf
commit f00d9adc23

View File

@ -100,10 +100,10 @@ MEMORY
* for use by MPLABX and 128 for DSP register storage. * for use by MPLABX and 128 for DSP register storage.
*/ */
kseg1_datamem (w!x) : ORIGIN = 0xa0000200, LENGTH = 512K - 640 kseg1_datamem (rw!x) : ORIGIN = 0xa0000200, LENGTH = 512K - 640
} }
OUTPUT_FORMAT("elf32-littlemips") OUTPUT_FORMAT("elf32-tradlittlemips")
OUTPUT_ARCH(mips) OUTPUT_ARCH(mips)
ENTRY(__start) ENTRY(__start)
@ -217,7 +217,7 @@ SECTIONS
_data_loaddr = LOADADDR(.data); _data_loaddr = LOADADDR(.data);
.eh_frame_hdr : { *(.eh_frame_hdr) } .eh_frame_hdr : { *(.eh_frame_hdr) *(.eh_frame_entry .eh_frame_entry.*) }
.eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) } .eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) }
/* RAM functions are positioned at the beginning of RAM so that /* RAM functions are positioned at the beginning of RAM so that