From 24ddb296289548f4991abd3621fb549c5ad6ddfd Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 6 Jul 2000 07:01:38 +0000 Subject: [PATCH] Tue Jul 4 14:08:28 2000 Andrew Cagney * config/tc-d30v.h: Include "write.h" for fixS. (d30v_start_line, md_pcrel_from_section): Add function prototypes. --- gas/ChangeLog | 5 +++++ gas/config/tc-d30v.h | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 4838006a88b..c6eced5e472 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Tue Jul 4 14:08:28 2000 Andrew Cagney + + * config/tc-d30v.h: Include "write.h" for fixS. + (d30v_start_line, md_pcrel_from_section): Add function prototypes. + 2000-07-05 Nick Clifton * config/tc-d30v.c (write_2_short): Further changes to warning diff --git a/gas/config/tc-d30v.h b/gas/config/tc-d30v.h index dfebbb926e1..08cf6278c1a 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) -- 2.30.2