[PATCH] Take 3 vDSO patch for ppc/ppc64

Steven Munroe munroesj@us.ibm.com
Thu Nov 10 23:41:00 GMT 2005


Benjamin Herrenschmidt wrote:

>On Thu, 2005-11-03 at 19:17 -0600, Tom Gall wrote:
>  
>
>>Greetings,
>>
>>New this time is just some formatting cleanup to make sure it's compliant 
>>with gnu style. Hopefully a step in the right direction.....
>>    
>>
>
>Did I miss something ? I can't find where NEED_DL_SYSINFO_DSO is defined
>for powerpc ... This is necessary afaik, for the vDSO symbols to be
>"found" by glibc.
>
>  
>
The attached draft patch should resolve this problem and support your 
test effort.

The real issues is handling partial implementations of VDSO (where the 
kernel version implements some but not all vdso functions). The 
implementation below adds _dl_vdso_weakref() to handle this case.

I also included a draft hp-timing for ppc32. There seems to be an 
interaction between existing hp-timing 64-bit support and the new vsdo 
code. We are still working out the details.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppc-vdso-20051106.patch
Type: text/x-patch
Size: 39035 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20051110/9236175a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppc32-hp-timing-20051106.patch
Type: text/x-patch
Size: 9550 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20051110/9236175a/attachment-0001.bin>


More information about the Libc-alpha mailing list