diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-07-06 11:43:54 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-07-06 11:48:56 +0200 |
commit | 92777f34df805c2069d14c28fe976256d31ed0ab (patch) | |
tree | 73003379a3b6c00e36264b0ed7c558ade9071085 /libio/vtables.c | |
parent | 8321286846970af562a2ff6b7272f1cd0860d6c1 (diff) | |
download | glibc-92777f34df805c2069d14c28fe976256d31ed0ab.tar.gz |
hurd: Fix PTR_{,DE}MANGLE calls
* libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
_IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
[!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
(set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
* libio/vtables.c (_IO_vtable_check)
[!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
* libio/libioP.h (IO_set_accept_foreign_vtables)
[!PTR_MANGLE]: Do not call PTR_MANGLE.
Diffstat (limited to 'libio/vtables.c')
-rw-r--r-- | libio/vtables.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libio/vtables.c b/libio/vtables.c index e364ea03ed..b361f44e91 100644 --- a/libio/vtables.c +++ b/libio/vtables.c @@ -41,7 +41,9 @@ _IO_vtable_check (void) #ifdef SHARED /* Honor the compatibility flag. */ void (*flag) (void) = atomic_load_relaxed (&IO_accept_foreign_vtables); +#ifdef PTR_DEMANGLE PTR_DEMANGLE (flag); +#endif if (flag == &_IO_vtable_check) return; |