diff options
Diffstat (limited to 'gcc/config/arm/unknown-elf.h')
-rw-r--r-- | gcc/config/arm/unknown-elf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/arm/unknown-elf.h b/gcc/config/arm/unknown-elf.h index 397ac3f..42b97ce 100644 --- a/gcc/config/arm/unknown-elf.h +++ b/gcc/config/arm/unknown-elf.h @@ -51,7 +51,7 @@ /* Return a nonzero value if DECL has a section attribute. */ #define IN_NAMED_SECTION_P(DECL) \ - ((TREE_CODE (DECL) == FUNCTION_DECL || TREE_CODE (DECL) == VAR_DECL) \ + ((TREE_CODE (DECL) == FUNCTION_DECL || VAR_P (DECL)) \ && DECL_SECTION_NAME (DECL) != NULL) #undef ASM_OUTPUT_ALIGNED_BSS |