I have getting segmentation fault in _setup.c in rtld in code when ld.so.1 is doing self relocation. I am playing with Sparc and i386 both. I am trying to understand the ld.so.1 on various plateform. I think this is due to changes permission of data segment(RWX to RW). Could you please tell me this is due to permissions or some other problems. Could you please explain me how is self relocation of ld.so.1 is done and is this architecture dependent . I have seen the code of self relocation of ld.so.1 in _setup.c for i386,sparc,amd64,I think there is no difference with these arcitecture self relocation code except rel or rela. am I right or not.
regards verma This message posted from opensolaris.org