diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-09-06 22:32:10 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-09-09 18:25:49 +0200 |
commit | 2e368eec070532c3fc416da5b6867f261907be2b (patch) | |
tree | 3db587744f14ccc0d26f1f8160339844c8f5c277 /arch/arm/pbl | |
parent | cc27564e4c05184227e6440f00382bfd673ab528 (diff) | |
download | barebox-2e368eec070532c3fc416da5b6867f261907be2b.tar.gz barebox-2e368eec070532c3fc416da5b6867f261907be2b.tar.xz |
ARM lowlevel: Use get_runtime_offset
The current approach to get the offset between link and runtime address
is fragile. It requires a big fat comment to put no code above it and it
requires an extra linker section. Instead use a small assembler function.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/pbl')
-rw-r--r-- | arch/arm/pbl/zbarebox.lds.S | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/pbl/zbarebox.lds.S b/arch/arm/pbl/zbarebox.lds.S index 2dca278318..37af4e913e 100644 --- a/arch/arm/pbl/zbarebox.lds.S +++ b/arch/arm/pbl/zbarebox.lds.S @@ -39,8 +39,6 @@ SECTIONS _stext = .; _text = .; *(.text_head_entry*) - __ll_return = .; - *(.text_ll_return*) __bare_init_start = .; *(.text_bare_init*) __bare_init_end = .; |