]> gcc.gnu.org Git - gcc.git/commitdiff
tm.texi (LINK_LIBGCC_SPECIAL): Remove.
authorDaniel Jacobowitz <dan@codesourcery.com>
Wed, 23 Feb 2005 23:11:08 +0000 (23:11 +0000)
committerDaniel Jacobowitz <drow@gcc.gnu.org>
Wed, 23 Feb 2005 23:11:08 +0000 (23:11 +0000)
* doc/tm.texi (LINK_LIBGCC_SPECIAL): Remove.
(LINK_LIBGCC_SPECIAL_1): Don't mention it.
* gcc.c: Don't check for LINK_LIBGCC_SPECIAL.
* system.h: Poison LINK_LIBGCC_SPECIAL.

From-SVN: r95476

gcc/ChangeLog
gcc/doc/tm.texi
gcc/gcc.c
gcc/system.h

index 7873232a6034e78c8df1ad89d17d02fb8677ead8..a7fb0dfed53ad4a88efeb1aa7cc6a90cebd58613 100644 (file)
@@ -1,3 +1,10 @@
+2005-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * doc/tm.texi (LINK_LIBGCC_SPECIAL): Remove.
+       (LINK_LIBGCC_SPECIAL_1): Don't mention it.
+       * gcc.c: Don't check for LINK_LIBGCC_SPECIAL.
+       * system.h: Poison LINK_LIBGCC_SPECIAL.
+
 2005-02-23  James E Wilson  <wilson@specifixinc.com>
 
        * gengtype.c (note_insn_name): Make 1 element larger.
index b50c1a57b6d6f2b6296d607bc029c494bdb3556c..b6102e50d55b1bffba127e406d868e8f8c87d73b 100644 (file)
@@ -412,20 +412,10 @@ while the @file{config/rs6000/eabiaix.h} target file defines
 @end smallexample
 @end defmac
 
-@defmac LINK_LIBGCC_SPECIAL
-Define this macro if the driver program should find the library
-@file{libgcc.a} itself and should not pass @option{-L} options to the
-linker.  If you do not define this macro, the driver program will pass
-the argument @option{-lgcc} to tell the linker to do the search and will
-pass @option{-L} options to it.
-@end defmac
-
 @defmac LINK_LIBGCC_SPECIAL_1
 Define this macro if the driver program should find the library
 @file{libgcc.a}.  If you do not define this macro, the driver program will pass
 the argument @option{-lgcc} to tell the linker to do the search.
-This macro is similar to @code{LINK_LIBGCC_SPECIAL}, except that it does
-not affect @option{-L} options.
 @end defmac
 
 @defmac LINK_GCC_C_SEQUENCE_SPEC
index 753ba33eeff2bf9bc5eb355ca0deff95b9f81512..1a9cc5005d6f95d6f016745ccf9c9f526a264207 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -620,7 +620,7 @@ proper position among the other output files.  */
 #ifndef LIBGCC_SPEC
 #if defined(REAL_LIBGCC_SPEC)
 #define LIBGCC_SPEC REAL_LIBGCC_SPEC
-#elif defined(LINK_LIBGCC_SPECIAL) || defined(LINK_LIBGCC_SPECIAL_1)
+#elif defined(LINK_LIBGCC_SPECIAL_1)
 /* Have gcc do the search for libgcc.a.  */
 #define LIBGCC_SPEC "libgcc.a%s"
 #else
@@ -706,13 +706,8 @@ proper position among the other output files.  */
 #endif
 
 #ifndef LINK_LIBGCC_SPEC
-# ifdef LINK_LIBGCC_SPECIAL
-/* Don't generate -L options for startfile prefix list.  */
-#  define LINK_LIBGCC_SPEC ""
-# else
-/* Do generate them.  */
-#  define LINK_LIBGCC_SPEC "%D"
-# endif
+/* Generate -L options for startfile prefix list.  */
+# define LINK_LIBGCC_SPEC "%D"
 #endif
 
 #ifndef STARTFILE_PREFIX_SPEC
index 187ef7d8a983c19932b8fcb3da4592db89aaab5a..d45e56afb337c4ccbfd2504a93dafbf80068cae7 100644 (file)
@@ -661,7 +661,8 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
        DBX_OUTPUT_GCC_MARKER DBX_FINISH_SYMBOL SDB_GENERATE_FAKE          \
        NON_SAVING_SETJMP TARGET_LATE_RTL_PROLOGUE_EPILOGUE                \
        CASE_DROPS_THROUGH TARGET_BELL TARGET_BS TARGET_CR TARGET_DIGIT0   \
-        TARGET_ESC TARGET_FF TARGET_NEWLINE TARGET_TAB TARGET_VT
+        TARGET_ESC TARGET_FF TARGET_NEWLINE TARGET_TAB TARGET_VT          \
+        LINK_LIBGCC_SPECIAL
 
 /* Hooks that are no longer used.  */
  #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE  \
This page took 0.090324 seconds and 5 git commands to generate.