[PATCH 3/4]: m32c: remove duplicate define and prototype
authorGunther Nikl <gnikl@justmail.de>
Wed, 8 Apr 2020 10:15:28 +0000 (11:15 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 8 Apr 2020 10:15:28 +0000 (11:15 +0100)
The m32c target header has a duplicate entry for MD_PCREL_FROM_SECTION.
The duplication was present since the initial commit of the port.

* config/tc-m32c.h (MD_PCREL_FROM_SECTION): Delete duplicate define.
(md_pcrel_from_section): Remove duplicate prototype.

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

index 9668c78c327afeff470130e3664b116520c943ba..0fb3964f3c5159208bcdd08f00cec65314bf55ce 100644 (file)
@@ -2,6 +2,9 @@
 
        * config/tc-moxie.h (MD_PCREL_FROM_SECTION): Delete define.
        (md_pcrel_from): Remove prototytpe.
+       * config/tc-m32c.h (MD_PCREL_FROM_SECTION): Delete duplicate
+       define.
+       (md_pcrel_from_section): Remove duplicate prototype.
 
 2020-04-07  H.J. Lu  <hongjiu.lu@intel.com>
 
index aa38116246a13599e65d480df77f27ba432fc339..0e809ae1511d9db773b7a3c5bca01474c135fb5d 100644 (file)
 #define md_start_line_hook m32c_start_line_hook
 extern void m32c_start_line_hook (void);
 
-/* call md_pcrel_from_section, not md_pcrel_from */
-long md_pcrel_from_section (struct fix *, segT);
-#define MD_PCREL_FROM_SECTION(FIXP, SEC) md_pcrel_from_section (FIXP, SEC)
-
 /* Permit temporary numeric labels.  */
 #define LOCAL_LABELS_FB 1
 
This page took 0.030886 seconds and 4 git commands to generate.