mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
* arc-opc.c: Include bfd.h.
(arc_get_opcode_mach): Subtract off base bfd_mach value.
This commit is contained in:
@ -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>
|
2002-08-30 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* v850-dis.c (disassemble): Remove bfd_mach_v850ea case.
|
* v850-dis.c (disassemble): Remove bfd_mach_v850ea case.
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#include "sysdep.h"
|
#include "sysdep.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "ansidecl.h"
|
#include "ansidecl.h"
|
||||||
|
#include "bfd.h"
|
||||||
#include "opcode/arc.h"
|
#include "opcode/arc.h"
|
||||||
|
|
||||||
#define INSERT_FN(fn) \
|
#define INSERT_FN(fn) \
|
||||||
@ -513,7 +514,7 @@ arc_get_opcode_mach (bfd_mach, big_p)
|
|||||||
ARC_MACH_7,
|
ARC_MACH_7,
|
||||||
ARC_MACH_8
|
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.
|
/* Initialize any tables that need it.
|
||||||
|
Reference in New Issue
Block a user