diff options
author | Gunther Nikl <gnikl@justmail.de> | 2020-04-08 12:33:16 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-04-08 12:33:16 +0100 |
commit | 4c09b8c4e7fbe03e2b2b976399025fd846317527 (patch) | |
tree | def5ec229555de73ff3dc90bdc7e1f3b3e3e8b42 /gas | |
parent | 9ad4cfa8c35395322230bd7534611d85951645a3 (diff) | |
download | gdb-4c09b8c4e7fbe03e2b2b976399025fd846317527.zip gdb-4c09b8c4e7fbe03e2b2b976399025fd846317527.tar.gz gdb-4c09b8c4e7fbe03e2b2b976399025fd846317527.tar.bz2 |
[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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-microblaze.h | 15 |
2 files changed, 4 insertions, 15 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 2991823..d7293e1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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> diff --git a/gas/config/tc-microblaze.h b/gas/config/tc-microblaze.h index bc0ca37..01cb3e8 100644 --- a/gas/config/tc-microblaze.h +++ b/gas/config/tc-microblaze.h @@ -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 */ |