summaryrefslogtreecommitdiff
path: root/arch/powerpc/xmon/ppc.h
diff options
context:
space:
mode:
authorBalbir Singh <bsingharora@gmail.com>2017-02-02 08:03:44 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2017-02-15 12:02:42 +0300
commit5b102782c7f460d88b42d504c78755eeb030894a (patch)
tree4e6e7187eacee3d4e1a4616c5c8a772a28f4f39d /arch/powerpc/xmon/ppc.h
parent08d96e0b127e07c3b90e10f1939caf70b456793e (diff)
downloadlinux-5b102782c7f460d88b42d504c78755eeb030894a.tar.xz
powerpc/xmon: Enable disassembly files (compilation changes)
After updating ppc-dis.c, ppc-opc.c and ppc.h the following changes were made to enable compilation and working of xmon: 1. Remove all disassembler_info 2. Use xmon's printf/print_address to output data and addresses respectively. 3. All bfd_* types and casts have been removed. 4. Optimizations related to opcd_indices have been removed. 5. The dialect is set based on cpu features. 6. PPC_OPCODE_CLASSIC is no longer supported in the new disassembler. 7. VLE opcode parsing and printing has been stripped. 8. Coding style conventions used for those routines has been retained and it does not match our CodingStyle. 9. The highest supported dialect is POWER9. 10. Defined ATTRIBUTE_UNUSED in ppc-dis.c. 11. Defined _(x) in ppc-dis.c. Finally, we remove the dependency on BROKEN so that XMON_DISASSEMBLY can be enabled again. Signed-off-by: Balbir Singh <bsingharora@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/xmon/ppc.h')
-rw-r--r--arch/powerpc/xmon/ppc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/xmon/ppc.h b/arch/powerpc/xmon/ppc.h
index 29c385f8e115..d00f33dcf192 100644
--- a/arch/powerpc/xmon/ppc.h
+++ b/arch/powerpc/xmon/ppc.h
@@ -21,8 +21,6 @@ Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, US
#ifndef PPC_H
#define PPC_H
-#include "bfd_stdint.h"
-
#ifdef __cplusplus
extern "C" {
#endif