OSDN Git Service

* collect2.c (COLLECT_PARSE_FLAG): Remove.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Oct 2004 18:45:28 +0000 (18:45 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 1 Oct 2004 18:45:28 +0000 (18:45 +0000)
(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

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

index 1590e2d..4abd51e 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 0b398f7..a8eaf11 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 8208a89..102d4f8 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 7e002a1..19eabd3 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  \