From: Nick Clifton Date: Thu, 28 May 2020 13:30:34 +0000 (+0100) Subject: [PATCH] gas: Fix comment on definition of frag_grow() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e85f042a6eda1cd96cc95e66f80db95f28d4557;p=binutils-gdb.git [PATCH] gas: Fix comment on definition of frag_grow() * frags.c (frag_grow): Fix comment. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index c0b3dc88036..2f719e7c8c1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2020-05-28 Alex Coplan + + * frags.c (frag_grow): Fix comment. + 2020-05-27 Stephen Casner PR gas/26001 diff --git a/gas/frags.c b/gas/frags.c index 12cbe6c671b..c926ec3ba1e 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)