From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David S. Miller" To: hjl@nynexst.com Cc: ian@cygnus.com, gas2@cygnus.com Subject: Re: An ld bug? Date: Tue, 03 Oct 1995 08:43:00 -0000 Message-id: <199510031543.LAA00584@huahaga.rutgers.edu> References: <9510031520.AA26422@nynexst.com> X-SW-Source: 1995/msg00176.html From: hjl@nynexst.com (H.J. Lu) Date: Tue, 3 Oct 95 11:20:49 EDT >From my Solaris 2.3 linker manual, on page 12 regarding "Archive Processing", it says the link-editor will extract a relocatable object from an archive if it contains a data symbol definition that satisfies a common symbol definition. I think that makes sense. Maybe it has been changed in Solaris 2.4/2.5. The linker provided with the new beta solaris2.5 SUNWspro C4.0 gives the elf behavior you are expecting where only referenced objects get extracted from an archive, for what it's worth... Later, David S. Miller davem@caip.rutgers.edu