]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[PATCH] gas: Fix comment on definition of frag_grow()
authorNick Clifton <nickc@redhat.com>
Thu, 28 May 2020 13:30:34 +0000 (14:30 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 28 May 2020 13:30:34 +0000 (14:30 +0100)
* frags.c (frag_grow): Fix comment.

gas/ChangeLog
gas/frags.c

index c0b3dc88036a31c6105b9529254dd7f121380d04..2f719e7c8c19211755b3c1a9e8c3b5f77ad9339d 100644 (file)
@@ -1,3 +1,7 @@
+2020-05-28  Alex Coplan  <alex.coplan@arm.com>
+
+       * frags.c (frag_grow): Fix comment.
+
 2020-05-27  Stephen Casner  <casner@acm.org>
 
        PR gas/26001
index 12cbe6c671b77cfc06002d3d12e579a5a318eef6..c926ec3ba1ea5a92ca9966306c889ee27d95ea80 100644 (file)
@@ -89,9 +89,9 @@ frag_alloc (struct obstack *ob)
 }
 \f
 /* Try to augment current frag by nchars chars.
-   If there is no room, close of the current frag with a ".fill 0"
-   and begin a new frag. Unless the new frag has nchars chars available
-   do not return. Do not set up any fields of *now_frag.  */
+   If there is no room, close off the current frag with a ".fill 0"
+   and begin a new frag.  Then loop until the new frag has at least
+   nchars chars available.  Does not set up any fields in frag_now.  */
 
 void
 frag_grow (size_t nchars)