This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Enable PIC for mips*-*-*
On Sat, Nov 17, 2001 at 02:46:13AM -0200, Alexandre Oliva wrote:
> On Nov 17, 2001, "H . J . Lu" <hjl@lucon.org> wrote:
>
> > That is not what I want. My patch applies ALL Linux. No Linux should
> > use pass_all at all.
>
> Then why do you duplicate the features of pass_all in the file_magic
> branch?
I don't think so. Before my patch, --enable-shared will result in
libiberty/pic/libiberty.a used for linking executables. I want
libiberty/libiberty.a for that.
>
> >> But it won't build correctly with --enable-shared on other platforms
> >> that don't accept PDC in shared libraries.
>
> > That is not my problem :-).
>
> After your patch, binutils won't build correctly on glibc-2.1-based
> ARM/Linux. Perhaps this is your problem, after all?
>
My libtool.m4 change should have no change for ARM/Linux. The only
change is ltmain.sh, which allows linking against an archive when
building a shared library. I don't think it should be a problem. I
am very curious why ARM/Linux fails. If someone gives me a ARM/Linux,
I will look into it.
H.J.