Re: AIX PIC shared library support

Michael Haubenwallner <[email protected]>
Newsgroups gmane.comp.gnu.libtool.patches
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.