summaryrefslogtreecommitdiff
path: root/gas/config/tc-d30v.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-07-06 07:01:38 +0000
committerAndrew Cagney <cagney@redhat.com>2000-07-06 07:01:38 +0000
commit96226d862a5529f17a8cacf55af49b848a00129f (patch)
tree6dce8719ce20017c54ac18f95317b4ff144fc182 /gas/config/tc-d30v.h
parenta24e3a6f9bd36a003bd80d55bc63fb1f35a72b5f (diff)
downloadbinutils-redhat-96226d862a5529f17a8cacf55af49b848a00129f.tar.gz
Tue Jul 4 14:08:28 2000 Andrew Cagney <cagney@b1.cygnus.com>
* config/tc-d30v.h: Include "write.h" for fixS. (d30v_start_line, md_pcrel_from_section): Add function prototypes.
Diffstat (limited to 'gas/config/tc-d30v.h')
-rw-r--r--gas/config/tc-d30v.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gas/config/tc-d30v.h b/gas/config/tc-d30v.h
index dfebbb926e..08cf6278c1 100644
--- a/gas/config/tc-d30v.h
+++ b/gas/config/tc-d30v.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_D30V
#ifndef BFD_ASSEMBLER
@@ -35,6 +37,8 @@
#define MD_APPLY_FIX3
/* call md_pcrel_from_section, not md_pcrel_from */
+
+extern long md_pcrel_from_section PARAMS ((fixS *fixp, segT sec));
#define MD_PCREL_FROM_SECTION(FIXP, SEC) md_pcrel_from_section(FIXP, SEC)
/* Permit temporary numeric labels. */
@@ -51,7 +55,8 @@ int d30v_cleanup PARAMS ((int));
#define md_after_pass_hook() d30v_cleanup (false)
#define md_cleanup() d30v_cleanup (false)
#define TC_START_LABEL(ch, ptr) (ch == ':' && d30v_cleanup (false))
-#define md_start_line_hook() d30v_start_line (false)
+void d30v_start_line PARAMS ((void));
+#define md_start_line_hook() d30v_start_line ()
void d30v_frob_label PARAMS ((symbolS *));
#define tc_frob_label(sym) d30v_frob_label(sym)