[PATCH] Add AT_SYSINFO_EHDR only support

Steve Munroe sjmunroe@us.ibm.com
Fri Nov 5 23:16:00 GMT 2004


This patch adds support for architectures that want to use VDSO as a 
library but don't need all the (Intel specific) syscall mechanism. 
Specifically for kernels that provide AT_SYSINFO_EHDR but not AT_SYSINFO.

The 1st patched defines the new macro NEED_DL_SYSINFO_EHDR and made the 
parts that implement function specific AT_SYSINFO_EHDR conditional on:

#if defined NEED_DL_SYSINFO || NEED_DL_SYSINFO_EHDR

This means platforms that currently use AT_SYSINFO don't change and 
platforms that only need AT_SYSINFO_EHDR can do so by defining only 
NEED_DL_SYSINFO_EHDR.

The 2nd patch adds VDSO (AT_SYSINFO_EHDR only) support for Powerpc 
Linuxthread.

The 3rd patch adds VDSO (AT_SYSINFO_EHDR only) support for Powerpc nptl.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ppc-dl-sysinfo-ehdr-20041105.txt
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20041105/b218c8d7/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ppc-linuxthreads-dl-sysdep-20041105.txt
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20041105/b218c8d7/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ppc-nptl-dl-sysdep-20041105.txt
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20041105/b218c8d7/attachment-0002.txt>


More information about the Libc-alpha mailing list