target-def.h (TARGET_OPTF): Delete.
authorAlan Modra <amodra@bigpond.net.au>
Thu, 4 Mar 2004 02:39:37 +0000 (02:39 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Thu, 4 Mar 2004 02:39:37 +0000 (13:09 +1030)
* target-def.h (TARGET_OPTF): Delete.
* c-opts.c (TARGET_OPTF): Define.

From-SVN: r78878

gcc/ChangeLog
gcc/c-opts.c
gcc/target-def.h

index aea406efa610e870ee6b973691ff15df4fa94a7a..8320b3ddf43e2c7910e892d1100b029185574b98 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * target-def.h (TARGET_OPTF): Delete.
+       * c-opts.c (TARGET_OPTF): Define.
+
 2004-03-04  Jan Hubicka  <jh@suse.cz>
 
        * cselib.c (cselib_finish): Fix another miss-application of my previous
index 6d9696a042c82c046d6121df3ba21c49ae02fa4a..4eecba91de5ce09b77d230eecc99998a40b1e3e1 100644 (file)
@@ -46,6 +46,10 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 # define TARGET_SYSTEM_ROOT NULL
 #endif
 
+#ifndef TARGET_OPTF
+#define TARGET_OPTF(ARG)
+#endif
+
 static int saved_lineno;
 
 /* CPP's options.  */
index 861e9ed07cb4ff9b1c627803921d58db262922cc..89af47e12ee3dfed2b7a304dc1c49309db42a193 100644 (file)
@@ -361,10 +361,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    TARGET_PRETEND_OUTGOING_VARARGS_NAMED,                      \
    }
 
-#ifndef TARGET_OPTF
-#define TARGET_OPTF hook_void_charptr
-#endif
-
 /* The whole shebang.  */
 #define TARGET_INITIALIZER                     \
 {                                              \