[PATCH,V6 01/10] ctf-frame.h: Add CTF Frame format definition

Nick Clifton nickc@redhat.com
Mon Aug 15 12:04:46 GMT 2022

Hi Indu,

   [Sorry for the delay in reviewing these patches].

> +  uint8_t ctfp_flags;	/* Flags.  */
> +} __attribute__ ((packed)) ctf_frame_preamble;

I would suggest using the ATTRIBUTE_PACKED define here (from ansidecl.h)
so that the header can be compiled with non-gcc compilers if necessary.
(And likewise for the other uses of __attribute__((packed)) in ctf-frame.h).


More information about the Binutils mailing list