Hi,
Here's a patch done by Gideon Glass (who works here at Cobalt
[gid@cobaltmicro.com] ), who has fixed the mysterious g++ segmentation
faults. Apply to gcc, build, and enjoy.
_Tim
-----
diff -rc gcc-2.7.2/config/mips/linux.h gcc-2.7.2.gid/config/mips/linux.h
*** gcc-2.7.2/config/mips/linux.h Thu Apr 2 16:49:50 1998
--- gcc-2.7.2.gid/config/mips/linux.h Thu Apr 2 16:50:21 1998
***************
*** 737,739 ****
--- 737,747 ----
#undef PCC_BITFIELD_TYPE_MATTERS
#define PCC_BITFIELD_TYPE_MATTERS 1
#undef PCC_STATIC_STRUCT_RETURN
+
+ #undef INIT_SECTION_ASM_OP
+ #define INIT_SECTION_ASM_OP ".section .init,\"x\""
+
+ #undef FINI_SECTION_ASM_OP
+ #define FINI_SECTION_ASM_OP ".section .fini,\"x\""
+
+
|