1libc { 2 GLIBC_2.0 { 3 # functions with a weak definition in the dynamic linker 4 __mmap; 5 } 6 GLIBC_2.2.6 { 7 # functions with a weak definition in the dynamic linker 8 __writev; 9 } 10 GLIBC_2.32 { 11 mremap; 12 } 13 GLIBC_2.35 { 14 close_range; 15 } 16 GLIBC_PRIVATE { 17 # Functions shared with the dynamic linker 18 __access; __access_noerrno; __libc_read; __libc_write; __libc_lseek64; 19 __close_nocancel; 20 __open_nocancel; 21 __read_nocancel; __pread64_nocancel; 22 __write_nocancel; 23 __libc_lock_self0; __getcwd; 24 __stat64; 25 26 _dl_init_first; 27 __close_nocancel_nostatus; 28 29 # functions used in other libraries 30 __sigprocmask; 31 } 32} 33 34ld { 35 GLIBC_2.0 { 36 # variables that must be shared with libc 37 __hurd_threadvar_stack_mask; __hurd_threadvar_stack_offset; 38 39 # functions that must be shared with libc 40 __close; __getpid; 41 __mmap; __open; __read; __sbrk; __strtoul_internal; 42 __write; __writev; 43 _exit; _hurd_intr_rpc_mach_msg; 44 abort; 45 } 46 GLIBC_2.1 { 47 # functions that must be shared with libc 48 __pread64; 49 } 50 GLIBC_2.2 { 51 # functions that must be shared with libc 52 __open64; 53 } 54 GLIBC_2.2.6 { 55 # this also must be shared with libc. 56 __errno_location; 57 } 58 GLIBC_PRIVATE { 59 _dl_init_first; 60 61 # functions that must be shared with libc 62 __access; __access_noerrno; __libc_read; __libc_write; __libc_lseek64; 63 __close_nocancel; 64 __open_nocancel; 65 __read_nocancel; __pread64_nocancel; 66 __write_nocancel; 67 __libc_lock_self0; __getcwd; 68 __stat64; __fstat64; 69 } 70} 71