aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-d10v.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-04-12 17:59:32 +0000
committerNick Clifton <nickc@redhat.com>2000-04-12 17:59:32 +0000
commit1ed18ec1a386492c7905eaab54ac58d36c45966c (patch)
tree170b0373d2ba0f209e03f6554fba93e63631b244 /gas/config/tc-d10v.h
parentd03cef9d487c6483cef99f53d30288c2eeb27901 (diff)
downloadgdb-1ed18ec1a386492c7905eaab54ac58d36c45966c.zip
gdb-1ed18ec1a386492c7905eaab54ac58d36c45966c.tar.gz
gdb-1ed18ec1a386492c7905eaab54ac58d36c45966c.tar.bz2
Apply Andrew Cagney's patch to fix use of 'struct fix'.
Diffstat (limited to 'gas/config/tc-d10v.h')
-rw-r--r--gas/config/tc-d10v.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gas/config/tc-d10v.h b/gas/config/tc-d10v.h
index 18e6e30..2f244a3 100644
--- a/gas/config/tc-d10v.h
+++ b/gas/config/tc-d10v.h
@@ -19,6 +19,8 @@
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
+#include "write.h" /* For the definition of fixS. */
+
#define TC_D10V
#define TARGET_BYTES_BIG_ENDIAN 0
@@ -36,6 +38,7 @@
/* call md_pcrel_from_section, not md_pcrel_from */
#define MD_PCREL_FROM_SECTION(FIXP, SEC) md_pcrel_from_section(FIXP, SEC)
+long md_pcrel_from_section PARAMS ((fixS *, segT));
/* Permit temporary numeric labels. */
#define LOCAL_LABELS_FB 1
@@ -57,7 +60,8 @@ int d10v_cleanup PARAMS ((void));
} while (0)
#define obj_fix_adjustable(fixP) d10v_fix_adjustable(fixP)
+boolean d10v_fix_adjustable PARAMS ((fixS *));
#define TC_FORCE_RELOCATION(fixp) d10v_force_relocation(fixp)
-extern int d10v_force_relocation PARAMS ((struct fix *));
+extern int d10v_force_relocation PARAMS ((fixS *));
#define md_flush_pending_output d10v_cleanup