[PATCH 2/4]: moxie: use generic pcrel support
authorGunther Nikl <gnikl@justmail.de>
Wed, 8 Apr 2020 10:11:43 +0000 (11:11 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 8 Apr 2020 10:13:04 +0000 (11:13 +0100)
The moxie target header uses md_pcrel_from, thus the local prototype and
the macro definition for MD_PCREL_FROM_SECTION are not needed.

* config/tc-moxie.h (MD_PCREL_FROM_SECTION): Delete define.
(md_pcrel_from): Remove prototytpe.

gas/ChangeLog
gas/config/tc-moxie.h

index 9fd8a9eae877ada7f5054c972841474c9a9ceac8..9668c78c327afeff470130e3664b116520c943ba 100644 (file)
@@ -1,3 +1,8 @@
+2020-04-08  Gunther Nikl  <gnikl@justmail.de>
+
+       * config/tc-moxie.h (MD_PCREL_FROM_SECTION): Delete define.
+       (md_pcrel_from): Remove prototytpe.
+
 2020-04-07  H.J. Lu  <hongjiu.lu@intel.com>
 
        * NEWS: Mention support for Intel SERIALIZE and TSXLDTRK
index 80f7f6c402b3ecc39b2ccea08ab6fd3693f01af1..a66b60affe58615ec850a173e944ea6b6b586823 100644 (file)
 #define md_estimate_size_before_relax(A, B) (as_fatal (_("estimate size\n")), 0)
 #define md_convert_frag(B, S, F)            as_fatal (_("convert_frag\n"))
 
-/* If you define this macro, it should return the offset between the
-   address of a PC relative fixup and the position from which the PC
-   relative adjustment should be made.  On many processors, the base
-   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 (FIX)
-extern long md_pcrel_from (struct fix *);
-
 #define md_section_align(SEGMENT, SIZE)     (SIZE)
This page took 0.026161 seconds and 4 git commands to generate.