]> git.ipfire.org Git - thirdparty/glibc.git/blob - elf/Versions
ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486]
[thirdparty/glibc.git] / elf / Versions
1 libc {
2 GLIBC_2.0 {
3 %ifdef EXPORT_UNWIND_FIND_FDE
4 __deregister_frame_info; __register_frame_info;
5 %endif
6 }
7 GLIBC_2.1 {
8 # functions used in other libraries
9 _dl_mcount_wrapper; _dl_mcount_wrapper_check;
10 }
11 GLIBC_2.2.4 {
12 dl_iterate_phdr;
13 }
14 %ifdef EXPORT_UNWIND_FIND_FDE
15 # Needed for SHLIB_COMPAT calls using this version.
16 GLIBC_2.2.5 {
17 }
18 GCC_3.0 {
19 __deregister_frame_info_bases; __register_frame_info_bases;
20 __register_frame_info_table_bases; _Unwind_Find_FDE;
21 }
22 %endif
23 GLIBC_PRIVATE {
24 # functions used in other libraries
25 _dl_addr;
26 _dl_open_hook; _dl_open_hook2;
27 _dl_sym; _dl_vsym;
28 __libc_dlclose; __libc_dlopen_mode; __libc_dlsym; __libc_dlvsym;
29
30 # Internal error handling support. Interposes the functions in ld.so.
31 _dl_signal_exception; _dl_catch_exception;
32 _dl_signal_error; _dl_catch_error;
33 }
34 }
35
36 ld {
37 GLIBC_2.0 {
38 _r_debug;
39 }
40 GLIBC_2.1 {
41 # functions used in other libraries
42 _dl_mcount;
43 # historically used by Garbage Collectors
44 __libc_stack_end;
45 }
46 GLIBC_2.3 {
47 # runtime interface to TLS
48 __tls_get_addr;
49 }
50 GLIBC_2.4 {
51 # stack canary
52 __stack_chk_guard;
53 }
54 GLIBC_PRIVATE {
55 # Those are in the dynamic linker, but used by libc.so.
56 __libc_enable_secure;
57 _dl_allocate_tls; _dl_allocate_tls_init;
58 _dl_argv; _dl_find_dso_for_object; _dl_get_tls_static_info;
59 _dl_deallocate_tls; _dl_make_stack_executable;
60 _dl_rtld_di_serinfo; _dl_starting_up;
61 _rtld_global; _rtld_global_ro;
62
63 # Only here for gdb while a better method is developed.
64 _dl_debug_state;
65
66 # Pointer protection.
67 __pointer_chk_guard;
68
69 # Internal error handling support.
70 _dl_exception_create; _dl_exception_create_format; _dl_exception_free;
71
72 # Internal error handling support. Interposed by libc.so.
73 _dl_signal_exception; _dl_catch_exception;
74 _dl_signal_error; _dl_catch_error;
75
76 # Set value of a tunable.
77 __tunable_get_val;
78 }
79 }