
14 Oct
2007
14 Oct
'07
9 p.m.
Shinya Kuribayashi wrote:
This is caused by lacking of -G0 in PLATFORM_LDFLAGS. I'm preparing a patch as below, and will submit for review in the near future.
There is nothing wrong with having sdata/scommon/sbbs. I was just pointing out that _gp and _G_O_T_ are not conceptually the same and if they are not equal, then the whole thing blows up with the current cpu/mips/start.S. See http://www.nabble.com/-PATCH--Fixed-the-_gp-_G_O_T_-confusion-for-good-tf461...
As long as there is nothing between the .got section and __got_end, it works, regardless of the alignment of _gp or __got_start(or even his presence) and num_got_entries is redundant at this point.
Vlad