[3.1] .debug_ranges Error for mips-sgi-irix6.5
Richard Henderson
rth@redhat.com
Mon Jul 30 19:43:00 GMT 2001
On Mon, Jul 30, 2001 at 07:54:16AM -0700, Jeffrey Oldham wrote:
> Last night's (30Jul) nightly build of mips-sgi-irix6.5 gcc 3.1
> revealed that the Irix6.5 assembler expects more information when
> introducing '.section .debug_ranges'.
Bother. I forgot.
I've extended the existing hackery rather than dive into
rewriting the section infrastructure like I ought.
r~
* config/ia64/ia64.h (DEBUG_RANGES_SECTION): New.
* config/mips/iris6.h (DEBUG_RANGES_SECTION): New.
Index: config/ia64/ia64.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/ia64/ia64.h,v
retrieving revision 1.78
diff -c -p -d -r1.78 ia64.h
*** ia64.h 2001/07/25 13:21:49 1.78
--- ia64.h 2001/07/31 02:38:54
*************** do { \
*** 2522,2527 ****
--- 2522,2528 ----
#define DEBUG_LOC_SECTION ".debug_loc, \"\", \"progbits\""
#define DEBUG_PUBNAMES_SECTION ".debug_pubnames, \"\", \"progbits\""
#define DEBUG_STR_SECTION ".debug_str, \"\", \"progbits\""
+ #define DEBUG_RANGES_SECTION ".debug_ranges, \"\", \"progbits\""
/* C string constants giving the pseudo-op to use for a sequence of
2, 4, and 8 byte unaligned constants. dwarf2out.c needs these. */
Index: config/mips/iris6.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/mips/iris6.h,v
retrieving revision 1.35
diff -c -p -d -r1.35 iris6.h
*** iris6.h 2001/07/17 12:55:19 1.35
--- iris6.h 2001/07/31 02:38:55
*************** Boston, MA 02111-1307, USA. */
*** 228,233 ****
--- 228,234 ----
#define DEBUG_ABBREV_SECTION ".debug_abbrev,0x7000001e,0,0,1"
#define DEBUG_LOC_SECTION ".debug_loc,0x7000001e,0,0,1"
#define DEBUG_STR_SECTION ".debug_str,0x7000001e,0,0,1"
+ #define DEBUG_RANGES_SECTION ".debug_ranges,0x7000001e,0,0,1"
/* ??? If no mabi=X option give, but a mipsX option is, then should depend
on the mipsX option. */
More information about the Gcc-bugs
mailing list