]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[AArch64][SVE 12/32] Make more use of bfd_boolean
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 21 Jun 2016 19:38:37 +0000 (20:38 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Tue, 23 Aug 2016 08:41:02 +0000 (09:41 +0100)
commit63055414b53fd00e2eb918a3d09d0e31903388b0
tree7f48b5e3ccd1e3fa426534f5991901b0a82290a2
parent389db08a9b3c75250be8579515699d744489a9eb
[AArch64][SVE 12/32] Make more use of bfd_boolean

Following on from the previous patch, which converted the
aarch64_reg_parse_32_64 parameters to bfd_booleans, this one
does the same for parse_address_main and parse_address.
It also documents the parameters.

This isn't an attempt to convert the whole file to use bfd_booleans
more often.  It's simply trying to avoid inconsistencies with new
SVE parameters.

gas/
* config/tc-aarch64.c (parse_address_main): Turn reloc and
accept_reg_post_index into bfd_booleans.  Add commentary.
(parse_address_reloc): Update accordingly.  Add commentary.
(parse_address): Likewise.  Also change accept_reg_post_index
into a bfd_boolean here.
(parse_operands): Update calls accordingly.

Change-Id: Ia8f585035886401fe282377bb32c4192329896e4
gas/config/tc-aarch64.c