[patch] opcodes/*: Remove ARGSUSED.
Kazu Hirata
kazu@cs.umass.edu
Wed Dec 3 03:15:00 GMT 2003
More information about the Binutils mailing list
Wed Dec 3 03:15:00 GMT 2003
- Previous message (by thread): [RFA] gas port for sh4a
- Next message (by thread): [patch] gas/config/obj-elf.c: Remove ARGSUSED.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, Committed as preapproved by Nick a few years ago through personal communication. Kazu Hirata 2003-12-02 Kazu Hirata <kazu@cs.umass.edu> * alpha-opc.c: Remove ARGSUSED. * i370-opc.c: Likewise. * ppc-opc.c: Likewise. Index: alpha-opc.c =================================================================== RCS file: /cvs/src/src/opcodes/alpha-opc.c,v retrieving revision 1.11 diff -u -r1.11 alpha-opc.c --- alpha-opc.c 30 Oct 2003 10:03:03 -0000 1.11 +++ alpha-opc.c 3 Dec 2003 03:12:49 -0000 @@ -214,7 +214,6 @@ the RA field into the RB field, and the extraction function just checks that the fields are the same. */ -/*ARGSUSED*/ static unsigned insert_rba(insn, value, errmsg) unsigned insn; @@ -238,7 +237,6 @@ /* The same for the RC field */ -/*ARGSUSED*/ static unsigned insert_rca(insn, value, errmsg) unsigned insn; @@ -262,7 +260,6 @@ /* Fake arguments in which the registers must be set to ZERO */ -/*ARGSUSED*/ static unsigned insert_za(insn, value, errmsg) unsigned insn; @@ -282,7 +279,6 @@ return 0; } -/*ARGSUSED*/ static unsigned insert_zb(insn, value, errmsg) unsigned insn; @@ -302,7 +298,6 @@ return 0; } -/*ARGSUSED*/ static unsigned insert_zc(insn, value, errmsg) unsigned insn; @@ -336,7 +331,6 @@ return insn | ((value / 4) & 0x1FFFFF); } -/*ARGSUSED*/ static int extract_bdisp(insn, invalid) unsigned insn; @@ -359,7 +353,6 @@ return insn | ((value / 4) & 0x3FFF); } -/*ARGSUSED*/ static int extract_jhint(insn, invalid) unsigned insn; @@ -381,7 +374,6 @@ return insn | ((value / 4) & 0x1FFF); } -/*ARGSUSED*/ static int extract_ev6hwjhint(insn, invalid) unsigned insn; Index: i370-opc.c =================================================================== RCS file: /cvs/src/src/opcodes/i370-opc.c,v retrieving revision 1.4 diff -u -r1.4 i370-opc.c --- i370-opc.c 14 Sep 2003 15:16:57 -0000 1.4 +++ i370-opc.c 3 Dec 2003 03:12:51 -0000 @@ -229,7 +229,6 @@ /* The functions used to insert and extract complicated operands. */ -/*ARGSUSED*/ static i370_insn_t insert_ss_b2 (i370_insn_t insn, long value, const char **errmsg ATTRIBUTE_UNUSED) Index: ppc-opc.c =================================================================== RCS file: /cvs/src/src/opcodes/ppc-opc.c,v retrieving revision 1.57 diff -u -r1.57 ppc-opc.c --- ppc-opc.c 4 Sep 2003 01:51:37 -0000 1.57 +++ ppc-opc.c 3 Dec 2003 03:12:53 -0000 @@ -548,7 +548,6 @@ and the extraction function just checks that the fields are the same. */ -/*ARGSUSED*/ static unsigned long insert_bat (unsigned long insn, long value ATTRIBUTE_UNUSED, @@ -574,7 +573,6 @@ and the extraction function just checks that the fields are the same. */ -/*ARGSUSED*/ static unsigned long insert_bba (unsigned long insn, long value ATTRIBUTE_UNUSED, @@ -597,7 +595,6 @@ /* The BD field in a B form instruction. The lower two bits are forced to zero. */ -/*ARGSUSED*/ static unsigned long insert_bd (unsigned long insn, long value, @@ -607,7 +604,6 @@ return insn | (value & 0xfffc); } -/*ARGSUSED*/ static long extract_bd (unsigned long insn, int dialect ATTRIBUTE_UNUSED, @@ -629,7 +625,6 @@ in BO field, the "a" bit is 00010 for branch on CR(BI) and 01000 for branch on CTR. We only handle the taken/not-taken hint here. */ -/*ARGSUSED*/ static unsigned long insert_bdm (unsigned long insn, long value, @@ -675,7 +670,6 @@ This is like BDM, above, except that the branch is expected to be taken. */ -/*ARGSUSED*/ static unsigned long insert_bdp (unsigned long insn, long value, @@ -829,7 +823,6 @@ /* The DQ field in a DQ form instruction. This is like D, but the lower four bits are forced to zero. */ -/*ARGSUSED*/ static unsigned long insert_dq (unsigned long insn, long value, @@ -841,7 +834,6 @@ return insn | (value & 0xfff0); } -/*ARGSUSED*/ static long extract_dq (unsigned long insn, int dialect ATTRIBUTE_UNUSED, @@ -916,7 +908,6 @@ /* The DS field in a DS form instruction. This is like D, but the lower two bits are forced to zero. */ -/*ARGSUSED*/ static unsigned long insert_ds (unsigned long insn, long value, @@ -928,7 +919,6 @@ return insn | (value & 0xfffc); } -/*ARGSUSED*/ static long extract_ds (unsigned long insn, int dialect ATTRIBUTE_UNUSED, @@ -939,7 +929,6 @@ /* The DE field in a DE form instruction. */ -/*ARGSUSED*/ static unsigned long insert_de (unsigned long insn, long value, @@ -951,7 +940,6 @@ return insn | ((value << 4) & 0xfff0); } -/*ARGSUSED*/ static long extract_de (unsigned long insn, int dialect ATTRIBUTE_UNUSED, @@ -962,7 +950,6 @@ /* The DES field in a DES form instruction. */ -/*ARGSUSED*/ static unsigned long insert_des (unsigned long insn, long value, @@ -976,7 +963,6 @@ return insn | ((value << 2) & 0xfff0); } -/*ARGSUSED*/ static long extract_des (unsigned long insn, int dialect ATTRIBUTE_UNUSED, @@ -1049,7 +1035,6 @@ /* The LI field in an I form instruction. The lower two bits are forced to zero. */ -/*ARGSUSED*/ static unsigned long insert_li (unsigned long insn, long value, @@ -1061,7 +1046,6 @@ return insn | (value & 0x3fffffc); } -/*ARGSUSED*/ static long extract_li (unsigned long insn, int dialect ATTRIBUTE_UNUSED, @@ -1161,7 +1145,6 @@ /* The MB or ME field in an MD or MDS form instruction. The high bit is wrapped to the low end. */ -/*ARGSUSED*/ static unsigned long insert_mb6 (unsigned long insn, long value, @@ -1171,7 +1154,6 @@ return insn | ((value & 0x1f) << 6) | (value & 0x20); } -/*ARGSUSED*/ static long extract_mb6 (unsigned long insn, int dialect ATTRIBUTE_UNUSED, @@ -1196,7 +1178,6 @@ return insn | ((value & 0x1f) << 11); } -/*ARGSUSED*/ static long extract_nb (unsigned long insn, int dialect ATTRIBUTE_UNUSED, @@ -1215,7 +1196,6 @@ invalid, since we never want to recognize an instruction which uses a field of this type. */ -/*ARGSUSED*/ static unsigned long insert_nsi (unsigned long insn, long value, @@ -1267,7 +1247,6 @@ /* The RA field in the DQ form lq instruction, which has special value restrictions. */ -/*ARGSUSED*/ static unsigned long insert_raq (unsigned long insn, long value, @@ -1302,7 +1281,6 @@ function just copies the BT field into the BA field, and the extraction function just checks that the fields are the same. */ -/*ARGSUSED*/ static unsigned long insert_rbs (unsigned long insn, long value ATTRIBUTE_UNUSED, @@ -1325,7 +1303,6 @@ /* The RT field of the DQ form lq instruction, which has special value restrictions. */ -/*ARGSUSED*/ static unsigned long insert_rtq (unsigned long insn, long value, @@ -1340,7 +1317,6 @@ /* The RS field of the DS form stq instruction, which has special value restrictions. */ -/*ARGSUSED*/ static unsigned long insert_rsq (unsigned long insn, long value ATTRIBUTE_UNUSED, @@ -1354,7 +1330,6 @@ /* The SH field in an MD form instruction. This is split. */ -/*ARGSUSED*/ static unsigned long insert_sh6 (unsigned long insn, long value, @@ -1364,7 +1339,6 @@ return insn | ((value & 0x1f) << 11) | ((value & 0x20) >> 4); } -/*ARGSUSED*/ static long extract_sh6 (unsigned long insn, int dialect ATTRIBUTE_UNUSED,
- Previous message (by thread): [RFA] gas port for sh4a
- Next message (by thread): [patch] gas/config/obj-elf.c: Remove ARGSUSED.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list