aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/linux.h
diff options
context:
space:
mode:
authorJoseph Myers <jsm@polyomino.org.uk>2004-08-05 10:12:12 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2004-08-05 10:12:12 +0100
commit0a2b72a6ec53c08ec143fedd2811efe4d23dcc1c (patch)
treef30553aaa3a9b73bc616afdd880e8b2bb92cd57e /gcc/config/linux.h
parentca7a3bd7d5c371af20775d28ec20bf57115b20e5 (diff)
downloadgcc-0a2b72a6ec53c08ec143fedd2811efe4d23dcc1c.zip
gcc-0a2b72a6ec53c08ec143fedd2811efe4d23dcc1c.tar.gz
gcc-0a2b72a6ec53c08ec143fedd2811efe4d23dcc1c.tar.bz2
linux.h, [...]: Remove definitions conditioned on USE_GNULIBC_1 or conditioned out...
* config/linux.h, config/i386/linux.h, config/sparc/linux.h: Remove definitions conditioned on USE_GNULIBC_1 or conditioned out, and associated obsolete comments. From-SVN: r85600
Diffstat (limited to 'gcc/config/linux.h')
-rw-r--r--gcc/config/linux.h29
1 files changed, 2 insertions, 27 deletions
diff --git a/gcc/config/linux.h b/gcc/config/linux.h
index af7bf25..5b6ff54 100644
--- a/gcc/config/linux.h
+++ b/gcc/config/linux.h
@@ -39,14 +39,7 @@ Boston, MA 02111-1307, USA. */
object constructed before entering `main'. */
#undef STARTFILE_SPEC
-#ifdef USE_GNULIBC_1
-#define STARTFILE_SPEC \
- "%{!shared: \
- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
- %{!p:%{profile:gcrt1.o%s} \
- %{!profile:crt1.o%s}}}} \
- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
-#elif defined HAVE_LD_PIE
+#if defined HAVE_LD_PIE
#define STARTFILE_SPEC \
"%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} \
crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
@@ -76,26 +69,10 @@ Boston, MA 02111-1307, USA. */
#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
#undef LIB_SPEC
-/* We no longer link with libc_p.a or libg.a by default. If you
- want to profile or debug the GNU/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 \
"%{pthread:-lpthread} \
%{shared:-lc} \
%{!shared:%{mieee-fp:-lieee} %{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}}}}"
-#endif
#define LINUX_TARGET_OS_CPP_BUILTINS() \
do { \
@@ -107,7 +84,7 @@ Boston, MA 02111-1307, USA. */
builtin_assert ("system=posix"); \
} while (0)
-#if !defined(USE_GNULIBC_1) && defined(HAVE_LD_EH_FRAME_HDR)
+#if defined(HAVE_LD_EH_FRAME_HDR)
#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
#endif
@@ -124,8 +101,6 @@ Boston, MA 02111-1307, USA. */
/* Determine whether the the entire c99 runtime
is present in the runtime library. */
-#ifndef USE_GNULIBC_1
#define TARGET_C99_FUNCTIONS 1
-#endif
#define TARGET_HAS_F_SETLKW