Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 71426 | Differences between
and this patch

Collapse All | Expand All

(-)gcc/config/mips/linux.h (-10 / +7 lines)
Lines 56-63 Boston, MA 02111-1307, USA. */ Link Here
56
#define TARGET_OS_CPP_BUILTINS()				\
56
#define TARGET_OS_CPP_BUILTINS()				\
57
    do {							\
57
    do {							\
58
	LINUX_TARGET_OS_CPP_BUILTINS();				\
58
	LINUX_TARGET_OS_CPP_BUILTINS();				\
59
	builtin_define ("__PIC__");				\
59
	if (TARGET_ABICALLS)					\
60
	builtin_define ("__pic__");				\
60
	  {							\
61
	    builtin_define ("__PIC__");				\
62
	    builtin_define ("__pic__");				\
63
	  }							\
61
        builtin_assert ("machine=mips");			\
64
        builtin_assert ("machine=mips");			\
62
	/* The GNU C++ standard library requires this.  */	\
65
	/* The GNU C++ standard library requires this.  */	\
63
	if (c_dialect_cxx ())					\
66
	if (c_dialect_cxx ())					\
Lines 96-105 Boston, MA 02111-1307, USA. */ Link Here
96
} while (0)
99
} while (0)
97
100
98
#undef  SUBTARGET_CPP_SPEC
101
#undef  SUBTARGET_CPP_SPEC
99
#define SUBTARGET_CPP_SPEC "\
102
#define SUBTARGET_CPP_SPEC "%{pthread:-D_REENTRANT}"
100
%{fno-PIC:-U__PIC__ -U__pic__} %{fno-pic:-U__PIC__ -U__pic__} \
101
%{fPIC|fPIE|fpic|fpie:-D__PIC__ -D__pic__} \
102
%{pthread:-D_REENTRANT}"
103
103
104
/* From iris5.h */
104
/* From iris5.h */
105
/* -G is incompatible with -KPIC which is the default, so only allow objects
105
/* -G is incompatible with -KPIC which is the default, so only allow objects
Lines 120-129 Boston, MA 02111-1307, USA. */ Link Here
120
        %{static:-static}}}"
120
        %{static:-static}}}"
121
121
122
#undef SUBTARGET_ASM_SPEC
122
#undef SUBTARGET_ASM_SPEC
123
#define SUBTARGET_ASM_SPEC "\
123
#define SUBTARGET_ASM_SPEC "%{mabi=64: -64} %{!mno-abicalls:-KPIC}"
124
%{mabi=64: -64} \
125
%{!fno-PIC:%{!fno-pic:-KPIC}} \
126
%{fno-PIC:-non_shared} %{fno-pic:-non_shared}"
127
124
128
/* The MIPS assembler has different syntax for .set. We set it to
125
/* The MIPS assembler has different syntax for .set. We set it to
129
   .dummy to trap any errors.  */
126
   .dummy to trap any errors.  */

Return to bug 71426