mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-08 20:17:14 +08:00
oops - omitted from previous delta fixing UNIQUE_SECTION
From-SVN: r31737
This commit is contained in:
parent
ee7f72e41f
commit
2cf072fc24
@ -59,23 +59,22 @@ Boston, MA 02111-1307, USA. */
|
||||
char *name; \
|
||||
char *string; \
|
||||
char *prefix; \
|
||||
static char *prefixes[4][2] = \
|
||||
static char *prefixes[/*4*/3][2] = \
|
||||
{ \
|
||||
{ ".text.", ".gnu.linkonce.t." }, \
|
||||
{ ".rodata.", ".gnu.linkonce.r." }, \
|
||||
{ ".data.", ".gnu.linkonce.d." }, \
|
||||
{ ".data.", ".gnu.linkonce.d." } \
|
||||
/* Do not generate unique sections for uninitialised \
|
||||
data since we do not have support for this in the \
|
||||
linker scripts yet... \
|
||||
{ ".bss.", ".gnu.linkonce.b." } */ \
|
||||
{ "", "" } \
|
||||
, { ".bss.", ".gnu.linkonce.b." } */ \
|
||||
}; \
|
||||
\
|
||||
if (TREE_CODE (DECL) == FUNCTION_DECL) \
|
||||
sec = 0; \
|
||||
else if (DECL_INITIAL (DECL) == 0 \
|
||||
/* else if (DECL_INITIAL (DECL) == 0 \
|
||||
|| DECL_INITIAL (DECL) == error_mark_node) \
|
||||
sec = 3; \
|
||||
sec = 3; */ \
|
||||
else if (DECL_READONLY_SECTION (DECL, RELOC)) \
|
||||
sec = 1; \
|
||||
else \
|
||||
|
Loading…
Reference in New Issue
Block a user