summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/config/alpha/alpha.h3
-rw-r--r--gcc/config/linux.h5
-rw-r--r--gcc/config/svr4.h6
3 files changed, 0 insertions, 14 deletions
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h
index 0a42ef2d106..ac283ad0092 100644
--- a/gcc/config/alpha/alpha.h
+++ b/gcc/config/alpha/alpha.h
@@ -2080,6 +2080,3 @@ do { \
#define HAS_INIT_SECTION
#define LD_INIT_SWITCH "-init"
#define LD_FINI_SWITCH "-fini"
-
-/* We do want to link in libgcc when building shared libraries under OSF/1. */
-#define LIBGCC_SPEC "-lgcc"
diff --git a/gcc/config/linux.h b/gcc/config/linux.h
index c82cfe2dd09..3249db4cc4f 100644
--- a/gcc/config/linux.h
+++ b/gcc/config/linux.h
@@ -61,11 +61,6 @@ Boston, MA 02111-1307, USA. */
fprintf (FILE, "\t.version\t\"01.01\"\n"); \
} while (0)
-#undef LIBGCC_SPEC
-#define LIBGCC_SPEC \
- "%{!shared:-lgcc}"
-
-
/* Provide a STARTFILE_SPEC appropriate for Linux. Here we add
the Linux magical crtbegin.o file (see crtstuff.c) which
provides part of the support for getting C++ file-scope static
diff --git a/gcc/config/svr4.h b/gcc/config/svr4.h
index 6fe165b9426..d27920a0d69 100644
--- a/gcc/config/svr4.h
+++ b/gcc/config/svr4.h
@@ -132,12 +132,6 @@ Boston, MA 02111-1307, USA.
#undef LIB_SPEC
#define LIB_SPEC "%{!shared:%{!symbolic:-lc}}"
-/* Provide a LIBGCC_SPEC appropriate for svr4. We also want to exclude
- libgcc when -symbolic. */
-
-#undef LIBGCC_SPEC
-#define LIBGCC_SPEC "%{!shared:%{!symbolic:-lgcc}}"
-
/* Provide an ENDFILE_SPEC appropriate for svr4. Here we tack on our own
magical crtend.o file (see crtstuff.c) which provides part of the
support for getting C++ file-scope static object constructed before