diff options
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index ef9e872..ad0ef70 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -1395,16 +1395,9 @@ asm_emit_uninitialised (decl, name, size, rounded) destination = asm_dest_common; } - switch (destination) - { - case asm_dest_common: - if (! DECL_WEAK (decl)) - break; - case asm_dest_bss: - globalize_decl (decl); - default: - break; - } + if (destination == asm_dest_bss) + globalize_decl (decl); + resolve_unique_section (decl, 0); if (flag_shared_data) { @@ -1430,8 +1423,6 @@ asm_emit_uninitialised (decl, name, size, rounded) } } - resolve_unique_section (decl, 0); - switch (destination) { #ifdef ASM_EMIT_BSS |