This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/6816] Support for POWER7 VSX registers in *context routines


------- 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.


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