diff options
author | drow <drow@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-23 23:11:08 +0000 |
---|---|---|
committer | drow <drow@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-23 23:11:08 +0000 |
commit | 03829d4ac7637b044f0ecf2b1c9e4227e009978c (patch) | |
tree | 72ce531348fcea60af182a71ee702bee514eccb7 | |
parent | 82598b814c8df1598d95639d1bc652a0cf466aba (diff) | |
download | ppe42-gcc-03829d4ac7637b044f0ecf2b1c9e4227e009978c.tar.gz ppe42-gcc-03829d4ac7637b044f0ecf2b1c9e4227e009978c.zip |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95476 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 10 | ||||
-rw-r--r-- | gcc/gcc.c | 11 | ||||
-rw-r--r-- | gcc/system.h | 3 |
4 files changed, 12 insertions, 19 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7873232a603..a7fb0dfed53 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index b50c1a57b6d..b6102e50d55 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -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 diff --git a/gcc/gcc.c b/gcc/gcc.c index 753ba33eeff..1a9cc5005d6 100644 --- 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 diff --git a/gcc/system.h b/gcc/system.h index 187ef7d8a98..d45e56afb33 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -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 \ |