https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114337
Alexander Monakov <amonakov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #5 from Alexander Monakov <amonakov at gcc dot gnu.org> --- Gold handles such rescanning correctly. BFD ld regressed in 2.27, this bugreport contains references to previous discussions about rescanning: https://sourceware.org/bugzilla/show_bug.cgi?id=23935 (in the above bug there's a patch for ld.bfd that seemingly went nowhere)