[PATCH 4/4]: Add generic prototype for md_pcrel_from_section
[deliverable/binutils-gdb.git] / gas / config / tc-microblaze.h
index f5aec4ebd955012a9b8234ad683930b2a3fb54dd..bc0ca370b7519650b13f1b705305498fdd1383c4 100644 (file)
@@ -1,6 +1,6 @@
 /* tc-microblaze.h -- Header file for tc-microblaze.c.
 
-   Copyright (C) 2009-2015 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,13 +94,11 @@ extern const struct relax_type md_relax_table[];
 # error No target format specified.
 #endif
 
-#include "write.h"        /* For definition of fixS */
+#include "write.h"        /* For definition of fixS */
 
 extern void      md_begin            (void);
 extern void      md_assemble         (char *);
 extern symbolS * md_undefined_symbol (char *);
-extern char *    md_atof             (int, char *, int *);
-extern int       md_parse_option     (int, char *);
 extern void      md_show_usage       (FILE *);
 extern void      md_convert_frag               (bfd *, segT, fragS *);
 extern void      md_operand                    (expressionS *);
This page took 0.026804 seconds and 4 git commands to generate.