diff options
Diffstat (limited to 'src/arch/arm/v7/link.h')
-rw-r--r-- | src/arch/arm/v7/link.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/arch/arm/v7/link.h b/src/arch/arm/v7/link.h index 87bef54..9e52fe6 100644 --- a/src/arch/arm/v7/link.h +++ b/src/arch/arm/v7/link.h @@ -37,12 +37,12 @@ void handle_links_with_instruction_b_with_orig(GArchInstruction *, GArmV7Context static inline void handle_links_with_instruction_b_from_arm(GArchInstruction *ins, GArmV7Context *ctx, GBinFormat *fmt) { - handle_links_with_instruction_b_with_orig(ins, ctx, fmt, AV7IS_THUMB); + handle_links_with_instruction_b_with_orig(ins, ctx, fmt, AV7IS_ARM); } static inline void handle_links_with_instruction_b_from_thumb(GArchInstruction *ins, GArmV7Context *ctx, GBinFormat *fmt) { - handle_links_with_instruction_b_with_orig(ins, ctx, fmt, AV7IS_ARM); + handle_links_with_instruction_b_with_orig(ins, ctx, fmt, AV7IS_THUMB); } @@ -77,6 +77,21 @@ static inline void handle_links_with_instruction_blx_from_thumb(GArchInstruction /* Complète un désassemblage accompli pour une instruction. */ +void handle_links_with_instruction_bx_with_orig(GArchInstruction *, GArmV7Context *, GBinFormat *, ArmV7InstrSet); + + +static inline void handle_links_with_instruction_bx_from_arm(GArchInstruction *ins, GArmV7Context *ctx, GBinFormat *fmt) +{ + handle_links_with_instruction_bx_with_orig(ins, ctx, fmt, AV7IS_ARM); +} + +static inline void handle_links_with_instruction_bx_from_thumb(GArchInstruction *ins, GArmV7Context *ctx, GBinFormat *fmt) +{ + handle_links_with_instruction_bx_with_orig(ins, ctx, fmt, AV7IS_THUMB); +} + + +/* Complète un désassemblage accompli pour une instruction. */ void handle_links_with_instruction_cb_n_z(GArchInstruction *, GArmV7Context *, GBinFormat *); /* Complète un désassemblage accompli pour une instruction. */ |