[PATCH 4/4]: Add generic prototype for md_pcrel_from_section
authorGunther Nikl <gnikl@justmail.de>
Wed, 8 Apr 2020 11:28:10 +0000 (12:28 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 8 Apr 2020 11:28:10 +0000 (12:28 +0100)
This patch removes the need for target headers to provide a custom prototype
for md_pcrel_from_section.

* tc.h (md_pcrel_from_section): Add prototype.
* config/tc-aarch64.h (md_pcrel_from_section): Remove prototype.
* config/tc-arc.h (md_pcrel_from_section): Likewise.
* config/tc-arm.h (md_pcrel_from_section): Likewise.
* config/tc-avr.h (md_pcrel_from_section): Likewise.
* config/tc-bfin.h (md_pcrel_from_section): Likewise.
* config/tc-bpf.h (md_pcrel_from_section): Likewise.
* config/tc-csky.h (md_pcrel_from_section): Likewise.
* config/tc-d10v.h (md_pcrel_from_section): Likewise.
* config/tc-d30v.h (md_pcrel_from_section): Likewise.
* config/tc-epiphany.h (md_pcrel_from_section): Likewise.
* config/tc-fr30.h (md_pcrel_from_section): Likewise.
* config/tc-frv.h (md_pcrel_from_section): Likewise.
* config/tc-iq2000.h (md_pcrel_from_section): Likewise.
* config/tc-lm32.h (md_pcrel_from_section): Likewise.
* config/tc-m32c.h (md_pcrel_from_section): Likewise.
* config/tc-m32r.h (md_pcrel_from_section): Likewise.
* config/tc-mcore.h (md_pcrel_from_section): Likewise.
* config/tc-mep.h (md_pcrel_from_section): Likewise.
* config/tc-metag.h (md_pcrel_from_section): Likewise.
* config/tc-microblaze.h (md_pcrel_from_section): Likewise.
* config/tc-mmix.h (md_pcrel_from_section): Likewise.
* config/tc-moxie.h (md_pcrel_from_section): Likewise.
* config/tc-msp430.h (md_pcrel_from_section): Likewise.
* config/tc-mt.h (md_pcrel_from_section): Likewise.
* config/tc-or1k.h (md_pcrel_from_section): Likewise.
* config/tc-ppc.h (md_pcrel_from_section): Likewise.
* config/tc-rl78.h (md_pcrel_from_section): Likewise.
* config/tc-rx.h (md_pcrel_from_section): Likewise.
* config/tc-s390.h (md_pcrel_from_section): Likewise.
* 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.

33 files changed:
gas/ChangeLog
gas/config/tc-aarch64.h
gas/config/tc-arc.h
gas/config/tc-arm.h
gas/config/tc-avr.h
gas/config/tc-bfin.h
gas/config/tc-bpf.h
gas/config/tc-csky.h
gas/config/tc-d10v.h
gas/config/tc-d30v.h
gas/config/tc-epiphany.h
gas/config/tc-fr30.h
gas/config/tc-frv.h
gas/config/tc-iq2000.h
gas/config/tc-lm32.h
gas/config/tc-m32c.h
gas/config/tc-m32r.h
gas/config/tc-mcore.h
gas/config/tc-mep.h
gas/config/tc-metag.h
gas/config/tc-microblaze.h
gas/config/tc-mmix.h
gas/config/tc-msp430.h
gas/config/tc-mt.h
gas/config/tc-or1k.h
gas/config/tc-ppc.h
gas/config/tc-rl78.h
gas/config/tc-rx.h
gas/config/tc-s390.h
gas/config/tc-sh.h
gas/config/tc-xc16x.h
gas/config/tc-xstormy16.h
gas/tc.h

index 0fb3964f3c5159208bcdd08f00cec65314bf55ce..29918231e17e05562ed0b4d4a2b581d80f238d49 100644 (file)
@@ -5,6 +5,39 @@
        * config/tc-m32c.h (MD_PCREL_FROM_SECTION): Delete duplicate
        define.
        (md_pcrel_from_section): Remove duplicate prototype.
+       * tc.h (md_pcrel_from_section): Add prototype.
+       * config/tc-aarch64.h (md_pcrel_from_section): Remove prototype.
+       * config/tc-arc.h (md_pcrel_from_section): Likewise.
+       * config/tc-arm.h (md_pcrel_from_section): Likewise.
+       * config/tc-avr.h (md_pcrel_from_section): Likewise.
+       * config/tc-bfin.h (md_pcrel_from_section): Likewise.
+       * config/tc-bpf.h (md_pcrel_from_section): Likewise.
+       * config/tc-csky.h (md_pcrel_from_section): Likewise.
+       * config/tc-d10v.h (md_pcrel_from_section): Likewise.
+       * config/tc-d30v.h (md_pcrel_from_section): Likewise.
+       * config/tc-epiphany.h (md_pcrel_from_section): Likewise.
+       * config/tc-fr30.h (md_pcrel_from_section): Likewise.
+       * config/tc-frv.h (md_pcrel_from_section): Likewise.
+       * config/tc-iq2000.h (md_pcrel_from_section): Likewise.
+       * config/tc-lm32.h (md_pcrel_from_section): Likewise.
+       * config/tc-m32c.h (md_pcrel_from_section): Likewise.
+       * config/tc-m32r.h (md_pcrel_from_section): Likewise.
+       * config/tc-mcore.h (md_pcrel_from_section): Likewise.
+       * config/tc-mep.h (md_pcrel_from_section): Likewise.
+       * config/tc-metag.h (md_pcrel_from_section): Likewise.
+       * config/tc-microblaze.h (md_pcrel_from_section): Likewise.
+       * config/tc-mmix.h (md_pcrel_from_section): Likewise.
+       * config/tc-moxie.h (md_pcrel_from_section): Likewise.
+       * config/tc-msp430.h (md_pcrel_from_section): Likewise.
+       * config/tc-mt.h (md_pcrel_from_section): Likewise.
+       * config/tc-or1k.h (md_pcrel_from_section): Likewise.
+       * config/tc-ppc.h (md_pcrel_from_section): Likewise.
+       * config/tc-rl78.h (md_pcrel_from_section): Likewise.
+       * config/tc-rx.h (md_pcrel_from_section): Likewise.
+       * config/tc-s390.h (md_pcrel_from_section): Likewise.
+       * 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.
 
 2020-04-07  H.J. Lu  <hongjiu.lu@intel.com>
 
index e3fd68818f900b0e51cdf22d6c30c89a25a6b253..fad4da1ded21a2921efefb416ddacd2f5bba5d60 100644 (file)
@@ -255,7 +255,6 @@ extern void aarch64_after_parse_args (void);
 
 #define MD_PCREL_FROM_SECTION(F,S) md_pcrel_from_section(F,S)
 
-extern long md_pcrel_from_section (struct fix *, segT);
 extern void aarch64_frag_align_code (int, int);
 extern const char * elf64_aarch64_target_format (void);
 extern int aarch64_force_relocation (struct fix *);
index b8eee4fb0522d6ee2162ecfdf0ccb69d4fc210dd..2aa61e0ef8bbd314218c9aa056088a62ff9d874b 100644 (file)
@@ -101,7 +101,6 @@ extern const char *arc_target_format;
    instruction, plus the address of the PC relative fixup.  The latter
    can be calculated as fixp->fx_where +
    fixp->fx_frag->fr_address.  */
-extern long md_pcrel_from_section (struct fix *, segT);
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
 
 /* [ ] is index operator.  */
index c01223fa6d7c049726241a770ab8b5e7272cd02c..5e32eac637226e6a3fc8eddb8722cd16d814f8d9 100644 (file)
@@ -340,7 +340,6 @@ struct arm_segment_info_type
 
 #define MD_PCREL_FROM_SECTION(F,S) md_pcrel_from_section(F,S)
 
-extern long md_pcrel_from_section (struct fix *, segT);
 extern void arm_frag_align_code (int, int);
 extern void arm_validate_fix (struct fix *);
 extern const char * elf32_arm_target_format (void);
index 1920873ec5a5751282f3f649ec3f353ef55afed3..154bf8ad7daa49ce9b8f5435216b185345ad15ea 100644 (file)
@@ -136,7 +136,6 @@ extern int avr_force_relocation (struct fix *);
    of a PC relative instruction is the next instruction, so this
    macro would return the length of an instruction.  */
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
-extern long md_pcrel_from_section (struct fix *, segT);
 
 /* The number of bytes to put into a word in a listing.  This affects
    the way the bytes are clumped together in the listing.  For
index c4b15075accb7c52ba29d82fa5234ff907c7954d..b9bc06bd7324128c8c43a54445d8f3cf4006ee2e 100644 (file)
@@ -68,7 +68,6 @@ extern int bfin_force_relocation (struct fix *);
 
 /* Call md_pcrel_from_section(), not md_pcrel_from().  */
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
-extern long md_pcrel_from_section (struct fix *, segT);
 
 /* Values passed to md_apply_fix3 don't include symbol values.  */
 #define MD_APPLY_SYM_VALUE(FIX) 0
index 5f50a6594f5e955b1b0e046352381e971dd8125d..5765833997ef7f61d1a5ef16ad6421d2ec188e84 100644 (file)
@@ -41,7 +41,6 @@
 
 /* Call md_pcrel_from_section(), not md_pcrel_from().  */
 #define MD_PCREL_FROM_SECTION(FIXP, SEC) md_pcrel_from_section (FIXP, SEC)
-extern long md_pcrel_from_section (struct fix *, segT);
 
 /* We don't need to handle .word strangely.  */
 #define WORKING_DOT_WORD
index f982475c8539ef155d7b5093ed16119aad66f947..e39e106de674d489ebd450a9a1a5fb51ef363c24 100644 (file)
@@ -91,7 +91,6 @@ struct tls_addend
 extern const relax_typeS csky_relax_table [];
 
 extern void md_csky_end (void);
-extern long md_pcrel_from_section (fixS *, segT);
 extern void csky_cons_fix_new (fragS *,
                               unsigned int off,
                               unsigned int len,
index da6dcc74bad484f041b339c4b33cbe84418058c9..fcd16744e0f7cba8fa64f99614d8342f975031a8 100644 (file)
@@ -21,6 +21,8 @@
 
 #define TC_D10V
 
+struct fix;
+
 #define TARGET_BYTES_BIG_ENDIAN 1
 
 /* The target BFD architecture.  */
@@ -30,8 +32,6 @@
 
 /* Call md_pcrel_from_section, not md_pcrel_from.  */
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
-struct fix;
-long md_pcrel_from_section (struct fix *, segT);
 
 /* Permit temporary numeric labels.  */
 #define LOCAL_LABELS_FB 1
index 65a7ec6c449fe2375bdb5e9c4bcb85379b316ca7..0454d44ddfda5bbc25bbd12c70a6fb50382aec4e 100644 (file)
@@ -29,8 +29,6 @@
 #define md_operand(x)
 
 /* Call md_pcrel_from_section, not md_pcrel_from.  */
-struct fix;
-extern long md_pcrel_from_section (struct fix *, segT);
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
 
 /* Permit temporary numeric labels.  */
index 19f5b13520357b7345371fa4c44167563aa5661a..2f6c2cccf77aabbe92e1c7216e6e61c430c5b9f4 100644 (file)
@@ -48,7 +48,6 @@
 #define tc_fix_adjustable(FIX) epiphany_fix_adjustable (FIX)
 extern bfd_boolean epiphany_fix_adjustable (struct fix *);
 
-extern long md_pcrel_from_section (struct fix *, segT);
 #define MD_PCREL_FROM_SECTION(FIXP, SEC) md_pcrel_from_section (FIXP,SEC)
 
 #define TC_HANDLES_FX_DONE
index a633f1eedc42699c828a69318ea9a41bf583a61a..8169d6887f480860e516d733ba39740392bb080c 100644 (file)
@@ -50,7 +50,6 @@ extern bfd_boolean fr30_fix_adjustable (struct fix *);
 
 /* Call md_pcrel_from_section(), not md_pcrel_from().  */
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
-extern long md_pcrel_from_section (struct fix *, segT);
 
 /* For 8 vs 16 vs 32 bit branch selection.  */
 #define TC_GENERIC_RELAX_TABLE md_relax_table
index f43376cc2a671999e896b03511720e00a2ea620a..444b26b6e4fd0d49fdff79cb9aa8e8f13d22f957 100644 (file)
@@ -76,7 +76,6 @@ void frv_frob_label (symbolS *);
 
 /* Call md_pcrel_from_section(), not md_pcrel_from().  */
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
-extern long md_pcrel_from_section (struct fix *, segT);
 
 /* After all of the symbols have been adjusted, go over the file looking
    for any relocations that pic won't support.  */
index ad098e311fe7219215723be8c775abc0331790e2..31ed49f3c6866640b736e66f161f32b384dd3ccd 100644 (file)
@@ -62,4 +62,3 @@
 extern void         iq2000_frob_file         (void);
 extern bfd_boolean  iq2000_fix_adjustable    (struct fix *);
 extern int          iq2000_force_relocation  (struct fix *);
-extern long         md_pcrel_from_section    (struct fix *, segT);
index a0231c05616fbc1ae83e36d9b0ef74b05d5430f7..930106ff44762846c18af8a841edeb5943b1d86d 100644 (file)
@@ -40,7 +40,6 @@
 #define tc_gen_reloc gas_cgen_tc_gen_reloc
 
 /* Call md_pcrel_from_section(), not md_pcrel_from().  */
-extern long md_pcrel_from_section (struct fix *, segT);
 #define MD_PCREL_FROM_SECTION(FIXP, SEC) md_pcrel_from_section (FIXP, SEC)
 
 extern bfd_boolean lm32_fix_adjustable (struct fix *);
index 0e809ae1511d9db773b7a3c5bca01474c135fb5d..5be71977d674164c592b3cd1552b21096e045f78 100644 (file)
@@ -67,7 +67,6 @@ extern void m32c_prepare_relax_scan (fragS *, offsetT *, relax_substateT);
 
 /* Call md_pcrel_from_section(), not md_pcrel_from().  */
 #define MD_PCREL_FROM_SECTION(FIXP, SEC) md_pcrel_from_section (FIXP, SEC)
-extern long md_pcrel_from_section (struct fix *, segT);
 
 /* We need a special version of the TC_START_LABEL macro so that we
    allow the :Z, :S, :Q and :G suffixes to be
index d56916b18119e740662f5be2fb078a260ecd5d32..c123bdcb199fa48cb6d7b31e61a9585baad107ae 100644 (file)
@@ -37,7 +37,6 @@ extern const char *m32r_target_format (void);
 #endif
 
 /* Call md_pcrel_from_section, not md_pcrel_from.  */
-long md_pcrel_from_section (struct fix *, segT);
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section(FIX, SEC)
 
 /* Permit temporary numeric labels.  */
index 370a319496314ae7e812f863981a997d5f65dbf3..e4fba152853250812e7941d4fd67bfb1ba0f5fb9 100644 (file)
@@ -87,7 +87,6 @@ struct mcore_tc_sy
 #include "write.h"        /* For definition of fixS */
 
 extern void        md_mcore_end           (void);
-extern long        md_pcrel_from_section  (fixS *, segT);
 extern arelent *   tc_gen_reloc           (asection *, fixS *);
 extern int         mcore_force_relocation (fixS *);
 extern bfd_boolean mcore_fix_adjustable   (fixS *);
index 69535bc93ffb99d89917252b2b639f09b018f6df..d3eb3d77029d6356528e115911f4033eb7db22c0 100644 (file)
@@ -53,7 +53,6 @@ extern void mep_apply_fix (struct fix *, valueT *, segT);
 
 /* Call md_pcrel_from_section(), not md_pcrel_from().  */
 #define MD_PCREL_FROM_SECTION(FIXP, SEC) md_pcrel_from_section (FIXP, SEC)
-extern long md_pcrel_from_section (struct fix *, segT);
 
 #define tc_frob_file() mep_frob_file ()
 extern void mep_frob_file (void);
index 69016fe3adaa7e961dca117b446fc11df0f7a1ed..27ed1678302de2ffc7ee09dbfeb50938df62bdc7 100644 (file)
@@ -51,7 +51,6 @@ extern int metag_force_relocation (struct fix *);
 
 /* Call md_pcrel_from_section(), not md_pcrel_from().  */
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
-extern long md_pcrel_from_section (struct fix *, segT);
 
 #define HANDLE_ALIGN(fragp) metag_handle_align (fragp)
 extern void metag_handle_align (struct frag *);
index a84e7e40354d8443aedf4da6fb369f2a08bf58b9..bc0ca370b7519650b13f1b705305498fdd1383c4 100644 (file)
@@ -94,7 +94,7 @@ 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 *);
index 2f5cf3113eb7ea0d191b9b35abce72eb2a85bf88..d9e8599c888ea1746d638496eca36f63bb7cf006 100644 (file)
@@ -168,7 +168,6 @@ extern int mmix_force_relocation (struct fix *);
 
 /* Call md_pcrel_from_section(), not md_pcrel_from().  */
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
-extern long md_pcrel_from_section (struct fix *, segT);
 
 #define md_section_align(seg, size) (size)
 
index 50feca48887f254f924d822a41699ac0a0cd9147..4fb40eda4bfb8e355757311a5d006ae721f25d42 100644 (file)
@@ -91,8 +91,6 @@
      of a PC relative instruction is the next instruction, so this
      macro would return the length of an instruction.  */
 
-extern long md_pcrel_from_section (struct fix *, segT);
-
 #define LISTING_WORD_SIZE 2
 /*   The number of bytes to put into a word in a listing.  This affects
      the way the bytes are clumped together in the listing.  For
index 54c753a8ebfb3749d0337c139dc97c1557f66fed..aacb2873f4b7c8593b98482c0c374d1491e7691e 100644 (file)
@@ -48,7 +48,6 @@ extern void mt_apply_fix (struct fix *, valueT *, segT);
 
 /* Call md_pcrel_from_section(), not md_pcrel_from().  */
 #define MD_PCREL_FROM_SECTION(FIXP, SEC) md_pcrel_from_section (FIXP, SEC)
-extern long md_pcrel_from_section (struct fix *, segT);
 
 #define obj_fix_adjustable(fixP) iq2000_fix_adjustable (fixP)
 extern bfd_boolean mt_fix_adjustable (struct fix *);
index 6dce33a1f1b8b986c6be5c5ad4a71254d81db87b..0242dd480fb357c92bc4adf7376ba47aaad0303d 100644 (file)
@@ -50,7 +50,6 @@ extern bfd_boolean or1k_fix_adjustable (struct fix *);
 #define tc_fix_adjustable(FIX) or1k_fix_adjustable (FIX)
 
 /* Call md_pcrel_from_section(), not md_pcrel_from().  */
-extern long md_pcrel_from_section (struct fix *, segT);
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
 
 /* For 8 vs 16 vs 32 bit branch selection.  */
index 4df7982fcf608816756efc21fc3d29200c079795..bfe61294da1d19bcc3c9d3abda5250845099cba1 100644 (file)
@@ -297,7 +297,6 @@ extern void ppc_frob_label (symbolS *);
 
 /* call md_pcrel_from_section, not md_pcrel_from */
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section(FIX, SEC)
-extern long md_pcrel_from_section (struct fix *, segT);
 
 #define md_parse_name(name, exp, mode, c) ppc_parse_name (name, exp)
 extern int ppc_parse_name (const char *, struct expressionS *);
index f69458db8d092755d63c8792b66c6cc26940c381..d0680ba682d972c47600411e67b422c3e15f0ec1 100644 (file)
@@ -58,7 +58,6 @@ extern void rl78_frag_init (fragS *);
 
 /* Call md_pcrel_from_section(), not md_pcrel_from().  */
 #define MD_PCREL_FROM_SECTION(FIXP, SEC) md_pcrel_from_section (FIXP, SEC)
-extern long md_pcrel_from_section (struct fix *, segT);
 
 /* RL78 doesn't have a 32 bit PCREL relocations.  */
 #define TC_FORCE_RELOCATION_SUB_LOCAL(FIX, SEG) 1
index 1448c64fdb59477c9d63b4cd16aaa4aa8429b1a1..0bb25e8bd3de96d8371ddfd2c1c2ffdcc1e238c5 100644 (file)
@@ -70,7 +70,6 @@ extern void rx_frag_init (fragS *);
 
 /* Call md_pcrel_from_section(), not md_pcrel_from().  */
 #define MD_PCREL_FROM_SECTION(FIXP, SEC) md_pcrel_from_section (FIXP, SEC)
-extern long md_pcrel_from_section (struct fix *, segT);
 
 /* RX doesn't have a 32 bit PCREL relocations.  */
 #define TC_FORCE_RELOCATION_SUB_LOCAL(FIX, SEG) 1
index 0f54f5a8c857f0bf71e7d9d34ed003a3ac17d6ca..d9bc231a84817cf02758e77af1ae84de0b8f9b7f 100644 (file)
@@ -75,7 +75,6 @@ extern int target_big_endian;
 
 /* call md_pcrel_from_section, not md_pcrel_from */
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section(FIX, SEC)
-extern long md_pcrel_from_section (struct fix *, segT);
 
 #define md_operand(x)
 
index d7dd764d24843c1e9635161eadfe3eeb2e22e92e..2526332233cdbb0c0fbf558a9250e36773195289 100644 (file)
@@ -87,7 +87,6 @@ extern int sh_force_relocation (struct fix *);
    && sh_relax && SWITCH_TABLE (FIX))
 
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
-extern long md_pcrel_from_section (struct fix *, segT);
 
 /* SH_COUNT relocs are allowed outside of frag.
    The target is also buggy and sets fix size too large for other relocs.  */
