X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gas%2Fconfig%2Ftc-microblaze.h;h=01cb3e894f7b62a5532333589db0b039ea7a62de;hb=66ef5847c3a5ec17259f47f6ab52ebd470c0650c;hp=c0e2d972e0ccac1f52e3611845bd39a6e3be1762;hpb=2571583aed598dd3f9651b53434e5f177a0e3cf7;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/config/tc-microblaze.h b/gas/config/tc-microblaze.h index c0e2d972e0..01cb3e894f 100644 --- a/gas/config/tc-microblaze.h +++ b/gas/config/tc-microblaze.h @@ -1,6 +1,6 @@ /* tc-microblaze.h -- Header file for tc-microblaze.c. - Copyright (C) 2009-2017 Free Software Foundation, Inc. + Copyright (C) 2009-2020 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -44,13 +44,12 @@ extern bfd_reloc_code_real_type parse_cons_expression_microblaze #define TC_FORCE_RELOCATION_SECTION(FIXP,SEG) 1 #define UNDEFINED_DIFFERENCE_OK 1 -#define TC_FORCE_RELOCATION_LOCAL(FIX) \ - (!(FIX)->fx_pcrel \ - || (FIX)->fx_r_type == BFD_RELOC_MICROBLAZE_64_GOT \ - || (FIX)->fx_r_type == BFD_RELOC_MICROBLAZE_64_PLT \ +#define TC_FORCE_RELOCATION_LOCAL(FIX) \ + (GENERIC_FORCE_RELOCATION_LOCAL (FIX) \ + || (FIX)->fx_r_type == BFD_RELOC_MICROBLAZE_64_GOT \ + || (FIX)->fx_r_type == BFD_RELOC_MICROBLAZE_64_PLT \ || (FIX)->fx_r_type == BFD_RELOC_MICROBLAZE_64_GOTOFF \ - || (FIX)->fx_r_type == BFD_RELOC_MICROBLAZE_32_GOTOFF \ - || TC_FORCE_RELOCATION (FIX)) + || (FIX)->fx_r_type == BFD_RELOC_MICROBLAZE_32_GOTOFF) #define tc_fix_adjustable(X) tc_microblaze_fix_adjustable(X) extern int tc_microblaze_fix_adjustable (struct fix *); @@ -95,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 */