This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: rs6000.c tests TREE_ASM_WRITTEN too early.
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: rs6000.c tests TREE_ASM_WRITTEN too early.
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Thu, 28 Dec 2000 14:41:28 -0500
- cc: Dave Korn <davek-ml at ntlworld dot com>, gcc-patches at gcc dot gnu dot org
>>>>> Richard Henderson writes:
Richard> At least for sysv4 you probably also need to be checking flag_pic,
Richard> since a non-static function in a shared library can still be
Richard> overridden. I don't know if the semantics of AIX shared libraries
Richard> differ.
Richard> Unless of course the linker is smart enough to make sure that the
Richard> short branch makes it to a PLT stub...
AIX does not have the equivalent of LD_PRELOAD. During the
link-edit phase on AIX, all local symbols are resolved directly. One can
override references to external global symbols, but not internal global
symbols.
Thanks, David