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

Jan Beulich <[email protected]>
Newsgroups gmane.comp.gnu.binutils
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.