mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 22:11:30 +08:00
(MAKE_DECL_ONE_ONLY): Oops.
From-SVN: r12747
This commit is contained in:
parent
c486ed79fd
commit
29e29fd5e1
@ -651,17 +651,12 @@ do { \
|
||||
\
|
||||
name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)); \
|
||||
\
|
||||
if (DECL_ONE_ONLY (decl)) \
|
||||
{ \
|
||||
if (TREE_CODE (decl) == FUNCTION_DECL) \
|
||||
prefix = ".gnu.linkonce.t."; \
|
||||
else if (TREE_READONLY (decl)) \
|
||||
prefix = ".gnu.linkonce.r."; \
|
||||
else \
|
||||
prefix = ".gnu.linkonce.d."; \
|
||||
} \
|
||||
if (TREE_CODE (decl) == FUNCTION_DECL) \
|
||||
prefix = ".gnu.linkonce.t."; \
|
||||
else if (TREE_READONLY (decl)) \
|
||||
prefix = ".gnu.linkonce.r."; \
|
||||
else \
|
||||
prefix = ""; \
|
||||
prefix = ".gnu.linkonce.d."; \
|
||||
\
|
||||
len = strlen (name) + strlen (prefix); \
|
||||
string = alloca (len + 1); \
|
||||
|
Loading…
x
Reference in New Issue
Block a user