From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Beno=C3=AEt_Th=C3=A9baudeau?= Date: Thu, 30 Jan 2014 13:09:03 +0100 (CET) Subject: [U-Boot] [PATCH v5 2/3] arm: make _end compiler-generated In-Reply-To: <1391076167-14306-2-git-send-email-albert.u.boot@aribaud.net> References: <1389171424-14978-3-git-send-email-albert.u.boot@aribaud.net> <1391076167-14306-1-git-send-email-albert.u.boot@aribaud.net> <1391076167-14306-2-git-send-email-albert.u.boot@aribaud.net> Message-ID: <1490671043.1695364.1391083743796.JavaMail.zimbra@advansee.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Albert, On Thursday, January 30, 2014 11:02:46 AM, Albert ARIBAUD wrote: > This prevents references to _end from generating absolute > relocation records. > > This change is binary invariant for ARM targets. > > Signed-off-by: Albert ARIBAUD > --- > > Changes in v5: > - Rebase onto u-boot-arm/master > > Changes in v4: None > Changes in v3: > - Replace _end in linker scripts with _image_binary_end > > Changes in v2: None [...] > diff --git a/arch/arm/cpu/u-boot.lds b/arch/arm/cpu/u-boot.lds > index 4da5d24..f61ef50 100644 > --- a/arch/arm/cpu/u-boot.lds > +++ b/arch/arm/cpu/u-boot.lds > @@ -60,7 +60,12 @@ SECTIONS > *(.__rel_dyn_end) > } > > - _end = .; > + .end : > + { > + *(.__end) > + } > + > + _image_binary_end = .; > > /* > * Deprecated: this MMU section is used by pxa at present but > @@ -91,7 +96,9 @@ SECTIONS > KEEP(*(.__bss_end)); > } > > - .dynsym _end : { *(.dynsym) } > + .dynsym _image_binary_end : { *(.dynsym) } > + .hash : { *(.hash) } > + .got.plt : { *(.got.plt) } Are the two additions above intentional? These lines were present in the context in v4, but not as an addition. They are also unrelated to the topic of this patch. > .dynbss : { *(.dynbss) } > .dynstr : { *(.dynstr*) } > .dynamic : { *(.dynamic*) } [...] Best regards, Beno?t