alpha.h (ASM_OUTPUT_ALIGN): Move to config/alpha/elf.h
authorUros Bizjak <uros@gcc.gnu.org>
Thu, 22 Mar 2012 16:11:28 +0000 (17:11 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 22 Mar 2012 16:11:28 +0000 (17:11 +0100)
* config/alpha/alpha.h (ASM_OUTPUT_ALIGN): Move to config/alpha/elf.h
(ASM_OUTPUT_SKIP): Move to config/alpha/vms.h
(ASM_OUTPUT_LOCAL): Ditto.
(ASM_OUTPUT_COMMON): Remove.
* config/alpha/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Use ASM_OUTPUT_DEF.
* config/alpha/vms.h (ASM_OUTPUT_ALIGN): Do not undefine before define.

From-SVN: r185700

gcc/ChangeLog
gcc/config/alpha/alpha.h
gcc/config/alpha/elf.h
gcc/config/alpha/vms.h

index a3e966fa5ea29a450c9cc1cbf0816ef05b6d569f..3dde73b693591f2f3f1a8068648dcf1b41e39283 100644 (file)
@@ -1,11 +1,20 @@
+2012-03-22  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/alpha/alpha.h (ASM_OUTPUT_ALIGN): Move to config/alpha/elf.h
+       (ASM_OUTPUT_SKIP): Move to config/alpha/vms.h
+       (ASM_OUTPUT_LOCAL): Ditto.
+       (ASM_OUTPUT_COMMON): Remove.
+       * config/alpha/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Use ASM_OUTPUT_DEF.
+       * config/alpha/vms.h (ASM_OUTPUT_ALIGN): Do not undefine before define.
+
 2012-03-22  Jan Hubicka  <jh@suse.cz>
 
        PR middle-end/51737
        * cgraph.c (cgraph_remove_node_and_inline_clones): Add FORBIDDEN_NODE
        parameter.
        * cgraph.h (cgraph_remove_node_and_inline_clones): Update prototype.
-       * ipa-inline-transform.c (save_inline_function_body): Remove copied clone
-       if needed.
+       * ipa-inline-transform.c (save_inline_function_body): Remove
+       copied clone if needed.
        * tree-inline.c (delete_unreachable_blocks_update_callgraph): Update.
 
 2012-03-22  Richard Guenther  <rguenther@suse.de>
@@ -33,9 +42,8 @@
        (prune_clobbered_mems): New function.
        (compute_antic_aux): Use it to prune ANTIC_OUT.
        (compute_partial_antic_aux): Use it to prune PA_IN.
-       (compute_avail): Only insert expressions into EXP_GEN that
-       are not invalidated when translated up to the beginning of
-       the block.
+       (compute_avail): Only insert expressions into EXP_GEN that are not
+       invalidated when translated up to the beginning of the block.
 
 2012-03-22  Richard Guenther  <rguenther@suse.de>
 
index dc7f22233dcd0d62e9e7fd6f40b31246e552b410..194e9a257e5dbf8541012c38d6723c837db0651a 100644 (file)
@@ -1036,36 +1036,6 @@ do {                                             \
 
 #define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, BODY, VALUE, REL) \
   fprintf (FILE, "\t.gprel32 $L%d\n", (VALUE))
-
-/* This is how to output an assembler line
-   that says to advance the location counter
-   to a multiple of 2**LOG bytes.  */
-
-#define ASM_OUTPUT_ALIGN(FILE,LOG)     \
-  if ((LOG) != 0)                      \
-    fprintf (FILE, "\t.align %d\n", LOG);
-
-/* This is how to advance the location counter by SIZE bytes.  */
-
-#undef ASM_OUTPUT_SKIP
-#define ASM_OUTPUT_SKIP(FILE,SIZE)  \
-  fprintf (FILE, "\t.space "HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE))
-
-/* This says how to output an assembler line
-   to define a global common symbol.  */
-
-#define ASM_OUTPUT_COMMON(FILE, NAME, SIZE, ROUNDED)  \
-( fputs ("\t.comm ", (FILE)),                  \
-  assemble_name ((FILE), (NAME)),              \
-  fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE)))
-
-/* This says how to output an assembler line
-   to define a local common symbol.  */
-
-#define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE,ROUNDED)     \
-( fputs ("\t.lcomm ", (FILE)),                         \
-  assemble_name ((FILE), (NAME)),                      \
-  fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE)))
 \f
 
 /* Print operand X (an rtx) in assembler syntax to file FILE.
index 29fdeabbb42f8c4d4b6c95675b0b8c08b414db0c..70be527f79a71eb0ad816d1f097148d9d27b8004 100644 (file)
@@ -27,9 +27,17 @@ along with GCC; see the file COPYING3.  If not see
 
 /* Do not output a .file directive at the beginning of the input file.  */
  
-#undef TARGET_ASM_FILE_START_FILE_DIRECTIVE
+#undef  TARGET_ASM_FILE_START_FILE_DIRECTIVE
 #define TARGET_ASM_FILE_START_FILE_DIRECTIVE false
 
+/* This is how to output an assembler line
+   that says to advance the location counter
+   to a multiple of 2**LOG bytes.  */
+
+#define ASM_OUTPUT_ALIGN(FILE,LOG)             \
+  if ((LOG) != 0)                              \
+    fprintf (FILE, "\t.align %d\n", LOG);
+
 /* This says how to output assembler code to declare an
    uninitialized internal linkage data object.  Under SVR4,
    the linker seems to want the alignment of data objects
@@ -105,10 +113,7 @@ do {                                                                       \
        assemble_name (FILE, name);                             \
        fputs ("..ng\n", FILE);                                 \
       }                                                                \
-    assemble_name(FILE, alias);                                        \
-    fputs(" = ", FILE);                                                \
-    assemble_name(FILE, name);                                 \
-    fputc('\n', FILE);                                         \
+    ASM_OUTPUT_DEF (FILE, alias, name);                                \
   } while (0)
 
 /* Provide a STARTFILE_SPEC appropriate for ELF.  Here we add the
index 7b4dd30fafd440c6e1d13353c514791107714d63..b1d46b5e979f2259fb82c58ebe5ac8000a4b1796 100644 (file)
@@ -217,10 +217,22 @@ typedef struct {int num_args; enum avms_arg_type atypes[6];} avms_arg_info;
    that says to advance the location counter
    to a multiple of 2**LOG bytes.  */
 
-#undef ASM_OUTPUT_ALIGN
 #define ASM_OUTPUT_ALIGN(FILE,LOG)     \
     fprintf (FILE, "\t.align %d\n", LOG);
 
+/* This is how to advance the location counter by SIZE bytes.  */
+
+#define ASM_OUTPUT_SKIP(FILE,SIZE)  \
+  fprintf (FILE, "\t.space "HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE))
+
+/* This says how to output an assembler line
+   to define a global common symbol.  */
+
+#define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE,ROUNDED)     \
+( fputs ("\t.lcomm ", (FILE)),                         \
+  assemble_name ((FILE), (NAME)),                      \
+  fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED"\n", (SIZE)))
+
 /* Switch into a generic section.  */
 #define TARGET_ASM_NAMED_SECTION vms_asm_named_section