aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorGunther Nikl <gnikl@justmail.de>2020-04-08 11:15:28 +0100
committerNick Clifton <nickc@redhat.com>2020-04-08 11:15:28 +0100
commitd9f1988553be73217c29d48cb8979b82d624b91c (patch)
treed08a4f3797c7d36ae8eb45cd4ccdfbf75a8bb574 /gas
parent6a3ab9239ae6184c8a3558ce9628f6d12a7f1bbd (diff)
downloadfsf-binutils-gdb-d9f1988553be73217c29d48cb8979b82d624b91c.zip
fsf-binutils-gdb-d9f1988553be73217c29d48cb8979b82d624b91c.tar.gz
fsf-binutils-gdb-d9f1988553be73217c29d48cb8979b82d624b91c.tar.bz2
[PATCH 3/4]: m32c: remove duplicate define and prototype
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.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog3
-rw-r--r--gas/config/tc-m32c.h4
2 files changed, 3 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 9668c78..0fb3964 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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>
diff --git a/gas/config/tc-m32c.h b/gas/config/tc-m32c.h
index aa38116..0e809ae 100644
--- a/gas/config/tc-m32c.h
+++ b/gas/config/tc-m32c.h
@@ -32,10 +32,6 @@
#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