mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 01:50:48 +00:00
[ARM] Remove ARM_FEATURE_COPY macro
Among the macros to manipulate an arm_feature_set structure is the ARM_FEATURE_COPY which copy the value of a feature set into another. This can be achieved with a simple assignement which most of the existing code does. This patch removes the last 2 uses of that macro and remove the macro altogether. 2018-02-27 Thomas Preud'homme <thomas.preudhomme@arm.com> include/ * opcode/arm.h (ARM_FEATURE_COPY): Remove macro definition. 2018-02-27 Thomas Preud'homme <thomas.preudhomme@arm.com> opcodes/ * arm-dis.c (print_insn_coprocessor): Replace uses of ARM_FEATURE_COPY macro by assignements.
This commit is contained in:
@@ -3393,7 +3393,7 @@ print_insn_coprocessor (bfd_vma pc,
|
||||
struct arm_private_data *private_data = info->private_data;
|
||||
arm_feature_set allowed_arches = ARM_ARCH_NONE;
|
||||
|
||||
ARM_FEATURE_COPY (allowed_arches, private_data->features);
|
||||
allowed_arches = private_data->features;
|
||||
|
||||
for (insn = coprocessor_opcodes; insn->assembler; insn++)
|
||||
{
|
||||
@@ -3419,7 +3419,7 @@ print_insn_coprocessor (bfd_vma pc,
|
||||
continue;
|
||||
|
||||
case SENTINEL_GENERIC_START:
|
||||
ARM_FEATURE_COPY (allowed_arches, private_data->features);
|
||||
allowed_arches = private_data->features;
|
||||
continue;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user