diff mc-code-powerpc.c @ 542:492f06738550

working... (struct init fix)
author kono
date Sun, 01 Jan 2006 18:49:07 +0900
parents a349f9c2aef5
children dbfd6e88e2c3
line wrap: on
line diff
--- a/mc-code-powerpc.c	Sun Jan 01 12:25:08 2006 +0900
+++ b/mc-code-powerpc.c	Sun Jan 01 18:49:07 2006 +0900
@@ -3053,7 +3053,8 @@
 	cstring_mode();
     } else 
 	data_mode(n->nm);
-    printf("\t.globl\t_%s\n",n->nm);
+    if (n && n->sc!=STATIC)
+	printf("\t.globl\t_%s\n",n->nm);
     printf("_%s:\n",n->nm);
 }