From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Mon, 01 Nov 2010 23:11:25 +0100 Subject: [U-Boot] [PATCH 2/3] tx25: fix linker file for newer ld support In-Reply-To: <1288642623-10783-2-git-send-email-albert.aribaud@free.fr> References: <1288642623-10783-1-git-send-email-albert.aribaud@free.fr> <1288642623-10783-2-git-send-email-albert.aribaud@free.fr> Message-ID: <20101101221125.EAC251524F4@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Albert Aribaud, In message <1288642623-10783-2-git-send-email-albert.aribaud@free.fr> you wrote: > From: Wolfgang Denk > > older ld emitted all ELF relocations in input sections named > .rel.dyn, whereas newer ld uses names of the form .rel*. The > linker script only collected .rel.dyn input sections. Fit it > to collect all .rel* input sections. > > Signed-off-by: Albert Aribaud > --- > nand_spl/board/karo/tx25/u-boot.lds | 13 +++++++++---- > 1 files changed, 9 insertions(+), 4 deletions(-) > > diff --git a/nand_spl/board/karo/tx25/u-boot.lds b/nand_spl/board/karo/tx25/u-boot.lds > index 5f95c87..f3cb8dd 100644 > --- a/nand_spl/board/karo/tx25/u-boot.lds > +++ b/nand_spl/board/karo/tx25/u-boot.lds > @@ -54,10 +54,6 @@ SECTIONS > } > > . = ALIGN(4); > - __rel_dyn_start = .; > - __rel_dyn_end = .; > - __dynsym_start = .; > - > __got_start = .; > . = ALIGN(4); > .got : { *(.got) } Do we still need this GOT entry? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de What is mind? No matter. What is matter? Never mind. -- Thomas Hewitt Key, 1799-1875