stormy16.c (xstormy16_encode_section_info): Kill.
* config/stormy16/stormy16.c (xstormy16_encode_section_info): Kill. * config/stormy16/stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use SYMBOL_REF_FUNCTION_P. From-SVN: r65737
This commit is contained in:
parent
72628c61b8
commit
e7d687bba6
|
@ -1,3 +1,9 @@
|
||||||
|
2003-04-17 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* config/stormy16/stormy16.c (xstormy16_encode_section_info): Kill.
|
||||||
|
* config/stormy16/stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use
|
||||||
|
SYMBOL_REF_FUNCTION_P.
|
||||||
|
|
||||||
2003-04-17 Richard Henderson <rth@redhat.com>
|
2003-04-17 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* config/sparc/sparc.c (sparc_encode_section_info): Remove.
|
* config/sparc/sparc.c (sparc_encode_section_info): Remove.
|
||||||
|
|
|
@ -51,7 +51,6 @@ Boston, MA 02111-1307, USA. */
|
||||||
static rtx emit_addhi3_postreload PARAMS ((rtx, rtx, rtx));
|
static rtx emit_addhi3_postreload PARAMS ((rtx, rtx, rtx));
|
||||||
static void xstormy16_asm_out_constructor PARAMS ((rtx, int));
|
static void xstormy16_asm_out_constructor PARAMS ((rtx, int));
|
||||||
static void xstormy16_asm_out_destructor PARAMS ((rtx, int));
|
static void xstormy16_asm_out_destructor PARAMS ((rtx, int));
|
||||||
static void xstormy16_encode_section_info PARAMS ((tree, int));
|
|
||||||
static void xstormy16_asm_output_mi_thunk PARAMS ((FILE *, tree, HOST_WIDE_INT,
|
static void xstormy16_asm_output_mi_thunk PARAMS ((FILE *, tree, HOST_WIDE_INT,
|
||||||
HOST_WIDE_INT, tree));
|
HOST_WIDE_INT, tree));
|
||||||
|
|
||||||
|
@ -1530,17 +1529,6 @@ xstormy16_asm_output_mi_thunk (file, thunk_fndecl, delta,
|
||||||
putc ('\n', file);
|
putc ('\n', file);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Mark functions with SYMBOL_REF_FLAG. */
|
|
||||||
|
|
||||||
static void
|
|
||||||
xstormy16_encode_section_info (decl, first)
|
|
||||||
tree decl;
|
|
||||||
int first ATTRIBUTE_UNUSED;
|
|
||||||
{
|
|
||||||
if (TREE_CODE (decl) == FUNCTION_DECL)
|
|
||||||
SYMBOL_REF_FLAG (XEXP (DECL_RTL (decl), 0)) = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Output constructors and destructors. Just like
|
/* Output constructors and destructors. Just like
|
||||||
default_named_section_asm_out_* but don't set the sections writable. */
|
default_named_section_asm_out_* but don't set the sections writable. */
|
||||||
#undef TARGET_ASM_CONSTRUCTOR
|
#undef TARGET_ASM_CONSTRUCTOR
|
||||||
|
@ -2284,8 +2272,6 @@ xstormy16_expand_builtin(exp, target, subtarget, mode, ignore)
|
||||||
#define TARGET_ASM_ALIGNED_HI_OP "\t.hword\t"
|
#define TARGET_ASM_ALIGNED_HI_OP "\t.hword\t"
|
||||||
#undef TARGET_ASM_ALIGNED_SI_OP
|
#undef TARGET_ASM_ALIGNED_SI_OP
|
||||||
#define TARGET_ASM_ALIGNED_SI_OP "\t.word\t"
|
#define TARGET_ASM_ALIGNED_SI_OP "\t.word\t"
|
||||||
#undef TARGET_ENCODE_SECTION_INFO
|
|
||||||
#define TARGET_ENCODE_SECTION_INFO xstormy16_encode_section_info
|
|
||||||
|
|
||||||
#undef TARGET_ASM_OUTPUT_MI_THUNK
|
#undef TARGET_ASM_OUTPUT_MI_THUNK
|
||||||
#define TARGET_ASM_OUTPUT_MI_THUNK xstormy16_asm_output_mi_thunk
|
#define TARGET_ASM_OUTPUT_MI_THUNK xstormy16_asm_output_mi_thunk
|
||||||
|
|
|
@ -2664,7 +2664,7 @@ do { \
|
||||||
definition of a symbol named SYMBOL. */
|
definition of a symbol named SYMBOL. */
|
||||||
#define ASM_OUTPUT_SYMBOL_REF(STREAM, SYMBOL) \
|
#define ASM_OUTPUT_SYMBOL_REF(STREAM, SYMBOL) \
|
||||||
do { \
|
do { \
|
||||||
if (SYMBOL_REF_FLAG (SYMBOL)) \
|
if (SYMBOL_REF_FUNCTION_P (SYMBOL)) \
|
||||||
ASM_OUTPUT_LABEL_REF ((STREAM), XSTR (SYMBOL, 0)); \
|
ASM_OUTPUT_LABEL_REF ((STREAM), XSTR (SYMBOL, 0)); \
|
||||||
else \
|
else \
|
||||||
assemble_name (STREAM, XSTR (SYMBOL, 0)); \
|
assemble_name (STREAM, XSTR (SYMBOL, 0)); \
|
||||||
|
|
Loading…
Reference in New Issue