aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-01-07 01:17:24 -0800
committerRichard Henderson <rth@gcc.gnu.org>2001-01-07 01:17:24 -0800
commitfc51424cc99b9a247d981b46491dd5d8b7952ef6 (patch)
treeb99e1f028738cd6cf623231d755c52739d7fd3a4 /gcc
parentdf1e4b741f4d2d52615c3ffdb9267f6378882c8e (diff)
downloadgcc-fc51424cc99b9a247d981b46491dd5d8b7952ef6.zip
gcc-fc51424cc99b9a247d981b46491dd5d8b7952ef6.tar.gz
gcc-fc51424cc99b9a247d981b46491dd5d8b7952ef6.tar.bz2
aix.h (LINK_LIBGCC_SPECIAL_1): New.
* config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New. * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove. * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove. From-SVN: r38760
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/aix.h4
-rw-r--r--gcc/config/rs6000/rs6000.h3
-rw-r--r--gcc/config/rs6000/sysv4.h4
4 files changed, 9 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5294808..5588b43 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2001-01-07 Richard Henderson <rth@redhat.com>
+
+ * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
+ * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
+ * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
+
2001-01-07 Michael Hayes <mhayes@redhat.com>
* loop.c (count_loop_regs_set): Delete.
diff --git a/gcc/config/rs6000/aix.h b/gcc/config/rs6000/aix.h
index e64a86e..621acd6 100644
--- a/gcc/config/rs6000/aix.h
+++ b/gcc/config/rs6000/aix.h
@@ -72,8 +72,10 @@ Boston, MA 02111-1307, USA. */
/* Don't turn -B into -L if the argument specifies a relative file name. */
#define RELATIVE_PREFIX_NOT_LINKDIR
-/* Names to predefine in the preprocessor for this target machine. */
+/* Because of the above, we must have gcc search itself to find libgcc.a. */
+#define LINK_LIBGCC_SPECIAL_1
+/* Names to predefine in the preprocessor for this target machine. */
#define CPP_PREDEFINES "-D_IBMR2 -D_POWER -D_AIX -D_AIX32 -D_LONG_LONG \
-Asystem=unix -Asystem=aix -Acpu=rs6000 -Amachine=rs6000"
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h
index 170e5a9..af4d486 100644
--- a/gcc/config/rs6000/rs6000.h
+++ b/gcc/config/rs6000/rs6000.h
@@ -138,9 +138,6 @@ Boston, MA 02111-1307, USA. */
{ "asm_default", ASM_DEFAULT_SPEC }, \
SUBTARGET_EXTRA_SPECS
-/* gcc must do the search itself to find libgcc.a, not use -l. */
-#define LIBGCC_SPEC "libgcc.a%s"
-
/* Architecture type. */
extern int target_flags;
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
index b6103d6d..bc6e1d6 100644
--- a/gcc/config/rs6000/sysv4.h
+++ b/gcc/config/rs6000/sysv4.h
@@ -1267,10 +1267,6 @@ do { \
%{mcall-solaris: %(lib_solaris) } \
%{!mads: %{!myellowknife: %{!mmvme: %{!msim: %{!mcall-linux: %{!mcall-solaris: %(lib_default) }}}}}}"
-/* Override rs6000.h definition. */
-#undef LIBGCC_SPEC
-#define LIBGCC_SPEC "libgcc.a%s"
-
#define LIB_DEFAULT_SPEC ""
/* Override svr4.h definition. */