This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: rs6000.c tests TREE_ASM_WRITTEN too early.


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]