]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
aarch64: simplify condition in elfNN_aarch64_merge_gnu_properties
authorMatthieu Longo <matthieu.longo@arm.com>
Thu, 28 Nov 2024 15:36:51 +0000 (15:36 +0000)
committerMatthieu Longo <matthieu.longo@arm.com>
Mon, 2 Dec 2024 15:18:40 +0000 (15:18 +0000)
commitb4377af729850cfda7b59d4349428af2f0bf8cdb
tree59621236c5cc402c6aa270df041d3f6fe9c9bf2e
parentaa993e9731bff2033633f034d2e37c74d00d17f3
aarch64: simplify condition in elfNN_aarch64_merge_gnu_properties

The current condition used to check if a GNU feature property is set
on an input object before the merge is a bit confusing.

  (aprop && !<something about aprop>) || !aprop

It seems easier to understand if it is changed as follows:

  (!aprop || !<something about aprop>)
bfd/elfnn-aarch64.c