This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] small powerpc/brk.S fix


>>>>> Greg McGary writes:

 > This is a repost.
 > This patch completes Geoff's incomplete fix to convert
 > addressing of __curbrk from GP-relative to absolute.

Geoff, what do you think about this?  Shall I commit it?

Andreas

 > 2000-05-17  Greg McGary  <greg@mcgary.org>

 > 	* sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
 > 	Get low part of &__curbrk with @l.

 > Index: brk.S
 > ===================================================================
 > RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/powerpc/brk.S,v
 > retrieving revision 1.3
 > diff -u -p -r1.3 brk.S
 > --- brk.S	2000/01/27 23:40:48	1.3
 > +++ brk.S	2000/05/18 01:14:41
 > @@ -37,7 +37,7 @@ ENTRY(__brk)
 >  	stw     r3,0(r5)
 >  #else
 >  	lis     r4,__curbrk@ha
 > -	stw     r3,__curbrk@sdarel(r4)
 > +	stw     r3,__curbrk@l(r4)
 >  #endif
 >  	cmplw   r6,r3
 >  	addi    r1,r1,16


-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]