diff options
author | Richard Stallman <rms@gnu.org> | 1992-10-22 12:30:09 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-10-22 12:30:09 +0000 |
commit | c50dca44430f0e8ec189aa9a25b95d7229c334ac (patch) | |
tree | 4f4b27ab06412fcea2e48c5142bc21a650e26b4a | |
parent | 875c5a311a5d97da6163e9a2140f780fb20f18a3 (diff) | |
download | gcc-c50dca44430f0e8ec189aa9a25b95d7229c334ac.zip gcc-c50dca44430f0e8ec189aa9a25b95d7229c334ac.tar.gz gcc-c50dca44430f0e8ec189aa9a25b95d7229c334ac.tar.bz2 |
(handle_impent, handle_class_ref): Use __
to start the generated names, not period.
From-SVN: r2554
-rw-r--r-- | gcc/objc/objc-act.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 554bfd7..982f6e4 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -5066,7 +5066,7 @@ handle_class_ref (chain) char *string = (char *) alloca (strlen (IDENTIFIER_POINTER (TREE_VALUE (chain))) + 30); - sprintf (string, ".objc_class_name_%s", + sprintf (string, "__objc_class_name_%s", IDENTIFIER_POINTER (TREE_VALUE (chain))); /* Make a decl for this name, so we can use its address in a tree. */ @@ -5096,7 +5096,7 @@ handle_impent (impent) char *string = (char *) alloca (strlen (IDENTIFIER_POINTER (CLASS_NAME (impent->imp_context))) + 30); - sprintf (string, ".objc_class_name_%s", + sprintf (string, "__objc_class_name_%s", IDENTIFIER_POINTER (CLASS_NAME (impent->imp_context))); assemble_global (string); assemble_label (string); @@ -5111,7 +5111,7 @@ handle_impent (impent) /* Do the same for categories. Even though no references to these symbols are generated automatically by the compiler, it gives you a handle to pull them into an archive by hand. */ - sprintf (string, ".objc_category_name_%s_%s", + sprintf (string, "__objc_category_name_%s_%s", IDENTIFIER_POINTER (CLASS_NAME (impent->imp_context)), IDENTIFIER_POINTER (CLASS_SUPER_NAME (impent->imp_context))); assemble_global (string); |