moved to disas.c
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@223 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
d30329297b
commit
8dd7cb0621
13
alpha-dis.c
13
alpha-dis.c
@ -248,19 +248,6 @@ enum bfd_reloc_code_real {
|
|||||||
BFD_RELOC_ALPHA_HINT
|
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
|
/* This file holds the Alpha AXP opcode table. The opcode table includes
|
||||||
almost all of the extended instruction mnemonics. This permits the
|
almost all of the extended instruction mnemonics. This permits the
|
||||||
disassembler to use them, and simplifies the assembler logic, at the
|
disassembler to use them, and simplifies the assembler logic, at the
|
||||||
|
Loading…
Reference in New Issue
Block a user