[PATCH] gas: Fix copy-paste error in struct frag comment

Jan Beulich jbeulich@suse.com
Tue Aug 18 06:46:31 GMT 2026


On 17.08.2026 03:12, mengqinggang wrote:
> The comments for fr_offset and fr_symbol in struct frag were misleading.
> fr_symbol is used to store the symbol associated with the frag,
> not for the variable-length tail.

Okay, albeit I'm inclined to suggest to ...

> --- a/gas/frags.h
> +++ b/gas/frags.h
> @@ -48,7 +48,7 @@ struct frag {
>    offsetT fr_var;
>    /* For variable-length tail.  */
>    offsetT fr_offset;
> -  /* For variable-length tail.  */
> +  /* Symbol associated with the frag.  */

... add "..., if any."

Jan


More information about the Binutils mailing list