aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorH.J. Lu <hjl@gnu.org>1997-12-16 22:25:35 +0000
committerJeff Law <law@gcc.gnu.org>1997-12-16 15:25:35 -0700
commitafc967911db6a361d0295e51aa9130759f053311 (patch)
tree11bf9038b1f26d1383c25444dbe957ec29272002 /gcc
parente9818f3c2824e7dd8f4df760520bc9792daac52c (diff)
downloadgcc-afc967911db6a361d0295e51aa9130759f053311.zip
gcc-afc967911db6a361d0295e51aa9130759f053311.tar.gz
gcc-afc967911db6a361d0295e51aa9130759f053311.tar.bz2
linux64.h (LIBGCC_SPEC): Removed.
* config/sparc/linux64.h (LIBGCC_SPEC): Removed. (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}. (LIB_SPEC): Updated for glibc 2. From-SVN: r17117
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/sparc/linux64.h13
2 files changed, 10 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a78494f..8168160 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+Tue Dec 16 23:25:45 1997 H.J. Lu (hjl@gnu.org)
+
+ * config/sparc/linux64.h (LIBGCC_SPEC): Removed.
+ (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
+ (LIB_SPEC): Updated for glibc 2.
+
Tue Dec 16 20:11:36 1997 Jeffrey A Law (law@cygnus.com)
* ginclude/stdarg.h: Undo BeOS changes, they break hpux.
diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h
index 74f632b..c184f31 100644
--- a/gcc/config/sparc/linux64.h
+++ b/gcc/config/sparc/linux64.h
@@ -48,10 +48,6 @@ Boston, MA 02111-1307, USA. */
#undef ASM_CPU_DEFAULT_SPEC
#define ASM_CPU_DEFAULT_SPEC "-Av9a"
-#undef LIBGCC_SPEC
-#define LIBGCC_SPEC \
- "%{!shared:-lgcc}"
-
/* Provide a STARTFILE_SPEC appropriate for GNU/Linux. Here we add
the GNU/Linux magical crtbegin.o file (see crtstuff.c) which
provides part of the support for getting C++ file-scope static
@@ -111,14 +107,13 @@ Boston, MA 02111-1307, USA. */
%{fPIC:-D__PIC__ -D__pic__} \
%{fpic:-D__PIC__ -D__pic__} \
%{posix:-D_POSIX_SOURCE} \
+%{pthread:-D_REENTRANT} \
"
-/* 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
- -lc_p or -ggdb to LDFLAGS at the link time, respectively. */
+
#undef LIB_SPEC
#define LIB_SPEC \
- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
- %{!ggdb:-lc} %{ggdb:-lg}}"
+ "%{!shared: %{mieee-fp:-lieee} %{pthread:-lpthread} \
+ %{profile:-lc_p} %{!profile: -lc}}"
/* Provide a LINK_SPEC appropriate for GNU/Linux. Here we provide support
for the special GCC options -static and -shared, which allow us to