aboutsummaryrefslogtreecommitdiff
path: root/gcc/target-def.h
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2007-03-06 00:48:47 +0000
committerMike Stump <mrs@gcc.gnu.org>2007-03-06 00:48:47 +0000
commit1f1d51306154bf6a354ff988868d3183022011c0 (patch)
tree926625ccb9f896a1998fbb4c463fe5a2b9ccaf39 /gcc/target-def.h
parent201141278667c89ad246224f65e70764e58e819f (diff)
downloadgcc-1f1d51306154bf6a354ff988868d3183022011c0.zip
gcc-1f1d51306154bf6a354ff988868d3183022011c0.tar.gz
gcc-1f1d51306154bf6a354ff988868d3183022011c0.tar.bz2
c-common.c (targetcm): Add.
* 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. From-SVN: r122590
Diffstat (limited to 'gcc/target-def.h')
-rw-r--r--gcc/target-def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/target-def.h b/gcc/target-def.h
index c9d5180..fb9af5a 100644
--- a/gcc/target-def.h
+++ b/gcc/target-def.h
@@ -730,5 +730,8 @@ Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
TARGET_ARM_EABI_UNWINDER \
}
+#define TARGET_HANDLE_C_OPTION default_handle_c_option
+#define TARGETCM_INITIALIZER { TARGET_HANDLE_C_OPTION }
+
#include "hooks.h"
#include "targhooks.h"