X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gas%2Fconfig%2Ftc-d10v.h;h=2f244a3b29abd3a9e86a82a56decf8300e8fd9c5;hb=d0352a18a504a4e7b761f6b3264cf11347d8d056;hp=18e6e30b71138df166bdb7c56cb6c6e11763a99c;hpb=447f398221018cf95af281f340928039b0dfca2c;p=binutils-gdb.git diff --git a/gas/config/tc-d10v.h b/gas/config/tc-d10v.h index 18e6e30b711..2f244a3b29a 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