libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AIX PIC shared library support


From: Michael Haubenwallner
Subject: Re: AIX PIC shared library support
Date: Tue, 21 Aug 2012 08:54:28 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120327 Thunderbird/10.0.3

On 08/20/2012 07:12 PM, David Edelsohn wrote:
> The GCC -fpic/-fPIC option has evolved to mean code generation for a
> shared library and changes the optimization behavior of the compiler.
> Code for AIX PowerPC always is PIC, but the optimization behavior is
> affecting AIX.
> 
> libtool exports all global symbols on AIX while GCC binds_local_p()
> determines that some function calls are local, causing GCC to emit the
> local (non-external) form of function calls, which generates AIX
> linker warnings.

Do you mean this kind of linker warnings?

        The branch at address 0x13c is not followed by a recognized no-op
        or TOC-reload instruction. The unrecognized instruction is 0x0.

If yes, this feels interesting for http://gcc.gnu.org/PR38607 too.

/haubi/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]