aboutsummaryrefslogtreecommitdiff
path: root/gas/frags.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-05-28 14:30:34 +0100
committerNick Clifton <nickc@redhat.com>2020-05-28 14:30:34 +0100
commit9e85f042a6eda1cd96cc95e66f80db95f28d4557 (patch)
treeb268eb6086176c6fd3d705663e67adec0765a01e /gas/frags.c
parentcee00f171520eb85867230d4cbed34480c64e71e (diff)
downloadgdb-9e85f042a6eda1cd96cc95e66f80db95f28d4557.zip
gdb-9e85f042a6eda1cd96cc95e66f80db95f28d4557.tar.gz
gdb-9e85f042a6eda1cd96cc95e66f80db95f28d4557.tar.bz2
[PATCH] gas: Fix comment on definition of frag_grow()
* frags.c (frag_grow): Fix comment.
Diffstat (limited to 'gas/frags.c')
-rw-r--r--gas/frags.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/frags.c b/gas/frags.c
index 12cbe6c..c926ec3 100644
--- a/gas/frags.c
+++ b/gas/frags.c
@@ -89,9 +89,9 @@ frag_alloc (struct obstack *ob)
}
/* 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)