On Tue, 25 Nov 2008, Adam Litke wrote:

> On Tue, 2008-11-25 at 14:41 +0000, Eric B Munson wrote:
> > When building the linker script tests on SLES 11, the resulting executable
> > had an invalid size for the interp section.  This is dues to a new section
> > that was not present in the old script.  This patch adds this section to
> > all of the linker scripts.
> > 
> > Credit goes to Alan Modra for identifying what change needed to be made
> > 
> > Signed-off-by: Eric B Munson <[EMAIL PROTECTED]>
> > ---
> >  ldscripts/elf32ppclinux.xB   |    1 +
> >  ldscripts/elf32ppclinux.xBDT |    1 +
> >  ldscripts/elf64ppc.xB        |    1 +
> >  ldscripts/elf64ppc.xBDT      |    1 +
> >  ldscripts/elf_i386.xB        |    1 +
> >  ldscripts/elf_i386.xBDT      |    1 +
> >  ldscripts/elf_x86_64.xB      |    1 +
> >  ldscripts/elf_x86_64.xBDT    |    1 +
> >  8 files changed, 8 insertions(+), 0 deletions(-)
> > 
> > diff --git a/ldscripts/elf32ppclinux.xB b/ldscripts/elf32ppclinux.xB
> > index bf96081..28ad88d 100644
> > --- a/ldscripts/elf32ppclinux.xB
> > +++ b/ldscripts/elf32ppclinux.xB
> > @@ -27,6 +27,7 @@ SECTIONS
> >    .interp         : { *(.interp) } :text :interp
> >    .note.SuSE      : { *(.note.SuSE) } :text :note
> >    .note.ABI-tag   : { *(.note.ABI-tag) } :text :note
> > +  .note.gnu.build-id : { *(.note.gnu.build-id) } :text :note
> >    .hash           : { *(.hash) } :text
> >    .dynsym         : { *(.dynsym) } :text
> >    .dynstr         : { *(.dynstr) } :text
> > diff --git a/ldscripts/elf32ppclinux.xBDT b/ldscripts/elf32ppclinux.xBDT
> > index 68ddebf..f0bf10a 100644
> > --- a/ldscripts/elf32ppclinux.xBDT
> > +++ b/ldscripts/elf32ppclinux.xBDT
> > @@ -26,6 +26,7 @@ SECTIONS
> >    .interp         : { *(.interp) } :htext :interp
> >    .note.SuSE      : { *(.note.SuSE) } :htext :note
> >    .note.ABI-tag   : { *(.note.ABI-tag) } :htext :note
> > +  .note.gnu.build-id : { *(.note.gnu.build-id) } :text :note
> 
> Does this work?  The BDT linker scripts specify htext and hdata segments
> and there is no text segment.  The build-id section should probably read
> like the following for all of the BDT scripts:

I don't recall it failing, but I have updated the patch and sent out V2

Attachment: signature.asc
Description: Digital signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to