commit | 0de9cc5765ae095c81b710ae04637f48464dfa9d | [log] [tgz] |
---|---|---|
author | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Tue Feb 12 22:22:13 2013 +0100 |
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Tue Feb 12 22:22:13 2013 +0100 |
tree | ebad9e8ee6bfd035c5b9b10a965ae77f129df305 | |
parent | bd4277ddc3c08f9e279d99dcafa76d23c67ae726 [diff] |
MIPS: start.S: optimize BSS initialization Get the start and end address for clearing BSS from the newly introduced symbols __bss_start and __bss_end. After GOT is relocated, those symbols are already pointing to the correct addresses. Also optimize the loop by moving the address incrementation to the delay slot to avoid the initial sub instruction. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>