mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Update.
* libio/fileops.c: Use new macros from shlib-compat.h to define versions. * libio/iofclose.c: Likewise. * libio/oldiofclose.c: Likewise.
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
#endif
|
||||
#if _LIBC
|
||||
# include "../wcsmbs/wcsmbsload.h"
|
||||
# include <shlib-compat.h>
|
||||
#endif
|
||||
#ifndef errno
|
||||
extern int errno;
|
||||
@@ -1014,35 +1015,16 @@ struct _IO_jump_t _IO_file_jumps =
|
||||
JUMP_INIT(imbue, _IO_default_imbue)
|
||||
};
|
||||
|
||||
|
||||
#if defined PIC && DO_VERSIONING
|
||||
default_symbol_version (_IO_new_do_write, _IO_do_write, GLIBC_2.1);
|
||||
default_symbol_version (_IO_new_file_attach, _IO_file_attach, GLIBC_2.1);
|
||||
default_symbol_version (_IO_new_file_close_it, _IO_file_close_it, GLIBC_2.1);
|
||||
default_symbol_version (_IO_new_file_finish, _IO_file_finish, GLIBC_2.1);
|
||||
default_symbol_version (_IO_new_file_fopen, _IO_file_fopen, GLIBC_2.1);
|
||||
default_symbol_version (_IO_new_file_init, _IO_file_init, GLIBC_2.1);
|
||||
default_symbol_version (_IO_new_file_setbuf, _IO_file_setbuf, GLIBC_2.1);
|
||||
default_symbol_version (_IO_new_file_sync, _IO_file_sync, GLIBC_2.1);
|
||||
default_symbol_version (_IO_new_file_overflow, _IO_file_overflow, GLIBC_2.1);
|
||||
default_symbol_version (_IO_new_file_seekoff, _IO_file_seekoff, GLIBC_2.1);
|
||||
default_symbol_version (_IO_new_file_underflow, _IO_file_underflow, GLIBC_2.1);
|
||||
default_symbol_version (_IO_new_file_write, _IO_file_write, GLIBC_2.1);
|
||||
default_symbol_version (_IO_new_file_xsputn, _IO_file_xsputn, GLIBC_2.1);
|
||||
#else
|
||||
# ifdef strong_alias
|
||||
strong_alias (_IO_new_do_write, _IO_do_write);
|
||||
strong_alias (_IO_new_file_attach, _IO_file_attach);
|
||||
strong_alias (_IO_new_file_close_it, _IO_file_close_it);
|
||||
strong_alias (_IO_new_file_finish, _IO_file_finish);
|
||||
strong_alias (_IO_new_file_fopen, _IO_file_fopen);
|
||||
strong_alias (_IO_new_file_init, _IO_file_init);
|
||||
strong_alias (_IO_new_file_setbuf, _IO_file_setbuf);
|
||||
strong_alias (_IO_new_file_sync, _IO_file_sync);
|
||||
strong_alias (_IO_new_file_overflow, _IO_file_overflow);
|
||||
strong_alias (_IO_new_file_seekoff, _IO_file_seekoff);
|
||||
strong_alias (_IO_new_file_underflow, _IO_file_underflow);
|
||||
strong_alias (_IO_new_file_write, _IO_file_write);
|
||||
strong_alias (_IO_new_file_xsputn, _IO_file_xsputn);
|
||||
# endif
|
||||
#endif
|
||||
versioned_symbol (libc, _IO_new_do_write, _IO_do_write, GLIBC_2_1);
|
||||
versioned_symbol (libc, _IO_new_file_attach, _IO_file_attach, GLIBC_2_1);
|
||||
versioned_symbol (libc, _IO_new_file_close_it, _IO_file_close_it, GLIBC_2_1);
|
||||
versioned_symbol (libc, _IO_new_file_finish, _IO_file_finish, GLIBC_2_1);
|
||||
versioned_symbol (libc, _IO_new_file_fopen, _IO_file_fopen, GLIBC_2_1);
|
||||
versioned_symbol (libc, _IO_new_file_init, _IO_file_init, GLIBC_2_1);
|
||||
versioned_symbol (libc, _IO_new_file_setbuf, _IO_file_setbuf, GLIBC_2_1);
|
||||
versioned_symbol (libc, _IO_new_file_sync, _IO_file_sync, GLIBC_2_1);
|
||||
versioned_symbol (libc, _IO_new_file_overflow, _IO_file_overflow, GLIBC_2_1);
|
||||
versioned_symbol (libc, _IO_new_file_seekoff, _IO_file_seekoff, GLIBC_2_1);
|
||||
versioned_symbol (libc, _IO_new_file_underflow, _IO_file_underflow, GLIBC_2_1);
|
||||
versioned_symbol (libc, _IO_new_file_write, _IO_file_write, GLIBC_2_1);
|
||||
versioned_symbol (libc, _IO_new_file_xsputn, _IO_file_xsputn, GLIBC_2_1);
|
||||
|
||||
Reference in New Issue
Block a user