From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Tue, 15 Oct 2013 14:04:55 +0200 Subject: [U-Boot] [PATCH v1] arm: remove unneeded symbol offsets and _TEXT_BASE In-Reply-To: <20131013191633.3171a883@lilith> References: <1381648228-24373-1-git-send-email-albert.u.boot@aribaud.net> <1913132199.2634090.1381676425079.JavaMail.zimbra@advansee.com> <20131013191633.3171a883@lilith> Message-ID: <20131015140455.397e94c5@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, 13 Oct 2013 19:16:33 +0200, Albert ARIBAUD 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.