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