]>
Commit | Line | Data |
---|---|---|
b0b67c47 | 1 | libc { |
8d8c6efa | 2 | GLIBC_2.0 { |
74bd2300 | 3 | %ifdef EXPORT_UNWIND_FIND_FDE |
f238fd19 | 4 | __deregister_frame_info; __register_frame_info; |
74bd2300 | 5 | %endif |
8d8c6efa UD |
6 | } |
7 | GLIBC_2.1 { | |
8 | # functions used in other libraries | |
9 | _dl_mcount_wrapper; _dl_mcount_wrapper_check; | |
10 | } | |
48ab1c2f UD |
11 | GLIBC_2.2.4 { |
12 | dl_iterate_phdr; | |
13 | } | |
74bd2300 | 14 | %ifdef EXPORT_UNWIND_FIND_FDE |
00f4012a JM |
15 | # Needed for SHLIB_COMPAT calls using this version. |
16 | GLIBC_2.2.5 { | |
17 | } | |
1e06620a | 18 | GCC_3.0 { |
f238fd19 | 19 | __deregister_frame_info_bases; __register_frame_info_bases; |
74bd2300 UD |
20 | __register_frame_info_table_bases; _Unwind_Find_FDE; |
21 | } | |
22 | %endif | |
fb23eb25 UD |
23 | GLIBC_PRIVATE { |
24 | # functions used in other libraries | |
9dcafc55 | 25 | _dl_addr; |
81b215af | 26 | _dl_open_hook; |
f238fd19 AJ |
27 | _dl_sym; _dl_vsym; |
28 | __libc_dlclose; __libc_dlopen_mode; __libc_dlsym; | |
fb23eb25 | 29 | } |
8d8c6efa UD |
30 | } |
31 | ||
a0edd63e | 32 | ld { |
b0b67c47 | 33 | GLIBC_2.0 { |
8d8c6efa | 34 | # Function from libc.so which must be shared with libc. |
f238fd19 | 35 | __libc_memalign; calloc; free; malloc; realloc; |
b0b67c47 | 36 | |
fb23eb25 | 37 | _r_debug; |
b0b67c47 | 38 | } |
fb23eb25 | 39 | GLIBC_2.1 { |
dc5efe83 | 40 | # functions used in other libraries |
fb23eb25 | 41 | _dl_mcount; |
97716954 UD |
42 | # historically used by Garbage Collectors |
43 | __libc_stack_end; | |
dc5efe83 | 44 | } |
1794e32b UD |
45 | GLIBC_2.3 { |
46 | # runtime interface to TLS | |
47 | __tls_get_addr; | |
48 | } | |
35f1e827 UD |
49 | GLIBC_2.4 { |
50 | # stack canary | |
51 | __stack_chk_guard; | |
52 | } | |
fb23eb25 UD |
53 | GLIBC_PRIVATE { |
54 | # Those are in the dynamic linker, but used by libc.so. | |
97716954 | 55 | __libc_enable_secure; |
f238fd19 | 56 | _dl_allocate_tls; _dl_allocate_tls_init; |
be179c8a SP |
57 | _dl_argv; _dl_find_dso_for_object; _dl_get_tls_static_info; |
58 | _dl_deallocate_tls; _dl_make_stack_executable; _dl_out_of_memory; | |
f238fd19 | 59 | _dl_rtld_di_serinfo; _dl_starting_up; _dl_tls_setup; |
20c37dfd | 60 | _rtld_global; _rtld_global_ro; |
f238fd19 | 61 | |
7e46ec8c UD |
62 | # Only here for gdb while a better method is developed. |
63 | _dl_debug_state; | |
f238fd19 | 64 | |
827b7087 UD |
65 | # Pointer protection. |
66 | __pointer_chk_guard; | |
b76a75de | 67 | } |
b0b67c47 | 68 | } |