diff options
author | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-11 04:07:28 +0000 |
---|---|---|
committer | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-11 04:07:28 +0000 |
commit | 64717bc586320bd9d267b2c8bc8a32b991e0dd34 (patch) | |
tree | 869b1a7d59b733f1fbeef831b6fe4ca534026d7a /gcc/varasm.c | |
parent | b3d2af3f2862f4735f9f6b283e6c43db1c8283e9 (diff) | |
download | gcc-64717bc586320bd9d267b2c8bc8a32b991e0dd34.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93175 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 086e9cc001b..ba0aab553ed 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 |