This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [3.4/3.5 PATCH/RFA] Fix SH bootstrap failure (PR 15120)


On Apr 24, 2004, Kaz Kojima <kkojima@rr.iij4u.or.jp> wrote:

> -  alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
> +  alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
>      lt_cv_deplibs_check_method=pass_all ;;

This implies it's safe to link non-PIC into a shared library.  Is this
really the case for sh?  I'm not so sure.  It's not just a matter of
the linker supporting it; the dynamic linker must as well.

Maybe, if all we need is to link libgcc into libstdc++.so et al, we
should take a similar approach to the one implemented by Zack for
hppa, that matches filenames with file_magic.  See the patch he posted
on Apr 23.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]