[Bug driver/88262] gcc uses crt1.o in place of Scrt1.o when the main function is in a PIC shared lib

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 20 03:46:00 GMT 2018


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.


More information about the Gcc-bugs mailing list