linux-mips-fnet
[Top] [All Lists]

g++ fix...

To: linux-mips@fnet.fr
Subject: g++ fix...
From: Timothy Stonis <tim@cobaltmicro.com>
Date: Fri, 3 Apr 1998 11:31:14 -0800 (PST)
Cc: Gideon Glass <gid@cobaltmicro.com>
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\""
+ 
+ 



<Prev in Thread] Current Thread [Next in Thread>
  • g++ fix..., Timothy Stonis <=