From 11e5824cda9f8d94f6982124eb2c231dfab77bee Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 2 Sep 2025 22:08:29 +0930 Subject: [PATCH] make frag fr_type a bitfield For better packing of struct frag. * frags.h (struct frag ): Use ENUM_BITFIELD. --- gas/frags.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3