1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
  
     | 
    
      libc {
  GLIBC_2.0 {
    # functions with a weak definition in the dynamic linker
    __getcwd; __mmap;
  }
  GLIBC_PRIVATE {
    # Functions shared with the dynamic linker
    __libc_read; __libc_write; __libc_lseek64;
    __libc_lock_self0; __libc_get_lock_self;
    _dl_init_first;
  }
}
ld {
  GLIBC_2.0 {
    # variables that must be shared with libc
    __hurd_threadvar_stack_mask;  __hurd_threadvar_stack_offset;
    # functions that must be shared with libc
    __close; __getcwd; __getpid;
    __mmap; __open; __xstat64; __fxstat64;
    _exit; _hurd_intr_rpc_mach_msg;
    abort;
  }
  GLIBC_2.2.6 {
    # this also must be shared with libc.
    __errno_location;
  }
  GLIBC_PRIVATE {
    _dl_init_first;
    # functions that must be shared with libc
    __libc_read; __libc_write; __libc_lseek64;
    __libc_lock_self0; __libc_get_lock_self;
  }
}
 
     |