1libc {
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_2.35 {
24    _dl_find_object;
25  }
26  GLIBC_ABI_DT_RELR {
27    # This symbol is used only for empty version map and will be removed
28    # by scripts/versions.awk.
29    __placeholder_only_for_empty_version_map;
30  }
31  GLIBC_PRIVATE {
32    # functions used in other libraries
33    __libc_early_init;
34
35    # Internal error handling support.  Interposes the functions in ld.so.
36    _dl_signal_exception; _dl_catch_exception;
37    _dl_signal_error; _dl_catch_error;
38  }
39}
40
41ld {
42  GLIBC_2.0 {
43    _r_debug;
44  }
45  GLIBC_2.1 {
46    # functions used in other libraries
47    _dl_mcount;
48    # historically used by Garbage Collectors
49    __libc_stack_end;
50  }
51  GLIBC_2.3 {
52    # runtime interface to TLS
53    __tls_get_addr;
54  }
55  GLIBC_2.4 {
56    # stack canary
57    __stack_chk_guard;
58  }
59  GLIBC_2.34 {
60    __rtld_version_placeholder;
61  }
62  GLIBC_PRIVATE {
63    # Those are in the dynamic linker, but used by libc.so.
64    __libc_enable_secure;
65    _dl_allocate_tls; _dl_allocate_tls_init;
66    _dl_argv; _dl_find_dso_for_object; _dl_get_tls_static_info;
67    _dl_deallocate_tls; _dl_make_stack_executable;
68    _dl_rtld_di_serinfo; _dl_starting_up; _dl_fatal_printf;
69    _dl_audit_symbind_alt; _dl_audit_preinit;
70    _rtld_global; _rtld_global_ro;
71
72    # Only here for gdb while a better method is developed.
73    _dl_debug_state;
74
75    # Pointer protection.
76    __pointer_chk_guard;
77
78    # Internal error handling support.
79    _dl_exception_create; _dl_exception_create_format; _dl_exception_free;
80
81    # Internal error handling support.  Interposed by libc.so.
82    _dl_signal_exception; _dl_catch_exception;
83    _dl_signal_error; _dl_catch_error;
84
85    # Set value of a tunable.
86    __tunable_get_val;
87  }
88}
89