From: kazu Date: Fri, 1 Oct 2004 18:45:28 +0000 (+0000) Subject: * collect2.c (COLLECT_PARSE_FLAG): Remove. X-Git-Tag: upstream/4.9.2~67334 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d66cc6a31125cb36fd37bd865593e0aa2b4a2aaf;p=platform%2Fupstream%2Flinaro-gcc.git * collect2.c (COLLECT_PARSE_FLAG): Remove. (main): Remove a reference to COLLECT_PARSE_FLAG * system.h: Poison COLLECT_PARSE_FLAG. * doc/tm.texi (COLLECT_PARSE_FLAG): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88406 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1590e2d..4abd51e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2004-10-01 Kazu Hirata + + * collect2.c (COLLECT_PARSE_FLAG): Remove. + (main): Remove a reference to COLLECT_PARSE_FLAG + * system.h: Poison COLLECT_PARSE_FLAG. + * doc/tm.texi (COLLECT_PARSE_FLAG): Remove. + 2004-10-01 Paul Brook * config/arm/crti.asm: Give _init and _fini function type. diff --git a/gcc/collect2.c b/gcc/collect2.c index 0b398f7..a8eaf11 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -149,10 +149,6 @@ int do_collecting = 1; int do_collecting = 0; #endif -#ifndef COLLECT_PARSE_FLAG -#define COLLECT_PARSE_FLAG(FLAG) -#endif - /* Nonzero if we should suppress the automatic demangling of identifiers in linker error messages. Set from COLLECT_NO_DEMANGLE. */ int no_demangle; @@ -864,7 +860,6 @@ main (int argc, char **argv) { if (! strcmp (argv[i], "-debug")) debug = 1; - COLLECT_PARSE_FLAG (argv[i]); } vflag = debug; } diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 8208a89..102d4f8 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -7231,12 +7231,6 @@ This macro is effective only in a native compiler; @command{collect2} as part of a cross compiler always uses @command{nm} for the target machine. @end defmac -@defmac COLLECT_PARSE_FLAG (@var{flag}) -Define this macro to be C code that examines @command{collect2} command -line option @var{flag} and performs special actions if -@command{collect2} needs to behave differently depending on @var{flag}. -@end defmac - @defmac REAL_NM_FILE_NAME Define this macro as a C string constant containing the file name to use to execute @command{nm}. The default is to search the path normally for diff --git a/gcc/system.h b/gcc/system.h index 7e002a1..19eabd3 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -652,7 +652,8 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; DBX_OUTPUT_STANDARD_TYPES BUILTIN_SETJMP_FRAME_VALUE \ SUNOS4_SHARED_LIBRARIES PROMOTE_FOR_CALL_ONLY \ SPACE_AFTER_L_OPTION NO_RECURSIVE_FUNCTION_CSE \ - DEFAULT_MAIN_RETURN TARGET_MEM_FUNCTIONS EXPAND_BUILTIN_VA_ARG + DEFAULT_MAIN_RETURN TARGET_MEM_FUNCTIONS EXPAND_BUILTIN_VA_ARG \ + COLLECT_PARSE_FLAG /* Hooks that are no longer used. */ #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \