diff options
author | Timothy Moore <moore@gnu.org> | 1992-10-27 18:46:10 +0000 |
---|---|---|
committer | Timothy Moore <moore@gnu.org> | 1992-10-27 18:46:10 +0000 |
commit | 20634be20c33a849fc73b295e870960b5cc89b83 (patch) | |
tree | 38bedcce2d6a28a106621aa27e9dc1c013884722 | |
parent | 2a406d2ae31d549bf9339a8c425c653db72e1c80 (diff) | |
download | gcc-20634be20c33a849fc73b295e870960b5cc89b83.zip gcc-20634be20c33a849fc73b295e870960b5cc89b83.tar.gz gcc-20634be20c33a849fc73b295e870960b5cc89b83.tar.bz2 |
(ASM_GLOBALIZE_LABEL): Give function symbols CODE type,
others DATA type..
From-SVN: r2621
-rw-r--r-- | gcc/config/pa/pa.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index d6248ef..0b0fbc3 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -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. */ |