(ASM_GLOBALIZE_LABEL): Give function symbols CODE type,
authorTimothy Moore <moore@gnu.org>
Tue, 27 Oct 1992 18:46:10 +0000 (18:46 +0000)
committerTimothy Moore <moore@gnu.org>
Tue, 27 Oct 1992 18:46:10 +0000 (18:46 +0000)
        others DATA type..

From-SVN: r2621

gcc/config/pa/pa.h

index d6248ef..0b0fbc3 100644 (file)
@@ -1554,7 +1554,10 @@ bss_section ()                                                           \
 
 #define ASM_GLOBALIZE_LABEL(FILE, NAME)                                        \
   do { fputs ("\t.EXPORT ", FILE); assemble_name (FILE, NAME);         \
-       fputs ("\n", FILE);} while (0)
+       if (FUNCTION_NAME_P (NAME))                                     \
+        fputs (",CODE\n", FILE);                                       \
+       else                                                            \
+        fputs (",DATA\n", FILE);} while (0)
 
 /* This is how to output a reference to a user-level label named NAME.
    `assemble_name' uses this.  */