commit | 696a3b2a5368360c149335e2a35b8900a78f47fa | [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 | eea8a320e1299cbd76d3ffd9a1fe0e0d3313268b [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>