summaryrefslogtreecommitdiffstats
path: root/arch/mips/lib
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-09-17 08:24:25 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-09-17 09:33:54 +0200
commitcec347bff0f2225540a8c188835978d46ab35790 (patch)
tree4d041f8aaa0f478763864b242a0565b2bdcc9f01 /arch/mips/lib
parent1bcddfb3215c27a87e86190cf492aaa68fd0019f (diff)
downloadbarebox-cec347bff0f2225540a8c188835978d46ab35790.tar.gz
barebox-cec347bff0f2225540a8c188835978d46ab35790.tar.xz
ARM: Multi PBL: Fix image calculation for certain toolchains
The current way to calculate the compressed image position works with the OSELAS toolchains, but not with the Debian/Ubuntu toolchains. For these toolchains &image_end_marker already returns the correct address, adding global_variable_offset() to it is wrong. The solution seems to be to put the image_end_marker into a different object file so that the compiler cannot play any tricks to resolve the address internally in the object file. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/lib')
0 files changed, 0 insertions, 0 deletions