summaryrefslogtreecommitdiff
path: root/gcc/targhooks.c
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-06 00:48:47 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-06 00:48:47 +0000
commitb9fc964a00ea1c9cbcc1b6ac7ca39cbf550a77b7 (patch)
tree926625ccb9f896a1998fbb4c463fe5a2b9ccaf39 /gcc/targhooks.c
parentb3487c3a5d9f1742cb449bbc85c2134d6ffab5c0 (diff)
downloadgcc-b9fc964a00ea1c9cbcc1b6ac7ca39cbf550a77b7.tar.gz
* c-common.c (targetcm): Add.
* c-opts.c (c_common_handle_option): Handle language specific target options. * opts.c (handle_option): Verify language for target options, if any are given. * opth-gen.awk: Add CL_LANG_ALL. * target-def.h (TARGET_HANDLE_C_OPTION): Add. (TARGETCM_INITIALIZER): Add. * target.h (struct gcc_targetcm): Add. (targetcm): Add. * targhooks.c (default_handle_c_option): Add. * targhooks.h (default_handle_c_option): Add. * doc/tm.texi (TARGET_HANDLE_C_OPTION): Add. * config/darwin.opt (iframework): Add. * config/darwin.h (TARGET_HAS_TARGETCM): Add. * config/darwin-c.c (handle_c_option): Add. (TARGET_HANDLE_C_OPTION): Add. (targetcm): Add. * doc/invoke.texi (Darwin Options): Add -iframework. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122590 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/targhooks.c')
-rw-r--r--gcc/targhooks.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/targhooks.c b/gcc/targhooks.c
index 982fcdb188e..f1e4637c0bb 100644
--- a/gcc/targhooks.c
+++ b/gcc/targhooks.c
@@ -614,4 +614,12 @@ default_narrow_bitfield (void)
return !STRICT_ALIGNMENT;
}
+bool
+default_handle_c_option (size_t code ATTRIBUTE_UNUSED,
+ const char *arg ATTRIBUTE_UNUSED,
+ int value ATTRIBUTE_UNUSED)
+{
+ return false;
+}
+
#include "gt-targhooks.h"