From: Alan Modra Date: Tue, 2 Sep 2025 12:38:29 +0000 (+0930) Subject: make frag fr_type a bitfield X-Git-Tag: gdb-17-branchpoint~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=11e5824cda9f8d94f6982124eb2c231dfab77bee;p=thirdparty%2Fbinutils-gdb.git make frag fr_type a bitfield For better packing of struct frag. * frags.h (struct frag ): Use ENUM_BITFIELD. --- diff --git a/gas/frags.h b/gas/frags.h index c2fea09a8f6..ac245b4c951 100644 --- a/gas/frags.h +++ b/gas/frags.h @@ -78,7 +78,7 @@ struct frag { unsigned int insn_addr:6; /* What state is my tail in? */ - relax_stateT fr_type; + ENUM_BITFIELD (_relax_state) fr_type : 8; relax_substateT fr_subtype; #ifdef USING_CGEN