(PREFERRED_DEBUGGING_TYPE): Undefine before define.
From-SVN: r14354
/* Definitions for Linux with ELF format
/* Definitions for Linux with ELF format
- Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
Contributed by Eric Youngdale.
Modified for stabs-in-ELF by H.J. Lu.
Contributed by Eric Youngdale.
Modified for stabs-in-ELF by H.J. Lu.
#define SET_ASM_OP ".set"
/* Use stabs instead of DWARF debug format. */
#define SET_ASM_OP ".set"
/* Use stabs instead of DWARF debug format. */
+#undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
#include "svr4.h"
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
#include "svr4.h"
#define CC1_SPEC "%{profile:-p}"
#undef LIB_SPEC
#define CC1_SPEC "%{profile:-p}"
#undef LIB_SPEC
/* We no longer link with libc_p.a or libg.a by default. If you
* want to profile or debug the Linux C library, please add
* -profile or -ggdb to LDFLAGS at the link time, respectively.
*/
/* We no longer link with libc_p.a or libg.a by default. If you
* want to profile or debug the Linux C library, please add
* -profile or -ggdb to LDFLAGS at the link time, respectively.
*/
+#if 1
+#ifdef USE_GNULIBC_1
#define LIB_SPEC \
"%{!shared: %{p:-lgmon} %{pg:-lgmon} %{profile:-lgmon -lc_p} \
%{!profile:%{!ggdb:-lc} %{ggdb:-lg}}}"
#else
#define LIB_SPEC \
#define LIB_SPEC \
"%{!shared: %{p:-lgmon} %{pg:-lgmon} %{profile:-lgmon -lc_p} \
%{!profile:%{!ggdb:-lc} %{ggdb:-lg}}}"
#else
#define LIB_SPEC \
+ "%{!shared: %{mieee-fp:-lieee} %{pthread:-lpthread} \
+ %{profile:-lc_p} %{!profile: -lc}}"
+#endif
+#else
+#define LIB_SPEC \
"%{!shared: \
%{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
%{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
"%{!shared: \
%{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
%{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"