https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117997
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Note, the https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118415#c2 patch fixes this by using section anchors. Which doesn't mean the linker isn't buggy.