* 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
+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.
/* 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"
{ "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;
%{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. */