You should have received a copy of the GNU General Public License along
with this file; see the file COPYING. If not, write to the Free
- Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+ Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301,
USA. */
#include <stdlib.h>
int show_raw_fields;
-static int fetch_data
- PARAMS ((struct disassemble_info *, bfd_vma));
-static void print_xtensa_operand
- PARAMS ((bfd_vma, struct disassemble_info *, xtensa_opcode, int, unsigned));
-
struct dis_private
{
bfd_byte *byte_buf;
static int
-fetch_data (info, memaddr)
- struct disassemble_info *info;
- bfd_vma memaddr;
+fetch_data (struct disassemble_info *info, bfd_vma memaddr)
{
int length, status = 0;
struct dis_private *priv = (struct dis_private *) info->private_data;
static void
-print_xtensa_operand (memaddr, info, opc, opnd, operand_val)
- bfd_vma memaddr;
- struct disassemble_info *info;
- xtensa_opcode opc;
- int opnd;
- unsigned operand_val;
+print_xtensa_operand (bfd_vma memaddr,
+ struct disassemble_info *info,
+ xtensa_opcode opc,
+ int opnd,
+ unsigned operand_val)
{
xtensa_isa isa = xtensa_default_isa;
int signed_operand_val;
Returns length of the instruction in bytes. */
int
-print_insn_xtensa (memaddr, info)
- bfd_vma memaddr;
- struct disassemble_info *info;
+print_insn_xtensa (bfd_vma memaddr, struct disassemble_info *info)
{
unsigned operand_val;
int bytes_fetched, size, maxsize, i, n, noperands, nslots;
priv.byte_buf = byte_buf;
- info->private_data = (PTR) &priv;
+ info->private_data = (void *) &priv;
if (setjmp (priv.bailout) != 0)
/* Error return. */
return -1;