summaryrefslogtreecommitdiffstats
path: root/gcc/c-family
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-family')
-rw-r--r--gcc/c-family/ChangeLog5
-rw-r--r--gcc/c-family/c-target.def16
2 files changed, 20 insertions, 1 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 15e8f386a1f..14021ebaa2a 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,5 +1,10 @@
2012-06-19 Steven Bosscher <steven@gcc.gnu.org>
+ * c-target.def (objc_declare_unresolved_class_reference,
+ objc_declare_class_definition): Add new hooks.
+
+2012-06-19 Steven Bosscher <steven@gcc.gnu.org>
+
* c-lex.c: Do not include output.h.
(cb_ident): Try to put out .ident with targetm.asm_out.output_ident.
Remove uses of ASM_OUTPUT_IDENT.
diff --git a/gcc/c-family/c-target.def b/gcc/c-family/c-target.def
index 356fe26680a..c5ebdf14ac4 100644
--- a/gcc/c-family/c-target.def
+++ b/gcc/c-family/c-target.def
@@ -59,7 +59,21 @@ DEFHOOK
common-format string object when the target provides one.",
tree, (tree string),
NULL)
-
+
+DEFHOOK
+(objc_declare_unresolved_class_reference,
+ "Declare that Objective C class @var{classname} is referenced\
+ by the current TU.",
+ void, (const char *classname),
+ NULL)
+
+DEFHOOK
+(objc_declare_class_definition,
+ "Declare that Objective C class @var{classname} is defined\
+ by the current TU.",
+ void, (const char *classname),
+ NULL)
+
DEFHOOK
(string_object_ref_type_p,
"If a target implements string objects then this hook should return\
OpenPOWER on IntegriCloud