aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-06-08 17:39:04 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-06-08 17:39:04 -0700
commitdbe0297bc6f0555ecb02d67f03226652c4a4f01f (patch)
tree65400517c22b2798d090ceb4a6b8adecfd03e4e9 /gcc
parentf1eba84741d0f7bf1bfa076bcc5c088ea3380169 (diff)
downloadgcc-dbe0297bc6f0555ecb02d67f03226652c4a4f01f.zip
gcc-dbe0297bc6f0555ecb02d67f03226652c4a4f01f.tar.gz
gcc-dbe0297bc6f0555ecb02d67f03226652c4a4f01f.tar.bz2
linux.h (CPLUSPLUS_CPP_SPEC): New.
* config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): New. (LIB_SPEC): Mirror config/linux.h version. From-SVN: r43067
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/alpha/linux.h9
2 files changed, 13 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2dc9683..6b36c75 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2001-06-08 Richard Henderson <rth@redhat.com>
+ * config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): New.
+ (LIB_SPEC): Mirror config/linux.h version.
+
+2001-06-08 Richard Henderson <rth@redhat.com>
+
* except.c (get_exception_pointer, get_exception_filter): Take a
struct function. Update all callers.
* except.h (get_exception_pointer): Update declaration.
diff --git a/gcc/config/alpha/linux.h b/gcc/config/alpha/linux.h
index 1be967e..fb33b44 100644
--- a/gcc/config/alpha/linux.h
+++ b/gcc/config/alpha/linux.h
@@ -28,8 +28,15 @@ Boston, MA 02111-1307, USA. */
"-Dlinux -Dunix -Asystem=linux -D_LONGLONG -D__alpha__ " \
SUB_CPP_PREDEFINES
+/* The GNU C++ standard library requires that these macros be defined. */
+#undef CPLUSPLUS_CPP_SPEC
+#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp_cpu)"
+
#undef LIB_SPEC
-#define LIB_SPEC "%{pg:-lgmon} %{pg:-lc_p} %{!pg:-lc}"
+#define LIB_SPEC \
+ "%{shared: -lc} \
+ %{!shared: %{pthread:-lpthread} \
+ %{profile:-lc_p} %{!profile: -lc}}"
/* Show that we need a GP when profiling. */
#undef TARGET_PROFILING_NEEDS_GP