projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a406d2
)
(ASM_GLOBALIZE_LABEL): Give function symbols CODE type,
author
Timothy Moore
<moore@gnu.org>
Tue, 27 Oct 1992 18:46:10 +0000
(18:46 +0000)
committer
Timothy 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
patch
|
blob
|
history
diff --git
a/gcc/config/pa/pa.h
b/gcc/config/pa/pa.h
index
d6248ef
..
0b0fbc3
100644
(file)
--- 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. */