/* This file is tc-mcore.h
- Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+ Copyright 1999, 2000, 2001, 2002, 2003
+ Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
#define LOCAL_LABELS_FB 1
#define TC_COFF_SIZEMACHDEP(frag) tc_coff_sizemachdep (frag)
+int tc_coff_sizemachdep PARAMS ((struct frag *));
extern const struct relax_type md_relax_table[];
#define TC_GENERIC_RELAX_TABLE md_relax_table
# if defined TE_PE
# define TC_FORCE_RELOCATION(x) \
- ((x)->fx_r_type == BFD_RELOC_RVA || S_FORCE_RELOC ((x)->fx_addsy))
+ ((x)->fx_r_type == BFD_RELOC_RVA || generic_force_reloc (x))
# endif
#endif /* OBJ_COFF */
#define TARGET_FORMAT (target_big_endian ? "elf32-mcore-big" : "elf32-mcore-little")
-#define ELF_TC_SPECIAL_SECTIONS \
- { ".ctors", SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, \
- { ".dtors", SHT_PROGBITS, SHF_ALLOC + SHF_WRITE }, \
-/* Other special sections not generated by the assembler: .reginfo,
- .liblist, .conflict, .gptab, .got, .dynamic, .rel.dyn. */
-
/* No shared lib support, so we don't need to ensure externally
visible symbols can be overridden. */
#define EXTERN_FORCE_RELOC 0
#include "write.h" /* For definition of fixS */
-extern void md_begin PARAMS ((void));
-extern void md_assemble PARAMS ((char *));
-extern symbolS * md_undefined_symbol PARAMS ((char *));
extern void md_mcore_end PARAMS ((void));
-extern char * md_atof PARAMS ((int, char *, int *));
-extern int md_parse_option PARAMS ((int, char *));
-extern void md_show_usage PARAMS ((FILE *));
-extern void md_create_short_jump
- PARAMS ((char *, addressT, addressT, fragS *, symbolS *));
-extern void md_create_long_jump
- PARAMS ((char *, addressT, addressT, fragS *, symbolS *));
-extern void md_convert_frag PARAMS ((bfd *, segT, fragS *));
-extern void md_operand PARAMS ((expressionS *));
-extern int md_estimate_size_before_relax PARAMS ((fragS *, segT));
-extern void md_number_to_chars PARAMS ((char *, valueT, int));
-extern valueT md_section_align PARAMS ((segT, valueT));
extern long md_pcrel_from_section PARAMS ((fixS *, segT));
extern arelent * tc_gen_reloc PARAMS ((asection *, fixS *));