Re: [Libhugetlbfs-devel] [PATCH] elf64ppc.xB flexible BSS alignment

2008-01-30 Thread Nishanth Aravamudan
On 15.01.2008 [10:11:03 -0600], Adam Litke wrote: > As discussed in an earlier thread, glibc makes certain assumptions about > the layout of the text, data, and bss segments of shared objects and > executables. One of those assumptions is that all segments of an > objects will be mapped consecutiv

[Libhugetlbfs-devel] [PATCH] elf64ppc.xB flexible BSS alignment

2008-01-21 Thread Adam Litke
As discussed in an earlier thread, glibc makes certain assumptions about the layout of the text, data, and bss segments of shared objects and executables. One of those assumptions is that all segments of an objects will be mapped consecutively. The current elf64ppc.xB linker script unconditionall

Re: [Libhugetlbfs-devel] [PATCH] elf64ppc.xB flexible BSS alignment

2008-01-15 Thread Adam Litke
On Tue, 2008-01-15 at 11:05 -0600, Steve Fox wrote: > No padding at the end of the BSS? If that's intentional then we'll have > to document that we require the use of HUGETLB_MORECORE=yes. Otherwise > the heap will write base pages into the hugepage segment. I wanted to change only one thing at a

Re: [Libhugetlbfs-devel] [PATCH] elf64ppc.xB flexible BSS alignment

2008-01-15 Thread Steve Fox
On Tue, 2008-01-15 at 10:11 -0600, Adam Litke wrote: > diff -pur a/ldscripts/elf64ppc.xB b/ldscripts/elf64ppc.xB > --- a/ldscripts/elf64ppc.xB 2007-12-12 10:09:42.0 -0500 > +++ b/ldscripts/elf64ppc.xB 2008-01-15 15:40:02.0 -0500 > @@ -179,13 +179,14 @@ SECTIONS >. = ALIGN(