Re: [U-Boot] [PATCH] Fix all linker script to handle all rodata sections

2009-08-17 Thread Wolfgang Denk
Dear Trent, In message you wrote: > > > > Do you see any want to make this backward compatible with older > > > versions of ld? > > I don't have an ld old enough to not like that line so I'm not sure > what the problem is exactly. The problem is that SORT_BY_ALIGNMENT() and SORT_BY_NAME() were

Re: [U-Boot] [PATCH] Fix all linker script to handle all rodata sections

2009-08-17 Thread Trent Piepho
On Sun, 16 Aug 2009, Wolfgang Denk wrote: > > ... > > > I change this to: > > > > > > *(.text) > > > . = ALIGN(16); > > > *(.eh_frame) > > > *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) > > > > Unfortunately it turns out that this breaks some older tool chains. > > For example, using ELDK 3.1 (binu

Re: [U-Boot] [PATCH] Fix all linker script to handle all rodata sections

2009-08-15 Thread Wolfgang Denk
Dear Trent Piepho, on Mon, 10 Aug 2009 10:35:08 +0200 I wrote: > Dear Trent Piepho, > > In message <1234999325-13456-1-git-send-email-tpie...@freescale.com> you > wrote: > > > > A recent gcc added a new unaligned rodata section called '.rodata.str1.1', > > which needs to be added the the linke

Re: [U-Boot] [PATCH] Fix all linker script to handle all rodata sections

2009-08-10 Thread Wolfgang Denk
Dear Trent Piepho, In message <1234999325-13456-1-git-send-email-tpie...@freescale.com> you wrote: > > A recent gcc added a new unaligned rodata section called '.rodata.str1.1', > which needs to be added the the linker script. Instead of just adding this > one section, we use a wildcard ".rodata

Re: [U-Boot] [PATCH] Fix all linker script to handle all rodata sections

2009-02-19 Thread Kim Phillips
On Wed, 18 Feb 2009 15:22:05 -0800 Trent Piepho wrote: > From: Trent Piepho > > A recent gcc added a new unaligned rodata section called '.rodata.str1.1', > which needs to be added the the linker script. Instead of just adding this > one section, we use a wildcard ".rodata*" to get all rodata

Re: [U-Boot] [PATCH] Fix all linker script to handle all rodata sections

2009-02-18 Thread Wolfgang Denk
Dear Trent Piepho, In message <1234999325-13456-1-git-send-email-tpie...@freescale.com> you wrote: > From: Trent Piepho > > A recent gcc added a new unaligned rodata section called '.rodata.str1.1', > which needs to be added the the linker script. Instead of just adding this > one section, we u