OSDN Git Service

* varasm.c (IN_NAMED_SECTION): Remove guard.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Apr 2010 16:39:24 +0000 (16:39 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 04:49:46 +0000 (13:49 +0900)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158738 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/varasm.c

index 7d15bf0..4e960b6 100644 (file)
@@ -1,5 +1,13 @@
 2010-04-26  Eric Botcazou  <ebotcazou@adacore.com>
 
+       * 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.
+
+2010-04-26  Eric Botcazou  <ebotcazou@adacore.com>
+
        * gimplify.c (gimplify_cond_expr): Use THEN_ and ELSE_ local variables.
        Use VOID_TYPE_P for all void type tests.  Adjust TYPE variable instead
        of shadowing it.  Fix comments.
index 229a370..fc0eb8a 100644 (file)
@@ -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;