bfd: avoid infinite loop when static linking XCOFF
authorClément Chigot <clement.chigot@atos.net>
Tue, 13 Apr 2021 06:32:55 +0000 (08:32 +0200)
committerAlan Modra <amodra@gmail.com>
Tue, 13 Apr 2021 08:53:39 +0000 (18:23 +0930)
commitd2f1139ef0c006f35210fac76cb034cfe8d57c2e
treea3df665f58341934b54f4d8b21005e3b54154a3b
parent1cfc6f00e45104551da9146bb413b60acd0e387f
bfd: avoid infinite loop when static linking XCOFF

git commit b95a0a3177bc changed a "return FALSE" to "continue", and
missed updating the while loop iterator.

* xcofflink.c (xcoff_link_check_ar_symbols): Update esym earlier.
bfd/ChangeLog
bfd/xcofflink.c