Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!wuarchive!swbatl!texbell!cs.utexas.edu!milano!bigtex!james From: james@bigtex.cactus.org (James Van Artsdalen) Newsgroups: gnu.gcc.bug Subject: Re: Bug in 'robotussin' - 'reloc reference to ignored symbol' Summary: Not a bug Keywords: gcc, robotussin, USG, Altos Message-ID: <19239@bigtex.cactus.org> Date: 22 Jul 89 06:25:26 GMT References: <3553@altos86.Altos.COM> Reply-To: james@bigtex.cactus.org (James Van Artsdalen) Organization: Institute of Applied Cosmology, Austin TX Lines: 25 In <3553@altos86.Altos.COM>, dtynan@altos86.Altos.COM (Dermot Tynan) wrote: > 1 altos86# ls -lF /lib/crt?.o > -rw-rw-r-- 1 bin sys 496 Feb 12 1988 /lib/crt0.o > -rw-rw-r-- 1 bin sys 604 Feb 12 1988 /lib/crt1.o > -rw-rw-r-- 1 bin sys 364 Feb 12 1988 /lib/crtn.o > 2 altos86# gnu robotussin /lib/crt0.o /usr/local/lib/gcc-crt0.o > 3 altos86# gnu robotussin /lib/crt1.o /usr/local/lib/gcc-crt1.o > robotussin: Oops! possible bug - reloc reference to ignored symbol > 4 altos86# gnu robotussin /lib/crtn.o /usr/local/lib/gcc-crtn.o robotussin doesn't handle the .init section in COFF files. It doesn't need to, because GNU ld doesn't handle shared libraries. It appears that the .init section is not used except by shared libraries. > In the meantime, has anyone else seen this problem? What is crt1.o used > for, that isn't covered in 'crt0.o'. crt1.o and crtn.o are required for using shared libraries. crt0.o may be used if you don't use shared libraries. Since GNU ld doesn't handle SysV shared libraries, there's no point in robotussining crt1.o or crtn.o. Just use crt0.o. -- James R. Van Artsdalen james@bigtex.cactus.org "Live Free or Die" Dell Computer Co 9505 Arboretum Blvd Austin TX 78759 512-338-8789