(handle_class_ref): Call assemble_external.
authorRichard Stallman <rms@gnu.org>
Thu, 4 Mar 1993 21:20:14 +0000 (21:20 +0000)
committerRichard Stallman <rms@gnu.org>
Thu, 4 Mar 1993 21:20:14 +0000 (21:20 +0000)
From-SVN: r3649

gcc/objc/objc-act.c

index 6429dfc4c77e307ece153e63a260e252afe00496..8ba9f555373f6527491fb7f431d8beb79ac58ddc 100644 (file)
@@ -5116,6 +5116,9 @@ handle_class_ref (chain)
   /* Make following constant read-only (why not)?  */
   text_section ();
 
+  /* Inform the assembler about this new external thing.  */
+  assemble_external (decl);
+
   /* Output a constant to reference this address.  */
   output_constant (build1 (ADDR_EXPR, string_type_node, decl),
                   int_size_in_bytes (string_type_node));