aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-01-11 04:07:28 +0000
committerAlan Modra <amodra@gcc.gnu.org>2005-01-11 14:37:28 +1030
commitabb8b19a1ff526e0073beaa9d6def3bad6ec8019 (patch)
tree869b1a7d59b733f1fbeef831b6fe4ca534026d7a /gcc/varasm.c
parentb1eae416343b059b5be8adb2c8ff4aac8ebec7c4 (diff)
downloadgcc-abb8b19a1ff526e0073beaa9d6def3bad6ec8019.zip
gcc-abb8b19a1ff526e0073beaa9d6def3bad6ec8019.tar.gz
gcc-abb8b19a1ff526e0073beaa9d6def3bad6ec8019.tar.bz2
varasm.c (default_section_type_flags_1): Don't set SECTION_SMALL.
* varasm.c (default_section_type_flags_1): Don't set SECTION_SMALL. * config/ia64/ia64.c (TARGET_SECTION_TYPE_FLAGS): Define. (TARGET_RWRELOC): Define. (ia64_rwreloc_section_type_flags): Delete. (ia64_section_type_flags): New function. * config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): Don't define. (TARGET_RWRELOC): Define. From-SVN: r93175
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c18
1 files changed, 5 insertions, 13 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 086e9cc..ba0aab5 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -1,6 +1,7 @@
/* Output variables, constants and external declarations, for GNU compiler.
Copyright (C) 1987, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
- 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+ 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
+ Free Software Foundation, Inc.
This file is part of GCC.
@@ -4606,20 +4607,11 @@ default_section_type_flags_1 (tree decl, const char *name, int reloc,
if (strcmp (name, ".bss") == 0
|| strncmp (name, ".bss.", 5) == 0
- || strncmp (name, ".gnu.linkonce.b.", 16) == 0)
- flags |= SECTION_BSS;
-
- if (strcmp (name, ".sdata") == 0
- || strncmp (name, ".sdata.", 7) == 0
- || strncmp (name, ".gnu.linkonce.s.", 16) == 0
- || strncmp (name, ".sdata2.", 8) == 0
- || strncmp (name, ".gnu.linkonce.s2.", 17) == 0)
- flags |= SECTION_SMALL;
-
- if (strcmp (name, ".sbss") == 0
+ || strncmp (name, ".gnu.linkonce.b.", 16) == 0
+ || strcmp (name, ".sbss") == 0
|| strncmp (name, ".sbss.", 6) == 0
|| strncmp (name, ".gnu.linkonce.sb.", 17) == 0)
- flags |= SECTION_SMALL | SECTION_BSS;
+ flags |= SECTION_BSS;
if (strcmp (name, ".tdata") == 0
|| strncmp (name, ".tdata.", 7) == 0