aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2010-04-26 16:39:24 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2010-04-26 16:39:24 +0000
commit736865e10237ad85569b75392391cb589850cb3d (patch)
treece129808069629ed636b8fdc4ccc6459f0b8df13 /gcc/varasm.c
parent06ec59e614f0649fa4537927881cca6567f5fe55 (diff)
downloadgcc-736865e10237ad85569b75392391cb589850cb3d.zip
gcc-736865e10237ad85569b75392391cb589850cb3d.tar.gz
gcc-736865e10237ad85569b75392391cb589850cb3d.tar.bz2
varasm.c (IN_NAMED_SECTION): Remove guard.
* varasm.c (IN_NAMED_SECTION): Remove guard. * config/arm/unknown-elf.h (IN_NAMED_SECTION): Rename to... (IN_NAMED_SECTION_P): ...this. (ASM_OUTPUT_ALIGNED_BSS): Adjust for above renaming. (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise. From-SVN: r158738
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 229a370..fc0eb8a 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -170,11 +170,9 @@ bool in_cold_section_p;
static GTY(()) section *unnamed_sections;
/* Return a nonzero value if DECL has a section attribute. */
-#ifndef IN_NAMED_SECTION
#define IN_NAMED_SECTION(DECL) \
((TREE_CODE (DECL) == FUNCTION_DECL || TREE_CODE (DECL) == VAR_DECL) \
&& DECL_SECTION_NAME (DECL) != NULL_TREE)
-#endif
/* Hash table of named sections. */
static GTY((param_is (section))) htab_t section_htab;