diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-09-17 08:24:25 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-09-18 07:41:29 +0200 |
commit | 537a18b869a2bbade323716219d731ed3977c410 (patch) | |
tree | f3d6ffb74991529dc645e231d12d39163ca01f04 /arch/mips/lib/barebox.lds.S | |
parent | 494bb4f70f59715fd7c0577eb733f038b8f74e02 (diff) | |
download | barebox-537a18b869a2bbade323716219d731ed3977c410.tar.gz barebox-537a18b869a2bbade323716219d731ed3977c410.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/barebox.lds.S')
0 files changed, 0 insertions, 0 deletions