commit | 573819e3433278cde17e7b93e101e59e96f19ccf | [log] [tgz] |
---|---|---|
author | Nicholas Piggin <npiggin@gmail.com> | Wed Sep 28 11:31:47 2016 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Oct 04 13:06:55 2016 +1100 |
tree | 475f117ca37f5045a820569c40a054cb9ad68b68 | |
parent | be642c3457e75983be6f1f4bddcc77c9e2ed4650 [diff] |
powerpc/64: Change the way relocation copy is calculated With a subsequent patch to put text into different sections, (_end - _stext) can no longer be computed at link time to determine the end of the copy. Instead, calculate it at runtime with (copy_to_here - _stext) + (_end - copy_to_here). Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>