author | Zhi-zhou Zhang <zhizhou.zh@gmail.com> | |
Sat, 24 Nov 2012 05:07:12 +0000 (05:07 +0000) | ||
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | |
Sat, 8 Dec 2012 20:33:07 +0000 (21:33 +0100) | ||
commit | 0d69d918abff1437c78610dac8b18e8f91917674 | |
tree | 24a6ae635e0cb483a2de93e25bb9729224fcf975 | tree | snapshot (tar.xz tar.gz zip) |
parent | fd4d564b3c80b111f18c93adb14233a6a7ddb0e9 | commit | diff |
MIPS: fix a latent bug on initialize $gp
If bal is 8 bytes aligned, the _gp will not be 8 bytes aligned.
then the following ld insntrustion generates a Adel exception.
So here make _gp be always aligned in 8 bytes.
Signed-off-by: Zhi-zhou Zhang <zhizhou.zh@gmail.com>
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
If bal is 8 bytes aligned, the _gp will not be 8 bytes aligned.
then the following ld insntrustion generates a Adel exception.
So here make _gp be always aligned in 8 bytes.
Signed-off-by: Zhi-zhou Zhang <zhizhou.zh@gmail.com>
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
arch/mips/cpu/mips64/start.S | diff | blob | history |