h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
* h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF. * m88k.c (m88k_svr3_asm_out_constructor, m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN && !OBJECT_FORMAT_ELF. * mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF. * sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF. * sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF. From-SVN: r47515
This commit is contained in:
parent
6ac7bf2c9e
commit
ede75ee868
6 changed files with 29 additions and 4 deletions
|
@ -1,3 +1,13 @@
|
|||
2001-12-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
|
||||
* m88k.c (m88k_svr3_asm_out_constructor,
|
||||
m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
|
||||
!OBJECT_FORMAT_ELF.
|
||||
* mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
|
||||
* sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
|
||||
* sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
|
||||
|
||||
2001-12-01 Geoff Keating <geoffk@redhat.com>
|
||||
|
||||
* config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex
|
||||
|
|
|
@ -59,7 +59,9 @@ static tree h8300_handle_eightbit_data_attribute PARAMS ((tree *, tree, tree, in
|
|||
static tree h8300_handle_tiny_data_attribute PARAMS ((tree *, tree, tree, int, bool *));
|
||||
static void h8300_output_function_prologue PARAMS ((FILE *, HOST_WIDE_INT));
|
||||
static void h8300_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT));
|
||||
#ifndef OBJECT_FORMAT_ELF
|
||||
static void h8300_asm_named_section PARAMS ((const char *, unsigned int));
|
||||
#endif
|
||||
|
||||
/* CPU_TYPE, says what cpu we're compiling for. */
|
||||
int cpu_type;
|
||||
|
@ -3473,6 +3475,7 @@ h8300_adjust_insn_length (insn, length)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#ifndef OBJECT_FORMAT_ELF
|
||||
static void
|
||||
h8300_asm_named_section (name, flags)
|
||||
const char *name;
|
||||
|
@ -3481,3 +3484,4 @@ h8300_asm_named_section (name, flags)
|
|||
/* ??? Perhaps we should be using default_coff_asm_named_section. */
|
||||
fprintf (asm_out_file, "\t.section %s\n", name);
|
||||
}
|
||||
#endif /* ! OBJECT_FORMAT_ELF */
|
||||
|
|
|
@ -68,7 +68,7 @@ static void m88k_output_function_prologue PARAMS ((FILE *, HOST_WIDE_INT));
|
|||
static void m88k_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT));
|
||||
static void m88k_output_function_end_prologue PARAMS ((FILE *));
|
||||
static void m88k_output_function_begin_epilogue PARAMS ((FILE *));
|
||||
#ifdef INIT_SECTION_ASM_OP
|
||||
#if defined (CTOR_LIST_BEGIN) && !defined (OBJECT_FORMAT_ELF)
|
||||
static void m88k_svr3_asm_out_constructor PARAMS ((rtx, int));
|
||||
static void m88k_svr3_asm_out_destructor PARAMS ((rtx, int));
|
||||
#endif
|
||||
|
@ -3292,7 +3292,7 @@ symbolic_operand (op, mode)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef INIT_SECTION_ASM_OP
|
||||
#if defined (CTOR_LIST_BEGIN) && !defined (OBJECT_FORMAT_ELF)
|
||||
static void
|
||||
m88k_svr3_asm_out_constructor (symbol, priority)
|
||||
rtx symbol;
|
||||
|
@ -3321,7 +3321,7 @@ m88k_svr3_asm_out_destructor (symbol, priority)
|
|||
for (i = 1; i < 4; i++)
|
||||
assemble_integer (constm1_rtx, UNITS_PER_WORD, BITS_PER_WORD, 1);
|
||||
}
|
||||
#endif
|
||||
#endif /* INIT_SECTION_ASM_OP && ! OBJECT_FORMAT_ELF */
|
||||
|
||||
/* Adjust the cost of INSN based on the relationship between INSN that
|
||||
is dependent on DEP_INSN through the dependence LINK. The default
|
||||
|
|
|
@ -133,8 +133,10 @@ static int mcore_dllexport_p PARAMS ((tree));
|
|||
static int mcore_dllimport_p PARAMS ((tree));
|
||||
const struct attribute_spec mcore_attribute_table[];
|
||||
static tree mcore_handle_naked_attribute PARAMS ((tree *, tree, tree, int, bool *));
|
||||
#ifdef OBJECT_FORMAT_ELF
|
||||
static void mcore_asm_named_section PARAMS ((const char *,
|
||||
unsigned int));
|
||||
#endif
|
||||
|
||||
/* Initialize the GCC target structure. */
|
||||
#ifdef TARGET_DLLIMPORT_DECL_ATTRIBUTES
|
||||
|
@ -3544,6 +3546,7 @@ mcore_naked_function_p ()
|
|||
return lookup_attribute ("naked", DECL_ATTRIBUTES (current_function_decl)) != NULL_TREE;
|
||||
}
|
||||
|
||||
#ifdef OBJECT_FORMAT_ELF
|
||||
static void
|
||||
mcore_asm_named_section (name, flags)
|
||||
const char *name;
|
||||
|
@ -3551,3 +3554,4 @@ mcore_asm_named_section (name, flags)
|
|||
{
|
||||
fprintf (asm_out_file, "\t.section %s\n", name);
|
||||
}
|
||||
#endif /* OBJECT_FORMAT_ELF */
|
||||
|
|
|
@ -161,7 +161,9 @@ static tree sh_handle_sp_switch_attribute PARAMS ((tree *, tree, tree, int, bool
|
|||
static tree sh_handle_trap_exit_attribute PARAMS ((tree *, tree, tree, int, bool *));
|
||||
static void sh_output_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT));
|
||||
static void sh_insert_attributes PARAMS ((tree, tree *));
|
||||
#ifndef OBJECT_FORMAT_ELF
|
||||
static void sh_asm_named_section PARAMS ((const char *, unsigned int));
|
||||
#endif
|
||||
static int sh_adjust_cost PARAMS ((rtx, rtx, rtx, int));
|
||||
|
||||
/* Initialize the GCC target structure. */
|
||||
|
@ -5631,6 +5633,7 @@ sh_can_redirect_branch (branch1, branch2)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#ifndef OBJECT_FORMAT_ELF
|
||||
static void
|
||||
sh_asm_named_section (name, flags)
|
||||
const char *name;
|
||||
|
@ -5639,6 +5642,7 @@ sh_asm_named_section (name, flags)
|
|||
/* ??? Perhaps we should be using default_coff_asm_named_section. */
|
||||
fprintf (asm_out_file, "\t.section %s\n", name);
|
||||
}
|
||||
#endif /* ! OBJECT_FORMAT_ELF */
|
||||
|
||||
/* A C statement (sans semicolon) to update the integer variable COST
|
||||
based on the relationship between INSN that is dependent on
|
||||
|
|
|
@ -167,8 +167,9 @@ static void sparc_nonflat_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT,
|
|||
int));
|
||||
static void sparc_nonflat_function_prologue PARAMS ((FILE *, HOST_WIDE_INT,
|
||||
int));
|
||||
#ifdef OBJECT_FORMAT_ELF
|
||||
static void sparc_elf_asm_named_section PARAMS ((const char *, unsigned int));
|
||||
|
||||
#endif
|
||||
static void ultrasparc_sched_reorder PARAMS ((FILE *, int, rtx *, int));
|
||||
static int ultrasparc_variable_issue PARAMS ((rtx));
|
||||
static void ultrasparc_sched_init PARAMS ((void));
|
||||
|
@ -8739,6 +8740,7 @@ sparc_add_gc_roots ()
|
|||
sizeof (ultra_pipe_hist[0]), &mark_ultrasparc_pipeline_state);
|
||||
}
|
||||
|
||||
#ifdef OBJECT_FORMAT_ELF
|
||||
static void
|
||||
sparc_elf_asm_named_section (name, flags)
|
||||
const char *name;
|
||||
|
@ -8765,3 +8767,4 @@ sparc_elf_asm_named_section (name, flags)
|
|||
|
||||
fputc ('\n', asm_out_file);
|
||||
}
|
||||
#endif /* OBJECT_FORMAT_ELF */
|
||||
|
|
Loading…
Add table
Reference in a new issue