diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 91cbc781dfa984c2242e59b158b73878c5a5deb3..3540c57b98d4585c96f4bab1e2cfe0b0d0c4b9ee 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -6,6 +6,9 @@
 
 2003-07-17  Zack Weinberg  <zack@codesourcery.com>
 
+	* objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to
+	c_write_global_declarations.
+
 	* c-decl.c: Fix typos in several comments.  Remove all
 	#if 0 blocks; reindent as needed.  Remove unused argument
 	to declare_parm_level; all callers changed.
diff --git a/gcc/objc/objc-lang.c b/gcc/objc/objc-lang.c
index 19a1bacae4c185e5efb69a2ea4eb41e3c0d0d034..08825dd4203ebb0584a6df47b1378ecfd653366d 100644
--- a/gcc/objc/objc-lang.c
+++ b/gcc/objc/objc-lang.c
@@ -125,6 +125,9 @@ enum c_language_kind c_language = clk_objc;
 #undef LANG_HOOKS_TYPE_PROMOTES_TO
 #define LANG_HOOKS_TYPE_PROMOTES_TO c_type_promotes_to
 
+#undef LANG_HOOKS_WRITE_GLOBALS
+#define LANG_HOOKS_WRITE_GLOBALS c_write_global_declarations
+
 /* Each front end provides its own hooks, for toplev.c.  */
 const struct lang_hooks lang_hooks = LANG_HOOKS_INITIALIZER;