https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88262
--- Comment #17 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So the way i read it is crt1.o is still incorrect and not using the got for the addreas of main. Rather it is assuming it is inside the executable. Can you send a line to where the discussion of the glibc qrsh done? We can try to come up with if it is a glibc bug or not. Right now the assembly looks incorrect for this case. Which makes it a glibc issue rather than gcc issue.