why there are twice relocations on ld.so?

Daniel Jacobowitz drow@mvista.com
Thu Apr 11 18:09:00 GMT 2002


On Fri, Apr 12, 2002 at 09:06:20AM +0800, ???? wrote:
> and the second relocation takeplace in router dl_main,source code as follow:

> 	  /* There was an explicit ref to the dynamic linker as a shared lib.
> 	   Re-relocate ourselves with user-controlled symbol definitions.  */

There's your answer.  In case any symbols the linker references were
diverted by the application.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



More information about the Binutils mailing list