X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fconfig%2Ftc-i960.h;h=47015ce778d27357fe8749f281ab1f38a62f128f;hb=c1f61bd2b0644fc710dcfbb378a63f0b34be8903;hp=c5c33d37e07fcae20bea9f17e983dc47b155b7d1;hpb=20ee54e8179d55eb972076578d9642dabd8abff8;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/config/tc-i960.h b/gas/config/tc-i960.h index c5c33d37e0..47015ce778 100644 --- a/gas/config/tc-i960.h +++ b/gas/config/tc-i960.h @@ -1,13 +1,11 @@ /* tc-i960.h - Basic 80960 instruction formats. - Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1997, 1998, 1999, - 2000, 2001, 2002, 2003, 2007 - Free Software Foundation, Inc. + Copyright (C) 1989-2016 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. GAS is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2, + published by the Free Software Foundation; either version 3, or (at your option) any later version. GAS is distributed in the hope that it will be useful, but @@ -131,7 +129,7 @@ struct relocation_info /* reloc_callj() may replace a 'call' with a 'calls' or a 'bal', in which cases it modifies *fixP as appropriate. In the case of a 'calls', no further work is required. */ -extern int reloc_callj PARAMS ((struct fix *)); +extern int reloc_callj (struct fix *); #define TC_FORCE_RELOCATION_ABS(FIX) \ (TC_FORCE_RELOCATION (FIX) \ @@ -147,15 +145,9 @@ extern int reloc_callj PARAMS ((struct fix *)); /* We store the bal information in the sy_tc field. */ #define TC_SYMFIELD_TYPE symbolS * -#define TC_ADJUST_RELOC_COUNT(FIX,COUNT) \ - { fixS *tcfixp = (FIX); \ - for (;tcfixp;tcfixp=tcfixp->fx_next) \ - if (tcfixp->fx_tcbit && tcfixp->fx_addsy != 0) \ - ++(COUNT); \ - } #endif -extern int i960_validate_fix PARAMS ((struct fix *, segT)); +extern int i960_validate_fix (struct fix *, segT); #define TC_VALIDATE_FIX(FIX,SEGTYPE,LABEL) \ if (!i960_validate_fix (FIX, SEGTYPE)) goto LABEL @@ -169,14 +161,14 @@ extern int i960_validate_fix PARAMS ((struct fix *, segT)); #define MD_APPLY_SYM_VALUE(FIX) 0 #endif -extern void brtab_emit PARAMS ((void)); +extern void brtab_emit (void); #define md_end() brtab_emit () -extern void tc_set_bal_of_call PARAMS ((symbolS *, symbolS *)); +extern void tc_set_bal_of_call (symbolS *, symbolS *); -extern struct symbol *tc_get_bal_of_call PARAMS ((symbolS *)); +extern struct symbol *tc_get_bal_of_call (symbolS *); -extern void i960_handle_align PARAMS ((struct frag *)); +extern void i960_handle_align (struct frag *); #define HANDLE_ALIGN(FRAG) i960_handle_align (FRAG) #define NO_RELOC -1