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

liu zhensong via Binutils-cvs <[email protected]>
Newsgroups gmane.comp.gnu.binutils.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e4df83c1e4d76ee6372935970153d727d147bb79

commit e4df83c1e4d76ee6372935970153d727d147bb79
Author: mengqinggang <[email protected]>
Date:   Tue Aug 18 15:19:20 2026 +0800

    gas: Fix copy-paste error in struct frag comment
    
    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.

Diff:
---
 gas/frags.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gas/frags.h b/gas/frags.h
index ebb6fa626ac..dded4bb33f1 100644
--- 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, if any.  */
   symbolS *fr_symbol;
   /* Points to opcode low addr byte, for relaxation.  */
   char *fr_opcode;
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.