OSDN Git Service

* config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 7 Jan 2001 09:17:24 +0000 (09:17 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 7 Jan 2001 09:17:24 +0000 (09:17 +0000)
        * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
        * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38760 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/aix.h
gcc/config/rs6000/rs6000.h
gcc/config/rs6000/sysv4.h

index 5294808..5588b43 100644 (file)
@@ -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.
index e64a86e..621acd6 100644 (file)
@@ -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"
 
index 170e5a9..af4d486 100644 (file)
@@ -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;
index b6103d6..bc6e1d6 100644 (file)
@@ -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.  */