lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | libc { |
| 2 | GLIBC_2.0 { |
| 3 | # variables used in Mach-specific macros |
| 4 | __mach_task_self_; |
| 5 | __vm_page_size; |
| 6 | |
| 7 | # functions used in inline functions and macros |
| 8 | __mach_port_deallocate; __mach_thread_self; |
| 9 | |
| 10 | # functions used by RPC stubs |
| 11 | __mach_msg; __mach_msg_overwrite; |
| 12 | __mig_allocate; __mig_deallocate; __mig_dealloc_reply_port; |
| 13 | __mig_get_reply_port; __mig_put_reply_port; |
| 14 | __mig_strncpy; |
| 15 | |
| 16 | # variables in normal name space |
| 17 | vm_page_size; |
| 18 | |
| 19 | # functions in normal name space |
| 20 | |
| 21 | # e* |
| 22 | evc_wait; |
| 23 | |
| 24 | # m* |
| 25 | mach_error; mach_error_string; mach_error_type; |
| 26 | mach_host_self; |
| 27 | mach_msg; mach_msg_overwrite; |
| 28 | mach_msg_destroy; |
| 29 | mach_msg_send; mach_msg_receive; |
| 30 | mach_msg_server; mach_msg_server_timeout; |
| 31 | mach_open_devstream; |
| 32 | mach_port_allocate; mach_port_allocate_name; mach_port_deallocate; |
| 33 | mach_port_insert_right; mach_reply_port; |
| 34 | mach_setup_thread; |
| 35 | mach_task_self; |
| 36 | mach_thread_self; |
| 37 | mig_allocate; mig_dealloc_reply_port; mig_deallocate; |
| 38 | mig_get_reply_port; mig_init; mig_put_reply_port; |
| 39 | |
| 40 | # v* |
| 41 | vm_allocate; vm_deallocate; vm_map; |
| 42 | |
| 43 | # s* |
| 44 | swtch; swtch_pri; |
| 45 | |
| 46 | # t* |
| 47 | task_create; task_set_special_port; task_suspend; task_terminate; |
| 48 | thread_depress_abort; thread_switch; |
| 49 | } |
| 50 | GLIBC_2.2.5 { |
| 51 | # internal functions used by other libraries (e.g. librt) |
| 52 | __mach_msg_destroy; __mach_reply_port; |
| 53 | |
| 54 | # This was always there, but not exported as it should have been. |
| 55 | mig_strncpy; |
| 56 | } |
| 57 | |
| 58 | HURD_CTHREADS_0.3 { |
| 59 | __mutex_init; __mutex_lock; __mutex_lock_solid; __mutex_trylock; |
| 60 | __mutex_unlock; __mutex_unlock_solid; |
| 61 | __spin_lock; __spin_lock_init; __spin_lock_solid; __spin_try_lock; |
| 62 | __spin_unlock; |
| 63 | } |
| 64 | } |