#include <stdio.h>
#include "dis-asm.h"
-#define ATTRIBUTE_UNUSED __attribute__((unused))
-#define _(x) x
-
/* The opcode table is an array of struct alpha_opcode. */
struct alpha_opcode
BFD_RELOC_ALPHA_HINT
};
-bfd_vma
-bfd_getl32 (addr)
- register const bfd_byte *addr;
-{
- unsigned long v;
-
- v = (unsigned long) addr[0];
- v |= (unsigned long) addr[1] << 8;
- v |= (unsigned long) addr[2] << 16;
- v |= (unsigned long) addr[3] << 24;
- return (bfd_vma) v;
-}
-
/* This file holds the Alpha AXP opcode table. The opcode table includes
almost all of the extended instruction mnemonics. This permits the
disassembler to use them, and simplifies the assembler logic, at the
/* The signed "23-bit" aligned displacement of Branch format insns */
#define BDISP (MDISP + 1)
- { 21, 0, BFD_RELOC_23_PCREL_S2,
+ { 21, 0, BFD_RELOC_23_PCREL_S2,
AXP_OPERAND_RELATIVE, insert_bdisp, extract_bdisp },
/* The 26-bit PALcode function */