index 032f47a2f7091ab20405e540587c1b5bba63bf92..c210b6e10b3b7a3322158055fc93f084b48b5f02 100644 (file)
@@ -55,6 +55,5 @@ extern void tc_reloc_mangle (struct fix *, struct internal_reloc *, bfd_vma);
 #define LISTING_HEADER "Infineon XC16X GAS "
 #define NEED_FX_R_TYPE 1
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
-extern long md_pcrel_from_section (struct fix *, segT);
 
 #define md_operand(x)
index d08fa90a044b6a4707d5aff631bee085fd4c28e0..8d7231bce96222d512412dfeec8e5b10c6a3b66a 100644 (file)
@@ -54,7 +54,6 @@ extern int xstormy16_force_relocation (struct fix *);
 
 /* Call md_pcrel_from_section(), not md_pcrel_from().  */
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
-extern long md_pcrel_from_section (struct fix *, segT);
 
 #define TC_CONS_FIX_NEW xstormy16_cons_fix_new
 extern void xstormy16_cons_fix_new (fragS *f, int, int, expressionS *,
index 8be65fdc181351e8e04d4c6218c477e0840a978d..da1738d67a811dd10c9a8ed761ab4d5a498fe2a3 100644 (file)
--- a/gas/tc.h
+++ b/gas/tc.h
@@ -54,6 +54,9 @@ void    md_create_short_jump (char *, addressT, addressT, fragS *, symbolS *);
 #ifndef md_pcrel_from
 long    md_pcrel_from (fixS *);
 #endif
+#ifndef md_pcrel_from_section
+long    md_pcrel_from_section (fixS *, segT);
+#endif
 #ifndef md_operand
 void    md_operand (expressionS *);
 #endif
This page took 0.036371 seconds and 4 git commands to generate.