aboutsummaryrefslogtreecommitdiff
path: root/gas/config
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
commit24ddb296289548f4991abd3621fb549c5ad6ddfd (patch)
tree3b8b9bcd2ac8bb6f6f5a983a56084a45a7df254e /gas/config
parentec9914b0ad1712323687a28c1a265f0d85ec48df (diff)
downloadgdb-24ddb296289548f4991abd3621fb549c5ad6ddfd.zip
gdb-24ddb296289548f4991abd3621fb549c5ad6ddfd.tar.gz
gdb-24ddb296289548f4991abd3621fb549c5ad6ddfd.tar.bz2
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')
-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 dfebbb9..08cf627 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)