mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
* arc-opc.c: Include bfd.h.
(arc_get_opcode_mach): Subtract off base bfd_mach value.
This commit is contained in:
parent
3b77b1d509
commit
d943fe33c6
@ -1,3 +1,8 @@
|
||||
2002-09-02 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* arc-opc.c: Include bfd.h.
|
||||
(arc_get_opcode_mach): Subtract off base bfd_mach value.
|
||||
|
||||
2002-08-30 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* v850-dis.c (disassemble): Remove bfd_mach_v850ea case.
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include "sysdep.h"
|
||||
#include <stdio.h>
|
||||
#include "ansidecl.h"
|
||||
#include "bfd.h"
|
||||
#include "opcode/arc.h"
|
||||
|
||||
#define INSERT_FN(fn) \
|
||||
@ -513,7 +514,7 @@ arc_get_opcode_mach (bfd_mach, big_p)
|
||||
ARC_MACH_7,
|
||||
ARC_MACH_8
|
||||
};
|
||||
return mach_type_map[bfd_mach] | (big_p ? ARC_MACH_BIG : 0);
|
||||
return mach_type_map[bfd_mach - bfd_mach_arc_5] | (big_p ? ARC_MACH_BIG : 0);
|
||||
}
|
||||
|
||||
/* Initialize any tables that need it.
|
||||
|
Loading…
Reference in New Issue
Block a user