collect2.c (COLLECT_PARSE_FLAG): Remove.
authorKazu Hirata <kazu@cs.umass.edu>
Fri, 1 Oct 2004 18:45:28 +0000 (18:45 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Fri, 1 Oct 2004 18:45:28 +0000 (18:45 +0000)
* 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.

From-SVN: r88406

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

index 1590e2d9b027e0e033a74317e850eaa83fd41382..4abd51e7bd765d313155f3ffbc63d0c06d38049f 100644 (file)
@@ -1,3 +1,10 @@
+2004-10-01  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * 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  <paul@codesourcery.com>
 
        * config/arm/crti.asm: Give _init and _fini function type.
index 0b398f74b982f07301ba2616182db24bd056513e..a8eaf11130988d94c97b1361ea57132201a671f5 100644 (file)
@@ -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;
   }
index 8208a89061a5b921fc67a701dcddec3f6e43996b..102d4f8c06c05dc6f83fcb26f7e0996158ef4611 100644 (file)
@@ -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
index 7e002a1157cc41c1a5e420e1bbcb33cfeb675088..19eabd3956300e666e44cc2ef09cf73082973b22 100644 (file)
@@ -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  \