This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6816] Support for POWER7 VSX registers in *context routines
- From: "drepper at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 25 Aug 2008 22:53:51 -0000
- Subject: [Bug libc/6816] Support for POWER7 VSX registers in *context routines
- References: <20080804175727.6816.cseo@linux.vnet.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drepper at redhat dot com 2008-08-25 22:53 -------
The structure size changes. This cannot be handled using symbol versioning
alone. We have to resort to the same technique used by stat. I.e.:
- assign a non-default version to [gs]etcontext so that you cannot link against
it anymore (see atexit for how to do this)
- create new __x[sg]etcontent interfaces which take the usual interfaces plus a
version number
- add new [sg]etcontext interfaces into libc_nonshared.a which call the
__x[sg]etcontent interfaces with the appropriate version argument
This still isn't solving the problem completely. Is there some padding space in
the old structure? If yes, use it for a version number. If there is no room,
add such a field to the new structure somewhere.
The code then must be changed to check for this value so that references are not
passed incorrectly.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=6816
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.