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

Albert ARIBAUD albert.u.boot at aribaud.net
Tue Oct 15 14:04:55 CEST 2013


On Sun, 13 Oct 2013 19:16:33 +0200, Albert ARIBAUD
<albert.u.boot at 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.


More information about the U-Boot mailing list