This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PowerPC32 .gnu.attributes in crt files
On Fri, 18 Feb 2011, Alan Modra wrote:
> On Thu, Feb 17, 2011 at 06:00:24PM +0000, Joseph S. Myers wrote:
> > Do you really have a use case where you want to
> > use glibc's crt*.o files but no other static or shared libraries from
> > glibc?
>
> Yes, soft-float and other multi-libs built for gcc. For instance, we
> build a soft-float version of libgcc_s.so. This is linked with
> -nodefaultlibs so we just use /usr/lib/crti.o and /usr/lib/crtn.o
> from glibc.
The problem is that those are built by default; it makes no sense to build
such multilibs without an appropriate sysroot and SYSROOT_SUFFIX_SPEC and
they are not useful without an associated libc.
--
Joseph S. Myers
joseph@codesourcery.com