Commit b31a2c5a by Uros Bizjak

alpha.h (ASM_OUTPUT_ALIGN): Move to config/alpha/elf.h

	* 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
parent 159bde98
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> 2012-03-22 Jan Hubicka <jh@suse.cz>
PR middle-end/51737 PR middle-end/51737
* cgraph.c (cgraph_remove_node_and_inline_clones): Add FORBIDDEN_NODE * cgraph.c (cgraph_remove_node_and_inline_clones): Add FORBIDDEN_NODE
parameter. parameter.
* cgraph.h (cgraph_remove_node_and_inline_clones): Update prototype. * cgraph.h (cgraph_remove_node_and_inline_clones): Update prototype.
* ipa-inline-transform.c (save_inline_function_body): Remove copied clone * ipa-inline-transform.c (save_inline_function_body): Remove
if needed. copied clone if needed.
* tree-inline.c (delete_unreachable_blocks_update_callgraph): Update. * tree-inline.c (delete_unreachable_blocks_update_callgraph): Update.
2012-03-22 Richard Guenther <rguenther@suse.de> 2012-03-22 Richard Guenther <rguenther@suse.de>
...@@ -33,9 +42,8 @@ ...@@ -33,9 +42,8 @@
(prune_clobbered_mems): New function. (prune_clobbered_mems): New function.
(compute_antic_aux): Use it to prune ANTIC_OUT. (compute_antic_aux): Use it to prune ANTIC_OUT.
(compute_partial_antic_aux): Use it to prune PA_IN. (compute_partial_antic_aux): Use it to prune PA_IN.
(compute_avail): Only insert expressions into EXP_GEN that (compute_avail): Only insert expressions into EXP_GEN that are not
are not invalidated when translated up to the beginning of invalidated when translated up to the beginning of the block.
the block.
2012-03-22 Richard Guenther <rguenther@suse.de> 2012-03-22 Richard Guenther <rguenther@suse.de>
......
...@@ -1037,36 +1037,6 @@ do { \ ...@@ -1037,36 +1037,6 @@ do { \
#define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, BODY, VALUE, REL) \ #define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, BODY, VALUE, REL) \
fprintf (FILE, "\t.gprel32 $L%d\n", (VALUE)) 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)))
/* Print operand X (an rtx) in assembler syntax to file FILE. /* Print operand X (an rtx) in assembler syntax to file FILE.
CODE is a letter or dot (`z' in `%z0') or 0 if no letter was specified. CODE is a letter or dot (`z' in `%z0') or 0 if no letter was specified.
......
...@@ -30,6 +30,14 @@ along with GCC; see the file COPYING3. If not see ...@@ -30,6 +30,14 @@ along with GCC; see the file COPYING3. If not see
#undef TARGET_ASM_FILE_START_FILE_DIRECTIVE #undef TARGET_ASM_FILE_START_FILE_DIRECTIVE
#define TARGET_ASM_FILE_START_FILE_DIRECTIVE false #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 /* This says how to output assembler code to declare an
uninitialized internal linkage data object. Under SVR4, uninitialized internal linkage data object. Under SVR4,
the linker seems to want the alignment of data objects the linker seems to want the alignment of data objects
...@@ -105,10 +113,7 @@ do { \ ...@@ -105,10 +113,7 @@ do { \
assemble_name (FILE, name); \ assemble_name (FILE, name); \
fputs ("..ng\n", FILE); \ fputs ("..ng\n", FILE); \
} \ } \
assemble_name(FILE, alias); \ ASM_OUTPUT_DEF (FILE, alias, name); \
fputs(" = ", FILE); \
assemble_name(FILE, name); \
fputc('\n', FILE); \
} while (0) } while (0)
/* Provide a STARTFILE_SPEC appropriate for ELF. Here we add the /* Provide a STARTFILE_SPEC appropriate for ELF. Here we add the
......
...@@ -217,10 +217,22 @@ typedef struct {int num_args; enum avms_arg_type atypes[6];} avms_arg_info; ...@@ -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 that says to advance the location counter
to a multiple of 2**LOG bytes. */ to a multiple of 2**LOG bytes. */
#undef ASM_OUTPUT_ALIGN
#define ASM_OUTPUT_ALIGN(FILE,LOG) \ #define ASM_OUTPUT_ALIGN(FILE,LOG) \
fprintf (FILE, "\t.align %d\n", 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. */ /* Switch into a generic section. */
#define TARGET_ASM_NAMED_SECTION vms_asm_named_section #define TARGET_ASM_NAMED_SECTION vms_asm_named_section
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment