Re: [Libhugetlbfs-devel] elflink: Add powerpc64-specific PLT size detection

2008-03-06 Thread David Gibson
On Wed, Mar 05, 2008 at 09:42:53AM -0600, Adam Litke wrote: > > On Wed, 2008-03-05 at 10:52 +1100, David Gibson wrote: > > > diff --git a/Makefile b/Makefile > > > index a689ad6..34a9c21 100644 > > > --- a/Makefile > > > +++ b/Makefile > > > @@ -73,10 +73,13 @@ OBJDIRS += obj64 > > > endif > > >

Re: [Libhugetlbfs-devel] elflink: Add powerpc64-specific PLT size detection

2008-03-05 Thread Adam Litke
On Wed, 2008-03-05 at 10:52 +1100, David Gibson wrote: > > diff --git a/Makefile b/Makefile > > index a689ad6..34a9c21 100644 > > --- a/Makefile > > +++ b/Makefile > > @@ -73,10 +73,13 @@ OBJDIRS += obj64 > > endif > > > > ifdef ELF32 > > -LIBOBJS32 = obj32/elflink.o obj32/$(ELF32).o > > +LIB

Re: [Libhugetlbfs-devel] elflink: Add powerpc64-specific PLT size detection

2008-03-04 Thread David Gibson
On Tue, Mar 04, 2008 at 02:54:53PM -0600, Adam Litke wrote: > PowerPC 64-bit binaries place their plt in the uninitialized (normally > zeroed) > part of the data segment. This placement requires extra copying to be > performed in order to preserve symbol lookups that have already been

Re: [Libhugetlbfs-devel] elflink: Add powerpc64-specific PLT size detection

2008-03-04 Thread Adam Litke
On Tue, 2008-03-04 at 13:50 -0800, Nishanth Aravamudan wrote: > On 04.03.2008 [14:54:53 -0600], Adam Litke wrote: > > PowerPC 64-bit binaries place their plt in the uninitialized (normally > > zeroed) > > part of the data segment. This placement requires extra copying to be > > perfor

Re: [Libhugetlbfs-devel] elflink: Add powerpc64-specific PLT size detection

2008-03-04 Thread Nishanth Aravamudan
On 04.03.2008 [14:54:53 -0600], Adam Litke wrote: > PowerPC 64-bit binaries place their plt in the uninitialized (normally > zeroed) > part of the data segment. This placement requires extra copying to be > performed in order to preserve symbol lookups that have already been > comple

[Libhugetlbfs-devel] elflink: Add powerpc64-specific PLT size detection

2008-03-04 Thread Adam Litke
PowerPC 64-bit binaries place their plt in the uninitialized (normally zeroed) part of the data segment. This placement requires extra copying to be performed in order to preserve symbol lookups that have already been completed by the dynamic linker. Determining the numb