Commit 52a08fa6 by Jason Merrill

(LIBGCC_SPEC): Remove.

From-SVN: r10676
parent 05c8b3dd
...@@ -2080,6 +2080,3 @@ do { \ ...@@ -2080,6 +2080,3 @@ do { \
#define HAS_INIT_SECTION #define HAS_INIT_SECTION
#define LD_INIT_SWITCH "-init" #define LD_INIT_SWITCH "-init"
#define LD_FINI_SWITCH "-fini" #define LD_FINI_SWITCH "-fini"
/* We do want to link in libgcc when building shared libraries under OSF/1. */
#define LIBGCC_SPEC "-lgcc"
...@@ -61,11 +61,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -61,11 +61,6 @@ Boston, MA 02111-1307, USA. */
fprintf (FILE, "\t.version\t\"01.01\"\n"); \ fprintf (FILE, "\t.version\t\"01.01\"\n"); \
} while (0) } while (0)
#undef LIBGCC_SPEC
#define LIBGCC_SPEC \
"%{!shared:-lgcc}"
/* Provide a STARTFILE_SPEC appropriate for Linux. Here we add /* Provide a STARTFILE_SPEC appropriate for Linux. Here we add
the Linux magical crtbegin.o file (see crtstuff.c) which the Linux magical crtbegin.o file (see crtstuff.c) which
provides part of the support for getting C++ file-scope static provides part of the support for getting C++ file-scope static
......
...@@ -132,12 +132,6 @@ Boston, MA 02111-1307, USA. ...@@ -132,12 +132,6 @@ Boston, MA 02111-1307, USA.
#undef LIB_SPEC #undef LIB_SPEC
#define LIB_SPEC "%{!shared:%{!symbolic:-lc}}" #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 /* 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 magical crtend.o file (see crtstuff.c) which provides part of the
support for getting C++ file-scope static object constructed before support for getting C++ file-scope static object constructed before
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment