xcoff.h (ASM_OUTPUT_ALIGNED_LOCAL): Append alignment to section name.
authorDavid Edelsohn <dje.gcc@gmail.com>
Fri, 5 Dec 2014 15:04:55 +0000 (15:04 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Fri, 5 Dec 2014 15:04:55 +0000 (10:04 -0500)
* config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_LOCAL): Append
alignment to section name. Increase default alignment to word.

From-SVN: r218424

gcc/ChangeLog
gcc/config/rs6000/xcoff.h

index c0ee60bf9b3f3394e2c9af55e3a5d5162673e92b..06f775da2e34a83f7ddf25dcb56c14404af23638 100644 (file)
@@ -1,3 +1,8 @@
+2014-12-05  David Edelsohn  <dje.gcc@gmail.com>
+
+       * config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_LOCAL): Append
+       alignment to section name. Increase default alignment to word.
+
 2014-12-05  Martin Jambor  <mjambor@suse.cz>
 
        * cgraph.h (cgraph_node): New method expand_all_artificial_thunks.
index 16c99de8e0674870930c75de94600a024572bc5c..03eb301057eea91044d2b104357888b5f8ae736d 100644 (file)
   do { fputs (LOCAL_COMMON_ASM_OP, (FILE));                    \
        RS6000_OUTPUT_BASENAME ((FILE), (NAME));                        \
        if ((ALIGN) > 32)                                       \
-        fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%s,%u\n",    \
+        fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%s%u_,%u\n", \
                  (SIZE), xcoff_bss_section_name,                       \
+                 floor_log2 ((ALIGN) / BITS_PER_UNIT),                 \
                  floor_log2 ((ALIGN) / BITS_PER_UNIT));                \
        else if ((SIZE) > 4)                                    \
-        fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%s,3\n",     \
+        fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%s3_,3\n",   \
                  (SIZE), xcoff_bss_section_name);              \
        else                                                    \
-        fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%s\n",       \
+        fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%s,2\n",     \
                  (SIZE), xcoff_bss_section_name);              \
      } while (0)
 #endif