https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93117
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Richard Biener from comment #1) > Hmm, we now can parse the extened section stuff but simply > removing the check > > if (new_i - 1 >= SHN_LORESERVE) > { > *err = ENOTSUP; > return "Too many copied sections"; > } > > doesn't make it work (it just fails with an unknown failure mode). Related > to extended section index creation. Removing the check works for me.