mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-07 10:33:30 +00:00
Rename x86.new assembler to x86.tab
This stands for "table lookup assembler".
This commit is contained in:
parent
4590039eb9
commit
43f240520e
@ -37,7 +37,7 @@ ASM_EXTRA += <include>arch/arm/aarch64/ ;
|
||||
ASM_OBJS += p/asm_8051.c p/asm_tms320.c p/asm_gb.c p/asm_ppc.c p/asm_x86.c ;
|
||||
ASM_OBJS += p/asm_arc.c p/asm_csr.c p/asm_i8080.c p/asm_x86_as.c ;
|
||||
ASM_OBJS += p/asm_arm_cs.c p/asm_arm_gnu.c p/asm_dalvik.c p/asm_java.c p/asm_rar.c p/asm_x86_nasm.c ;
|
||||
ASM_OBJS += p/asm_arm_winedbg.c p/asm_dcpu16.c p/asm_m68k.c p/asm_sh.c p/asm_x86_nz.c p/asm_x86_new.c ;
|
||||
ASM_OBJS += p/asm_arm_winedbg.c p/asm_dcpu16.c p/asm_m68k.c p/asm_sh.c p/asm_x86_nz.c p/asm_x86_tab.c ;
|
||||
ASM_OBJS += p/asm_avr.c p/asm_ebc.c p/asm_mips_gnu.c p/asm_mips_cs.c p/asm_snes.c p/asm_x86_olly.c ;
|
||||
ASM_OBJS += p/asm_bf.c p/asm_gas.c p/asm_msil.c p/asm_sparc.c p/asm_z80.c ;
|
||||
# ASM_OBJS += arch/msil/demsil.c ;
|
||||
|
@ -1360,9 +1360,9 @@ static int assemble(RAsm *a, RAsmOp *ao, const char *str) {
|
||||
return write_asm(data, opcode_ptr, operands);
|
||||
}
|
||||
|
||||
RAsmPlugin r_asm_plugin_x86_new = {
|
||||
.name = "x86.new",
|
||||
.desc = "x86 handmade new assembler",
|
||||
RAsmPlugin r_asm_plugin_x86_tab = {
|
||||
.name = "x86.tab",
|
||||
.desc = "x86 table lookup assembler",
|
||||
.license = "LGPL3",
|
||||
.arch = "x86",
|
||||
.bits = 32, // maybe later: 16, 64
|
||||
@ -1376,6 +1376,6 @@ RAsmPlugin r_asm_plugin_x86_new = {
|
||||
#ifndef CORELIB
|
||||
struct r_lib_struct_t radare_plugin = {
|
||||
.type = R_LIB_TYPE_ASM,
|
||||
.data = &r_asm_plugin_x86_new
|
||||
.data = &r_asm_plugin_x86_tab
|
||||
};
|
||||
#endif
|
@ -1,9 +0,0 @@
|
||||
OBJ_X86_NEW=asm_x86_new.o
|
||||
|
||||
STATIC_OBJ+=${OBJ_X86_NEW}
|
||||
TARGET_X86_NEW=asm_x86_new.${EXT_SO}
|
||||
|
||||
ALL_TARGETS+=${TARGET_X86_NEW}
|
||||
|
||||
${TARGET_X86_NEW}: ${OBJ_X86_NEW}
|
||||
${CC} $(call libname,asm_x86_new) ${LDFLAGS} ${CFLAGS} -o ${TARGET_X86_NEW} ${OBJ_X86_NEW}
|
9
libr/asm/p/x86_tab.mk
Normal file
9
libr/asm/p/x86_tab.mk
Normal file
@ -0,0 +1,9 @@
|
||||
OBJ_X86_TAB=asm_x86_tab.o
|
||||
|
||||
STATIC_OBJ+=${OBJ_X86_TAB}
|
||||
TARGET_X86_TAB=asm_x86_tab.${EXT_SO}
|
||||
|
||||
ALL_TARGETS+=${TARGET_X86_TAB}
|
||||
|
||||
${TARGET_X86_TAB}: ${OBJ_X86_TAB}
|
||||
${CC} $(call libname,asm_x86_tab) ${LDFLAGS} ${CFLAGS} -o ${TARGET_X86_TAB} ${OBJ_X86_TAB}
|
@ -166,7 +166,7 @@ extern RAsmPlugin r_asm_plugin_mips_cs;
|
||||
extern RAsmPlugin r_asm_plugin_x86_udis;
|
||||
extern RAsmPlugin r_asm_plugin_x86_as;
|
||||
extern RAsmPlugin r_asm_plugin_x86_nz;
|
||||
extern RAsmPlugin r_asm_plugin_x86_new;
|
||||
extern RAsmPlugin r_asm_plugin_x86_tab;
|
||||
extern RAsmPlugin r_asm_plugin_x86_olly;
|
||||
extern RAsmPlugin r_asm_plugin_x86_nasm;
|
||||
extern RAsmPlugin r_asm_plugin_x86_cs;
|
||||
|
@ -70,7 +70,7 @@ asm.tms320
|
||||
asm.v850
|
||||
asm.ws
|
||||
asm.x86_cs
|
||||
asm.x86_new
|
||||
asm.x86_tab
|
||||
asm.x86_nz
|
||||
asm.x86_olly
|
||||
asm.x86_udis
|
||||
|
@ -8,7 +8,7 @@ asm.mips
|
||||
asm.x86
|
||||
asm.x86_olly
|
||||
asm.x86_nz
|
||||
asm.x86_new
|
||||
asm.x86_tab
|
||||
anal.x86_udis
|
||||
anal.arm
|
||||
anal.mips
|
||||
|
@ -14,7 +14,7 @@ asm.arm_cs
|
||||
asm.dalvik
|
||||
asm.mips_cs
|
||||
asm.x86_nz
|
||||
asm.x86_new
|
||||
asm.x86_tab
|
||||
asm.x86_cs
|
||||
asm.gb
|
||||
anal.null
|
||||
|
Loading…
Reference in New Issue
Block a user