[PATCH, binutils/ARM] Remove ARM_FEATURE_COPY macro

Thomas Preudhomme thomas.preudhomme@foss.arm.com
Tue Feb 27 13:55:00 GMT 2018


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.

ChangeLog entries are as follows:

*** include/ChangeLog ***

2018-02-19  Thomas Preud'homme  <thomas.preudhomme@arm.com>

	* opcode/arm.h (ARM_FEATURE_COPY): Remove macro definition.

*** opcodes/ChangeLog ***

2018-02-19  Thomas Preud'homme  <thomas.preudhomme@arm.com>

	* arm-dis.c (print_insn_coprocessor): Replace uses of ARM_FEATURE_COPY
	macro by assignements.

Testing: Built binutils for arm-none-eabi target and testsuite shows no

Ok for master branch?

Best regards,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_arm_feature_copy_macro.patch
Type: text/x-patch
Size: 1393 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20180227/4a9b24c8/attachment.bin>

More information about the Binutils mailing list