Commit 20634be2 by Timothy Moore

(ASM_GLOBALIZE_LABEL): Give function symbols CODE type,

        others DATA type..

From-SVN: r2621
parent 2a406d2a
...@@ -1554,7 +1554,10 @@ bss_section () \ ...@@ -1554,7 +1554,10 @@ bss_section () \
#define ASM_GLOBALIZE_LABEL(FILE, NAME) \ #define ASM_GLOBALIZE_LABEL(FILE, NAME) \
do { fputs ("\t.EXPORT ", FILE); assemble_name (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. /* This is how to output a reference to a user-level label named NAME.
`assemble_name' uses this. */ `assemble_name' uses this. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment