[PATCH 1/4]: microblaze: remove duplicate prototypes

The microblaze target header duplicates prototypes already provided by tc.h.

	* config/tc-microblaze.h (md_begin, md_assemble, md_undefined_symbol,
	md_show_usage, md_convert_frag, md_operand, md_number_to_chars,
	md_estimate_size_before_relax, md_section_align, tc_gen_reloc,
	md_apply_fix3): Delete prototypes.
This commit is contained in:
Gunther Nikl 2020-04-08 12:33:16 +01:00 committed by Nick Clifton
parent 9ad4cfa8c3
commit 4c09b8c4e7
2 changed files with 4 additions and 15 deletions

View File

@ -38,6 +38,10 @@
* config/tc-sh.h (md_pcrel_from_section): Likewise.
* config/tc-xc16x.h (md_pcrel_from_section): Likewise.
* config/tc-xstormy16.h (md_pcrel_from_section): Likewise.
* config/tc-microblaze.h (md_begin, md_assemble, md_undefined_symbol,
md_show_usage, md_convert_frag, md_operand, md_number_to_chars,
md_estimate_size_before_relax, md_section_align, tc_gen_reloc,
md_apply_fix3): Delete prototypes.
2020-04-07 H.J. Lu <hongjiu.lu@intel.com>

View File

@ -94,24 +94,9 @@ extern const struct relax_type md_relax_table[];
# error No target format specified.
#endif
#include "write.h" /* For definition of fixS. */
extern void md_begin (void);
extern void md_assemble (char *);
extern symbolS * md_undefined_symbol (char *);
extern void md_show_usage (FILE *);
extern void md_convert_frag (bfd *, segT, fragS *);
extern void md_operand (expressionS *);
extern int md_estimate_size_before_relax (fragS *, segT);
extern void md_number_to_chars (char *, valueT, int);
extern valueT md_section_align (segT, valueT);
extern long md_pcrel_from_section (fixS *, segT);
extern arelent * tc_gen_reloc (asection *, fixS *);
extern void cons_fix_new_microblaze (fragS *, int, int,
expressionS *,
bfd_reloc_code_real_type);
extern void md_apply_fix3 (fixS *, valueT *, segT);
#define EXTERN_FORCE_RELOC -1
#endif /* TC_MICROBLAZE */