[U-Boot] [PATCH v1] arm: remove unneeded symbol offsets and _TEXT_BASE

Albert ARIBAUD
2013-10-15T12:04:55Z

On Sun, 13 Oct 2013 19:16:33 +0200, Albert ARIBAUD
<albert.u.boot@aribaud.net> wrote:

> I don't think so. The switch from _end to __rel_dyn_end is done
> precisely to avoid using a symbol for which an offset is needed (_end,
> because linker-defined, can only have absolute relocations) and use
> instead a compiler-defined, relocatable, symbol (__rel_dyn_end, compiled
> from sections.c, always takes relative relocation) which does not need
> an offset. This switch thus belongs in this patch.

Actually, _end could be made a compiler-generated symbol too. This
would be more consistent with what is done with the BSS and image start
and end symbols, and would allow keeping _end here. Will revert change
here and send v2 as a two-patch series as you suggest.

> Amicalement,

Amicalement,
--
Albert.