
21 Oct
2007
21 Oct
'07
3:22 a.m.
Sorry for late.
Vlad Lungu wrote:
$gp is loaded with _gp the GOT is updated starting from _G_O_T_+8 up to (but not including) __got_end __got_start is unused num_got_entries is unused and could be removed from ld scripts
I'll take this fix except for removing __got_start and num_got_entries. I know you want to make it work whether __got_start is out of alignment or not, but that is a little mess. We should fix num_got_entries part instead, and update GOT entries using _GLOBAL_OFFSET_TABLE_ and num_got_entries. This is easily understandable and straight forward :-)
I've submitted patches. Plase review.
thanks,
Shinya