xref: /illumos-gate/usr/src/lib/libc/port/mapfile-vers (revision 1e49577a7fcde812700ded04431b49d67cc57d6d)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
23#
24
25#
26# MAPFILE HEADER START
27#
28# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
29# Object versioning must comply with the rules detailed in
30#
31#	usr/src/lib/README.mapfiles
32#
33# You should not be making modifications here until you've read the most current
34# copy of that file. If you need help, contact a gatekeeper for guidance.
35#
36# MAPFILE HEADER END
37#
38
39$mapfile_version 2
40
41#
42# All function names added to this or any other libc mapfile
43# must be placed under the 'protected:' designation.
44# The 'global:' designation is used *only* for data
45# items and for the members of the malloc() family.
46#
47
48#
49# README README README README README README: how to update this file
50#   1) each version of Solaris/OpenSolaris gets a version number.
51#      (Actually since Solaris is actually a series of OpenSolaris releases
52#	we'll just use OpenSolaris for this exercise.)
53#	OpenSolaris 2008.11 gets 1.23
54#	OpenSolaris 2009.04 gets 1.24
55#	etc.
56#   2) each project integration uses a unique version number.
57#	PSARC/2008/123 gets 1.24.1
58#	PSARC/2008/456 gets 1.24.2
59#	etc.
60#
61
62
63# Mnemonic conditional input identifiers:
64#
65# - amd64, i386, sparc32, sparcv9: Correspond to ISA subdirectories used to
66#	hold per-platform code. Note however that we use 'sparc32' instead of
67#	'sparc'. Since '_sparc' is predefined to apply to, all sparc platforms,
68#	naming the 32-bit version 'sparc' would be too likely to cause errors.
69#
70# -	lf64: Defined on platforms that offer the 32-bit largefile APIs
71#
72$if _ELF32
73$add lf64
74$endif
75$if _sparc && _ELF32
76$add sparc32
77$endif
78$if _sparc && _ELF64
79$add sparcv9
80$endif
81$if _x86 && _ELF32
82$add i386
83$endif
84$if _x86 && _ELF64
85$add amd64
86$endif
87
88SYMBOL_VERSION SUNW_1.23 {	# SunOS 5.11 (Solaris 11)
89    global:
90	_nl_domain_bindings;
91	_nl_msg_cat_cntr;
92
93$if _ELF32
94	dl_iterate_phdr	{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
95$elif sparcv9
96	dl_iterate_phdr	{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
97$elif amd64
98	dl_iterate_phdr	{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
99$else
100$error unknown platform
101$endif
102
103    protected:
104
105$if sparc32
106	__align_cpy_1;
107$endif
108
109	addrtosymstr;
110	aio_cancel;
111	aiocancel;
112	aio_error;
113	aio_fsync;
114	aio_read;
115	aioread;
116	aio_return;
117	aio_suspend;
118	aiowait;
119	aio_waitn;
120	aio_write;
121	aiowrite;
122	asprintf;
123	assfail;
124	backtrace;
125	backtrace_symbols;
126	backtrace_symbols_fd;
127	clock_getres;
128	clock_gettime;
129	clock_nanosleep;
130	clock_settime;
131	daemon;
132	dirfd;
133	door_bind;
134	door_call;
135	door_create;
136	door_cred;
137	door_getparam;
138	door_info;
139	door_return;
140	door_revoke;
141	door_server_create;
142	door_setparam;
143	door_ucred;
144	door_unbind;
145	door_xcreate;
146	err;
147	errx;
148	faccessat;
149	fdatasync;
150	fgetattr;
151	forkallx;
152	forkx;
153	fsetattr;
154	getattrat;
155	htonl;
156	htonll;
157	htons;
158	lio_listio;
159	mkdtemp;
160	mkstemps;
161	mmapobj;
162	mq_close;
163	mq_getattr;
164	mq_notify;
165	mq_open;
166	mq_receive;
167	mq_reltimedreceive_np;
168	mq_reltimedsend_np;
169	mq_send;
170	mq_setattr;
171	mq_timedreceive;
172	mq_timedsend;
173	mq_unlink;
174	nanosleep;
175	ntohl;
176	ntohll;
177	ntohs;
178	posix_fadvise;
179	posix_fallocate;
180	posix_madvise;
181	posix_memalign;
182	posix_spawn_file_actions_addclosefrom_np;
183	posix_spawnattr_getsigignore_np;
184	posix_spawnattr_setsigignore_np;
185	priv_basicset;
186	pthread_key_create_once_np;
187	pthread_mutexattr_getrobust;
188	pthread_mutexattr_setrobust;
189	pthread_mutex_consistent;
190	sched_getparam;
191	sched_get_priority_max;
192	sched_get_priority_min;
193	sched_getscheduler;
194	sched_rr_get_interval;
195	sched_setparam;
196	sched_setscheduler;
197	sched_yield;
198	sem_close;
199	sem_destroy;
200	sem_getvalue;
201	sem_init;
202	sem_open;
203	sem_post;
204	sem_reltimedwait_np;
205	sem_timedwait;
206	sem_trywait;
207	sem_unlink;
208	sem_wait;
209	setattrat;
210	_sharefs;
211	shm_open;
212	shm_unlink;
213	sigqueue;
214	sigtimedwait;
215	sigwaitinfo;
216	strnlen;
217	strsep;
218	thr_keycreate_once;
219	timer_create;
220	timer_delete;
221	timer_getoverrun;
222	timer_gettime;
223	timer_settime;
224	u8_strcmp;
225	u8_validate;
226	uconv_u16tou32;
227	uconv_u16tou8;
228	uconv_u32tou16;
229	uconv_u32tou8;
230	uconv_u8tou16;
231	uconv_u8tou32;
232	vasprintf;
233	verr;
234	verrx;
235	vforkx;
236	vwarn;
237	vwarnx;
238	warn;
239	warnx;
240
241$if lf64
242	aio_cancel64;
243	aio_error64;
244	aio_fsync64;
245	aio_read64;
246	aioread64;
247	aio_return64;
248	aio_suspend64;
249	aio_waitn64;
250	aio_write64;
251	aiowrite64;
252	lio_listio64;
253	mkstemps64;
254	posix_fadvise64;
255	posix_fallocate64;
256$endif
257} SUNW_1.22.6;
258
259SYMBOL_VERSION SUNW_1.22.6 {	# s10u9 - SunOS 5.10 (Solaris 10) patch additions
260    protected:
261	futimens;
262	utimensat;
263} SUNW_1.22.5;
264
265SYMBOL_VERSION SUNW_1.22.5 {	# s10u8 - SunOS 5.10 (Solaris 10) patch additions
266    protected:
267	getpagesizes2;
268} SUNW_1.22.4;
269
270SYMBOL_VERSION SUNW_1.22.4 {	# s10u7 - SunOS 5.10 (Solaris 10) patch additions
271    protected:
272	SUNW_1.22.4;
273} SUNW_1.22.3;
274
275SYMBOL_VERSION SUNW_1.22.3 {	# SunOS 5.10 (Solaris 10) patch additions
276    protected:
277	mutex_consistent;
278	u8_textprep_str;
279	uucopy;
280	uucopystr;
281} SUNW_1.22.2;
282
283SYMBOL_VERSION SUNW_1.22.2 {	# SunOS 5.10 (Solaris 10) patch additions
284    protected:
285	is_system_labeled;
286	ucred_getlabel;
287	_ucred_getlabel;
288} SUNW_1.22.1;
289
290SYMBOL_VERSION SUNW_1.22.1 {	# SunOS 5.10 (Solaris 10) patch additions
291    protected:
292	atomic_add_8;
293	atomic_add_8_nv;
294	atomic_add_char		{ FLAGS = NODYNSORT };
295	atomic_add_char_nv	{ FLAGS = NODYNSORT };
296	atomic_add_int		{ FLAGS = NODYNSORT };
297	atomic_add_int_nv	{ FLAGS = NODYNSORT };
298	atomic_add_ptr		{ FLAGS = NODYNSORT };
299	atomic_add_ptr_nv	{ FLAGS = NODYNSORT };
300	atomic_add_short	{ FLAGS = NODYNSORT };
301	atomic_add_short_nv	{ FLAGS = NODYNSORT };
302	atomic_and_16;
303	atomic_and_16_nv;
304	atomic_and_32_nv;
305	atomic_and_64;
306	atomic_and_64_nv;
307	atomic_and_8;
308	atomic_and_8_nv;
309	atomic_and_uchar	{ FLAGS = NODYNSORT };
310	atomic_and_uchar_nv	{ FLAGS = NODYNSORT };
311	atomic_and_uint_nv	{ FLAGS = NODYNSORT };
312	atomic_and_ulong	{ FLAGS = NODYNSORT };
313	atomic_and_ulong_nv	{ FLAGS = NODYNSORT };
314	atomic_and_ushort	{ FLAGS = NODYNSORT };
315	atomic_and_ushort_nv	{ FLAGS = NODYNSORT };
316	atomic_cas_16;
317	atomic_cas_32;
318	atomic_cas_64;
319	atomic_cas_8;
320	atomic_cas_ptr		{ FLAGS = NODYNSORT };
321	atomic_cas_uchar	{ FLAGS = NODYNSORT };
322	atomic_cas_uint		{ FLAGS = NODYNSORT };
323	atomic_cas_ulong	{ FLAGS = NODYNSORT };
324	atomic_cas_ushort	{ FLAGS = NODYNSORT };
325	atomic_clear_long_excl	{ FLAGS = NODYNSORT };
326	atomic_dec_16;
327	atomic_dec_16_nv;
328	atomic_dec_32;
329	atomic_dec_32_nv;
330	atomic_dec_64;
331	atomic_dec_64_nv;
332	atomic_dec_8;
333	atomic_dec_8_nv;
334	atomic_dec_uchar	{ FLAGS = NODYNSORT };
335	atomic_dec_uchar_nv	{ FLAGS = NODYNSORT };
336	atomic_dec_uint		{ FLAGS = NODYNSORT };
337	atomic_dec_uint_nv	{ FLAGS = NODYNSORT };
338	atomic_dec_ulong	{ FLAGS = NODYNSORT };
339	atomic_dec_ulong_nv	{ FLAGS = NODYNSORT };
340	atomic_dec_ushort	{ FLAGS = NODYNSORT };
341	atomic_dec_ushort_nv	{ FLAGS = NODYNSORT };
342	atomic_inc_16;
343	atomic_inc_16_nv;
344	atomic_inc_32;
345	atomic_inc_32_nv;
346	atomic_inc_64;
347	atomic_inc_64_nv;
348	atomic_inc_8;
349	atomic_inc_8_nv;
350	atomic_inc_uchar	{ FLAGS = NODYNSORT };
351	atomic_inc_uchar_nv	{ FLAGS = NODYNSORT };
352	atomic_inc_uint		{ FLAGS = NODYNSORT };
353	atomic_inc_uint_nv	{ FLAGS = NODYNSORT };
354	atomic_inc_ulong	{ FLAGS = NODYNSORT };
355	atomic_inc_ulong_nv	{ FLAGS = NODYNSORT };
356	atomic_inc_ushort	{ FLAGS = NODYNSORT };
357	atomic_inc_ushort_nv	{ FLAGS = NODYNSORT };
358	atomic_or_16;
359	atomic_or_16_nv;
360	atomic_or_32_nv;
361	atomic_or_64;
362	atomic_or_64_nv;
363	atomic_or_8;
364	atomic_or_8_nv;
365	atomic_or_uchar		{ FLAGS = NODYNSORT };
366	atomic_or_uchar_nv	{ FLAGS = NODYNSORT };
367	atomic_or_uint_nv	{ FLAGS = NODYNSORT };
368	atomic_or_ulong		{ FLAGS = NODYNSORT };
369	atomic_or_ulong_nv	{ FLAGS = NODYNSORT };
370	atomic_or_ushort	{ FLAGS = NODYNSORT };
371	atomic_or_ushort_nv	{ FLAGS = NODYNSORT };
372	atomic_set_long_excl	{ FLAGS = NODYNSORT };
373	atomic_swap_16;
374	atomic_swap_32;
375	atomic_swap_64;
376	atomic_swap_8;
377	atomic_swap_ptr		{ FLAGS = NODYNSORT };
378	atomic_swap_uchar	{ FLAGS = NODYNSORT };
379	atomic_swap_uint	{ FLAGS = NODYNSORT };
380	atomic_swap_ulong	{ FLAGS = NODYNSORT };
381	atomic_swap_ushort	{ FLAGS = NODYNSORT };
382	membar_consumer;
383	membar_enter;
384	membar_exit;
385	membar_producer;
386
387$if _ELF32
388	enable_extended_FILE_stdio;
389$endif
390
391$if i386
392	# Note: atomic_[and,dec,inc,or]_64_nv are also defined above. Here,
393	# we add the NODYNSORT attribute to them. On this platform, they are
394	# aliases for the non-_nv versions. If that is changed, these lines
395	# should be removed.
396	atomic_and_64_nv	{ FLAGS = NODYNSORT };
397	atomic_dec_64_nv	{ FLAGS = NODYNSORT };
398	atomic_inc_64_nv	{ FLAGS = NODYNSORT };
399	atomic_or_64_nv		{ FLAGS = NODYNSORT };
400$endif
401$if _sparc
402	# Note: atomic_OP_WIDTH_nv symbols are also defined above. Here,
403	# we add the NODYNSORT attribute to them. On this platform, they are
404	# aliases for the non-_nv versions. If that is changed, these lines
405	# should be removed.
406	atomic_add_8_nv		{ FLAGS = NODYNSORT };
407	atomic_and_8_nv		{ FLAGS = NODYNSORT };
408	atomic_and_16_nv	{ FLAGS = NODYNSORT };
409	atomic_and_32_nv	{ FLAGS = NODYNSORT };
410	atomic_and_64_nv	{ FLAGS = NODYNSORT };
411	atomic_dec_8_nv		{ FLAGS = NODYNSORT };
412	atomic_dec_16_nv	{ FLAGS = NODYNSORT };
413	atomic_dec_32_nv	{ FLAGS = NODYNSORT };
414	atomic_dec_64_nv	{ FLAGS = NODYNSORT };
415	atomic_inc_8_nv		{ FLAGS = NODYNSORT };
416	atomic_inc_16_nv	{ FLAGS = NODYNSORT };
417	atomic_inc_32_nv	{ FLAGS = NODYNSORT };
418	atomic_inc_64_nv	{ FLAGS = NODYNSORT };
419	atomic_or_8_nv		{ FLAGS = NODYNSORT };
420	atomic_or_16_nv		{ FLAGS = NODYNSORT };
421	atomic_or_32_nv		{ FLAGS = NODYNSORT };
422	atomic_or_64_nv		{ FLAGS = NODYNSORT };
423$endif
424} SUNW_1.22;
425
426SYMBOL_VERSION SUNW_1.22 {	# SunOS 5.10 (Solaris 10)
427    global:
428$if _ELF32
429	dladdr		{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
430	dladdr1		{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
431	dlclose		{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
432	dldump		{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
433	dlerror		{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
434	dlinfo		{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
435	dlmopen		{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
436	dlopen		{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
437	dlsym		{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
438$elif sparcv9
439	dladdr		{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
440	dladdr1		{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
441	dlclose		{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
442	dldump		{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
443	dlerror		{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
444	dlinfo		{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
445	dlmopen		{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
446	dlopen		{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
447	dlsym		{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
448$elif amd64
449	dladdr		{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
450	dladdr1		{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
451	dlamd64getunwind { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
452	dlclose		{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
453	dldump		{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
454	dlerror		{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
455	dlinfo		{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
456	dlmopen		{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
457	dlopen		{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
458	dlsym		{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
459$else
460$error unknown platform
461$endif
462
463    protected:
464	alphasort;
465	_alphasort;
466	atomic_add_16;
467	atomic_add_16_nv;
468	atomic_add_32;
469	atomic_add_32_nv;
470	atomic_add_64;
471	atomic_add_64_nv;
472	atomic_add_long		{ FLAGS = NODYNSORT };
473	atomic_add_long_nv	{ FLAGS = NODYNSORT };
474	atomic_and_32;
475	atomic_and_uint		{ FLAGS = NODYNSORT };
476	atomic_or_32;
477	atomic_or_uint		{ FLAGS = NODYNSORT };
478	_Exit;
479	getisax;
480	_getisax;
481	getopt_clip;
482	_getopt_clip;
483	getopt_long;
484	_getopt_long;
485	getopt_long_only;
486	_getopt_long_only;
487	getpeerucred;
488	_getpeerucred;
489	getpflags;
490	_getpflags;
491	getppriv;
492	_getppriv;
493	getprivimplinfo;
494	_getprivimplinfo;
495	getzoneid;
496	getzoneidbyname;
497	getzonenamebyid;
498	imaxabs;
499	imaxdiv;
500	isblank;
501	iswblank;
502	port_alert;
503	port_associate;
504	port_create;
505	port_dissociate;
506	port_get;
507	port_getn;
508	port_send;
509	port_sendn;
510	posix_openpt;
511	posix_spawn;
512	posix_spawnattr_destroy;
513	posix_spawnattr_getflags;
514	posix_spawnattr_getpgroup;
515	posix_spawnattr_getschedparam;
516	posix_spawnattr_getschedpolicy;
517	posix_spawnattr_getsigdefault;
518	posix_spawnattr_getsigmask;
519	posix_spawnattr_init;
520	posix_spawnattr_setflags;
521	posix_spawnattr_setpgroup;
522	posix_spawnattr_setschedparam;
523	posix_spawnattr_setschedpolicy;
524	posix_spawnattr_setsigdefault;
525	posix_spawnattr_setsigmask;
526	posix_spawn_file_actions_addclose;
527	posix_spawn_file_actions_adddup2;
528	posix_spawn_file_actions_addopen;
529	posix_spawn_file_actions_destroy;
530	posix_spawn_file_actions_init;
531	posix_spawnp;
532	priv_addset;
533	_priv_addset;
534	priv_allocset;
535	_priv_allocset;
536	priv_copyset;
537	_priv_copyset;
538	priv_delset;
539	_priv_delset;
540	priv_emptyset;
541	_priv_emptyset;
542	priv_fillset;
543	_priv_fillset;
544	__priv_free_info;
545	priv_freeset;
546	_priv_freeset;
547	priv_getbyname;
548	_priv_getbyname;
549	__priv_getbyname;
550	priv_getbynum;
551	_priv_getbynum;
552	__priv_getbynum;
553	__priv_getdata;
554	priv_getsetbyname;
555	_priv_getsetbyname;
556	__priv_getsetbyname;
557	priv_getsetbynum;
558	_priv_getsetbynum;
559	__priv_getsetbynum;
560	priv_gettext;
561	_priv_gettext;
562	priv_ineffect;
563	_priv_ineffect;
564	priv_intersect;
565	_priv_intersect;
566	priv_inverse;
567	_priv_inverse;
568	priv_isemptyset;
569	_priv_isemptyset;
570	priv_isequalset;
571	_priv_isequalset;
572	priv_isfullset;
573	_priv_isfullset;
574	priv_ismember;
575	_priv_ismember;
576	priv_issubset;
577	_priv_issubset;
578	__priv_parse_info;
579	priv_set;
580	_priv_set;
581	priv_set_to_str;
582	_priv_set_to_str;
583	__priv_set_to_str;
584	priv_str_to_set;
585	_priv_str_to_set;
586	priv_union;
587	_priv_union;
588	pselect;
589	pthread_attr_getstack;
590	pthread_attr_setstack;
591	pthread_barrierattr_destroy;
592	pthread_barrierattr_getpshared;
593	pthread_barrierattr_init;
594	pthread_barrierattr_setpshared;
595	pthread_barrier_destroy;
596	pthread_barrier_init;
597	pthread_barrier_wait;
598	pthread_condattr_getclock;
599	pthread_condattr_setclock;
600	pthread_mutexattr_getrobust_np	{ FLAGS = NODYNSORT };
601	pthread_mutexattr_setrobust_np	{ FLAGS = NODYNSORT };
602	pthread_mutex_consistent_np	{ FLAGS = NODYNSORT };
603	pthread_mutex_reltimedlock_np;
604	pthread_mutex_timedlock;
605	pthread_rwlock_reltimedrdlock_np;
606	pthread_rwlock_reltimedwrlock_np;
607	pthread_rwlock_timedrdlock;
608	pthread_rwlock_timedwrlock;
609	pthread_setschedprio;
610	pthread_spin_destroy;
611	pthread_spin_init;
612	pthread_spin_lock;
613	pthread_spin_trylock;
614	pthread_spin_unlock;
615	rctlblk_set_recipient_pid;
616	scandir;
617	_scandir;
618	schedctl_exit;
619	schedctl_init;
620	schedctl_lookup;
621	sema_reltimedwait;
622	sema_timedwait;
623	setenv;
624	setpflags;
625	_setpflags;
626	setppriv;
627	_setppriv;
628	strerror_r;
629	strtof;
630	strtoimax;
631	strtold;
632	strtoumax;
633	ucred_free;
634	_ucred_free;
635	ucred_get;
636	_ucred_get;
637	ucred_getegid;
638	_ucred_getegid;
639	ucred_geteuid;
640	_ucred_geteuid;
641	ucred_getgroups;
642	_ucred_getgroups;
643	ucred_getpflags;
644	_ucred_getpflags;
645	ucred_getpid;
646	_ucred_getpid;
647	ucred_getprivset;
648	_ucred_getprivset;
649	ucred_getprojid;
650	_ucred_getprojid;
651	ucred_getrgid;
652	_ucred_getrgid;
653	ucred_getruid;
654	_ucred_getruid;
655	ucred_getsgid;
656	_ucred_getsgid;
657	ucred_getsuid;
658	_ucred_getsuid;
659	ucred_getzoneid;
660	_ucred_getzoneid;
661	ucred_size;
662	_ucred_size;
663	unsetenv;
664	wcstof;
665	wcstoimax;
666	wcstold;
667	wcstoll;
668	wcstoull;
669	wcstoumax;
670
671$if lf64
672	alphasort64;
673	_alphasort64;
674	pselect_large_fdset;
675	scandir64;
676	_scandir64;
677$endif
678
679$if _ELF64
680	walkcontext;
681$endif
682
683$if _sparc
684	# Note: atomic_add_[16,32,64]_nv are also defined above. Here, we add
685	# the NODYNSORT attribute to them. On this platform, they are aliases
686	# for the non-_nv versions. If that is changed, these lines should be
687	# removed.
688	atomic_add_16_nv	{ FLAGS = NODYNSORT };
689	atomic_add_32_nv	{ FLAGS = NODYNSORT };
690	atomic_add_64_nv	{ FLAGS = NODYNSORT };
691$endif
692
693$if i386
694	# Note: atomic_add_64_nv is also defined above. Here, we add the
695	# NODYNSORT attribute to it. On this platform, it is an aliases for
696	# atomic_add_64. If that is changed, this line should be removed.
697	atomic_add_64_nv 	{ FLAGS = NODYNSORT };
698$endif
699
700$if amd64
701	# Exception unwind APIs required by the amd64 ABI
702	_SUNW_Unwind_DeleteException;
703	_SUNW_Unwind_ForcedUnwind;
704	_SUNW_Unwind_GetCFA;
705	_SUNW_Unwind_GetGR;
706	_SUNW_Unwind_GetIP;
707	_SUNW_Unwind_GetLanguageSpecificData;
708	_SUNW_Unwind_GetRegionStart;
709	_SUNW_Unwind_RaiseException;
710	_SUNW_Unwind_Resume;
711	_SUNW_Unwind_SetGR;
712	_SUNW_Unwind_SetIP;
713	_UA_CLEANUP_PHASE;
714	_UA_FORCE_UNWIND;
715	_UA_HANDLER_FRAME;
716	_UA_SEARCH_PHASE;
717	_Unwind_DeleteException;
718	_Unwind_ForcedUnwind;
719	_Unwind_GetCFA;
720	_Unwind_GetGR;
721	_Unwind_GetIP;
722	_Unwind_GetLanguageSpecificData;
723	_Unwind_GetRegionStart;
724	_Unwind_RaiseException;
725	_Unwind_Resume;
726	_Unwind_SetGR;
727	_Unwind_SetIP;
728$endif
729} SUNW_1.21.3;
730
731SYMBOL_VERSION SUNW_1.21.3 {	# SunOS 5.9 (Solaris 9) patch additions
732    protected:
733	forkall;
734} SUNW_1.21.2;
735
736SYMBOL_VERSION SUNW_1.21.2 {	# SunOS 5.9 (Solaris 9) patch additions
737    protected:
738	getustack;
739	_getustack;
740	setustack;
741	_setustack;
742	stack_getbounds;
743	_stack_getbounds;
744	_stack_grow;
745	stack_inbounds;
746	_stack_inbounds;
747	stack_setbounds;
748	_stack_setbounds;
749	stack_violation;
750	_stack_violation;
751
752$if _sparc
753	__makecontext_v2;
754	___makecontext_v2;
755$endif
756} SUNW_1.21.1;
757
758SYMBOL_VERSION SUNW_1.21.1 {	# SunOS 5.9 (Solaris 9) patch additions
759    protected:
760	crypt_gensalt;
761} SUNW_1.21;
762
763SYMBOL_VERSION SUNW_1.21 {	# SunOS 5.9 (Solaris 9)
764    protected:
765	attropen;
766	_attropen;
767	bind_textdomain_codeset;
768	closefrom;
769	_closefrom;
770	cond_reltimedwait;
771	dcngettext;
772	dngettext;
773	fchownat;
774	_fchownat;
775	fdopendir;
776	_fdopendir;
777	fdwalk;
778	_fdwalk;
779	fstatat;
780	_fstatat;
781	futimesat;
782	_futimesat;
783	getcpuid;
784	_getcpuid;
785	gethomelgroup;
786	_gethomelgroup		{ FLAGS = NODYNSORT };
787	getpagesizes;
788	getrctl;
789	_getrctl;
790	issetugid;
791	_issetugid;
792	_lwp_cond_reltimedwait;
793	meminfo;
794	_meminfo;
795	ngettext;
796	openat;
797	_openat;
798	printstack;
799	priocntl;
800	priocntlset;
801	pset_getattr;
802	pset_getloadavg;
803	pset_list;
804	pset_setattr;
805	pthread_cond_reltimedwait_np;
806	rctlblk_get_enforced_value;
807	rctlblk_get_firing_time;
808	rctlblk_get_global_action;
809	rctlblk_get_global_flags;
810	rctlblk_get_local_action;
811	rctlblk_get_local_flags;
812	rctlblk_get_privilege;
813	rctlblk_get_recipient_pid;
814	rctlblk_get_value;
815	rctlblk_set_local_action;
816	rctlblk_set_local_flags;
817	rctlblk_set_privilege;
818	rctlblk_set_value;
819	rctlblk_size;
820	rctl_walk;
821	renameat;
822	setrctl;
823	_setrctl;
824	unlinkat;
825	_unlinkat;
826	vfscanf;
827	_vfscanf;
828	vfwscanf;
829	vscanf;
830	_vscanf;
831	vsscanf;
832	_vsscanf;
833	vswscanf;
834	vwscanf;
835
836$if _ELF32
837	walkcontext;
838$endif
839
840$if lf64
841	attropen64;
842	_attropen64;
843	fstatat64;
844	_fstatat64;
845	openat64;
846	_openat64;
847$endif
848} SUNW_1.20.4;
849
850SYMBOL_VERSION SUNW_1.20.4 {	# SunOS 5.8 (Solaris 8) patch additions
851    protected:
852	semtimedop;
853	_semtimedop;
854} SUNW_1.20.1;
855
856SYMBOL_VERSION SUNW_1.20.1 {	# SunOS 5.8 (Solaris 8) patch additions
857    protected:
858	getacct;
859	_getacct;
860	getprojid;
861	_getprojid;
862	gettaskid;
863	_gettaskid;
864	msgids;
865	_msgids;
866	msgsnap;
867	_msgsnap;
868	putacct;
869	_putacct;
870	semids;
871	_semids;
872	settaskid;
873	_settaskid;
874	shmids;
875	_shmids;
876	wracct;
877	_wracct;
878} SUNW_1.20;
879
880SYMBOL_VERSION SUNW_1.20 {	# SunOS 5.8 (Solaris 8)
881    protected:
882	getextmntent;
883	resetmnttab;
884} SUNW_1.19;
885
886SYMBOL_VERSION SUNW_1.19 {
887    protected:
888	strlcat;
889	strlcpy;
890	umount2;
891	_umount2;
892} SUNW_1.18.1;
893
894SYMBOL_VERSION SUNW_1.18.1 {
895    protected:
896	__fsetlocking;
897} SUNW_1.18;
898
899SYMBOL_VERSION SUNW_1.18 {	# SunOS 5.7 (Solaris 7)
900    protected:
901	btowc;
902	__fbufsize;
903	__flbf;
904	_flushlbf;
905	__fpending;
906	__fpurge;
907	__freadable;
908	__freading;
909	fwide;
910	fwprintf;
911	__fwritable;
912	__fwriting;
913	fwscanf;
914	getloadavg;
915	isaexec;
916	mbrlen;
917	mbrtowc;
918	mbsinit;
919	mbsrtowcs;
920	pcsample;
921	pthread_attr_getguardsize;
922	pthread_attr_setguardsize;
923	pthread_getconcurrency;
924	pthread_mutexattr_gettype;
925	pthread_mutexattr_settype;
926	pthread_rwlockattr_destroy;
927	pthread_rwlockattr_getpshared;
928	pthread_rwlockattr_init;
929	pthread_rwlockattr_setpshared;
930	pthread_rwlock_destroy;
931	pthread_rwlock_init;
932	pthread_rwlock_rdlock;
933	pthread_rwlock_tryrdlock;
934	pthread_rwlock_trywrlock;
935	pthread_rwlock_unlock;
936	pthread_rwlock_wrlock;
937	pthread_setconcurrency;
938	swprintf;
939	swscanf;
940	__sysconf_xpg5;
941	vfwprintf;
942	vswprintf;
943	vwprintf;
944	wcrtomb;
945	wcsrtombs;
946	wcsstr;
947	wctob;
948	wmemchr;
949	wmemcmp;
950	wmemcpy;
951	wmemmove;
952	wmemset;
953	wprintf;
954	wscanf;
955
956$if _ELF32
957	select_large_fdset;
958$endif
959} SUNW_1.17;
960
961# The empty versions SUNW_1.2 through SUNW_1.17 must be preserved because
962# applications built on Solaris 2.6 Beta (when they did contain symbols)
963# may depend on them.  All symbol content for SunOS 5.6 is now in SUNW_1.1
964
965SYMBOL_VERSION SUNW_1.17 {
966    protected:
967	SUNW_1.17;
968} SUNW_1.16;
969
970SYMBOL_VERSION SUNW_1.16 {
971    protected:
972	SUNW_1.16;
973} SUNW_1.15;
974
975SYMBOL_VERSION SUNW_1.15 {
976    protected:
977	SUNW_1.15;
978} SUNW_1.14;
979
980SYMBOL_VERSION SUNW_1.14 {
981    protected:
982	SUNW_1.14;
983} SUNW_1.13;
984
985SYMBOL_VERSION SUNW_1.13 {
986    protected:
987	SUNW_1.13;
988} SUNW_1.12;
989
990SYMBOL_VERSION SUNW_1.12 {
991    protected:
992	SUNW_1.12;
993} SUNW_1.11;
994
995SYMBOL_VERSION SUNW_1.11 {
996    protected:
997	SUNW_1.11;
998} SUNW_1.10;
999
1000SYMBOL_VERSION SUNW_1.10 {
1001    protected:
1002	SUNW_1.10;
1003} SUNW_1.9;
1004
1005SYMBOL_VERSION SUNW_1.9 {
1006    protected:
1007	SUNW_1.9;
1008} SUNW_1.8;
1009
1010SYMBOL_VERSION SUNW_1.8 {
1011    protected:
1012	SUNW_1.8;
1013} SUNW_1.7;
1014
1015SYMBOL_VERSION SUNW_1.7 {
1016    protected:
1017	SUNW_1.7;
1018} SUNW_1.6;
1019
1020SYMBOL_VERSION SUNW_1.6 {
1021    protected:
1022	SUNW_1.6;
1023} SUNW_1.5;
1024
1025SYMBOL_VERSION SUNW_1.5 {
1026    protected:
1027	SUNW_1.5;
1028} SUNW_1.4;
1029
1030SYMBOL_VERSION SUNW_1.4 {
1031    protected:
1032	SUNW_1.4;
1033} SUNW_1.3;
1034
1035SYMBOL_VERSION SUNW_1.3 {
1036    protected:
1037	SUNW_1.3;
1038} SUNW_1.2;
1039
1040SYMBOL_VERSION SUNW_1.2 {
1041    protected:
1042	SUNW_1.2;
1043} SUNW_1.1;
1044
1045SYMBOL_VERSION SUNW_1.1 {	# SunOS 5.6 (Solaris 2.6)
1046    global:
1047	__loc1;
1048    protected:
1049	basename;
1050	bindtextdomain;
1051	bsd_signal;
1052	dbm_clearerr;
1053	dbm_error;
1054	dcgettext;
1055	dgettext;
1056	directio;
1057	dirname;
1058	endusershell;
1059	_exithandle;
1060	fgetwc;
1061	fgetws;
1062	fpgetround;
1063	fpsetround;
1064	fputwc;
1065	fputws;
1066	fseeko;
1067	ftello;
1068	ftrylockfile;
1069	getexecname;
1070	_getexecname;
1071	getpassphrase;
1072	gettext;
1073	getusershell;
1074	getwc;
1075	getwchar;
1076	getws;
1077	isenglish;
1078	isideogram;
1079	isnumber;
1080	isphonogram;
1081	isspecial;
1082	iswalnum;
1083	iswalpha;
1084	iswcntrl;
1085	iswctype;
1086	iswdigit;
1087	iswgraph;
1088	iswlower;
1089	iswprint;
1090	iswpunct;
1091	iswspace;
1092	iswupper;
1093	iswxdigit;
1094	____loc1;
1095	_longjmp;
1096	_lwp_sema_trywait;
1097	ntp_adjtime;
1098	_ntp_adjtime;
1099	ntp_gettime;
1100	_ntp_gettime;
1101	__posix_asctime_r;
1102	__posix_ctime_r;
1103	__posix_getgrgid_r;
1104	__posix_getgrnam_r;
1105	__posix_getlogin_r;
1106	__posix_getpwnam_r;
1107	__posix_getpwuid_r;
1108	__posix_sigwait;
1109	__posix_ttyname_r;
1110	pset_assign;
1111	pset_bind;
1112	pset_create;
1113	pset_destroy;
1114	pset_info;
1115	pthread_atfork;
1116	pthread_attr_destroy;
1117	pthread_attr_getdetachstate;
1118	pthread_attr_getinheritsched;
1119	pthread_attr_getschedparam;
1120	pthread_attr_getschedpolicy;
1121	pthread_attr_getscope;
1122	pthread_attr_getstackaddr;
1123	pthread_attr_getstacksize;
1124	pthread_attr_init;
1125	pthread_attr_setdetachstate;
1126	pthread_attr_setinheritsched;
1127	pthread_attr_setschedparam;
1128	pthread_attr_setschedpolicy;
1129	pthread_attr_setscope;
1130	pthread_attr_setstackaddr;
1131	pthread_attr_setstacksize;
1132	pthread_cancel;
1133	__pthread_cleanup_pop;
1134	__pthread_cleanup_push;
1135	pthread_create;
1136	pthread_detach;
1137	pthread_equal;
1138	pthread_exit;
1139	pthread_getschedparam;
1140	pthread_getspecific;
1141	pthread_join;
1142	pthread_key_create;
1143	pthread_key_delete;
1144	pthread_kill;
1145	pthread_once;
1146	pthread_self;
1147	pthread_setcancelstate;
1148	pthread_setcanceltype;
1149	pthread_setschedparam;
1150	pthread_setspecific;
1151	pthread_sigmask;
1152	pthread_testcancel;
1153	putwc;
1154	putwchar;
1155	putws;
1156	regcmp;
1157	regex;
1158	resolvepath;
1159	_resolvepath;
1160	rwlock_destroy		{ FLAGS = NODYNSORT };
1161	_rwlock_destroy		{ FLAGS = NODYNSORT };
1162	sema_destroy;
1163	_sema_destroy;
1164	_setjmp;
1165	setusershell;
1166	siginterrupt;
1167	sigstack;
1168	snprintf;
1169	strtows;
1170	sync_instruction_memory;
1171	textdomain;
1172	thr_main;
1173	towctrans;
1174	towlower;
1175	towupper;
1176	ungetwc;
1177	vsnprintf;
1178	watoll;
1179	wcscat;
1180	wcschr;
1181	wcscmp;
1182	wcscoll;
1183	wcscpy;
1184	wcscspn;
1185	wcsftime;
1186	wcslen;
1187	wcsncat;
1188	wcsncmp;
1189	wcsncpy;
1190	wcspbrk;
1191	wcsrchr;
1192	wcsspn;
1193	wcstod;
1194	wcstok;
1195	wcstol;
1196	wcstoul;
1197	wcswcs;
1198	wcswidth;
1199	wcsxfrm;
1200	wctrans;
1201	wctype;
1202	wcwidth;
1203	wscasecmp;
1204	wscat;
1205	wschr;
1206	wscmp;
1207	wscol;
1208	wscoll;
1209	wscpy;
1210	wscspn;
1211	wsdup;
1212	wslen;
1213	wsncasecmp;
1214	wsncat;
1215	wsncmp;
1216	wsncpy;
1217	wspbrk;
1218	wsprintf;
1219	wsrchr;
1220	wsscanf;
1221	wsspn;
1222	wstod;
1223	wstok;
1224	wstol;
1225	wstoll;
1226	wstostr;
1227	wsxfrm;
1228	__xpg4_putmsg;
1229	__xpg4_putpmsg;
1230
1231$if lf64
1232	creat64;
1233	_creat64;
1234	fgetpos64;
1235	fopen64;
1236	freopen64;
1237	fseeko64;
1238	fsetpos64;
1239	fstat64;
1240	_fstat64;
1241	fstatvfs64;
1242	_fstatvfs64;
1243	ftello64;
1244	ftruncate64;
1245	_ftruncate64;
1246	ftw64;
1247	_ftw64;
1248	getdents64;
1249	_getdents64;
1250	getrlimit64;
1251	_getrlimit64;
1252	lockf64;
1253	_lockf64;
1254	lseek64;
1255	_lseek64;
1256	lstat64;
1257	_lstat64;
1258	mkstemp64;
1259	_mkstemp64;
1260	mmap64;
1261	_mmap64;
1262	nftw64;
1263	_nftw64;
1264	open64;
1265	_open64;
1266	__posix_readdir_r;
1267	pread64;
1268	_pread64;
1269	pwrite64;
1270	_pwrite64;
1271	readdir64;
1272	_readdir64;
1273	readdir64_r;
1274	_readdir64_r;
1275	setrlimit64;
1276	_setrlimit64;
1277	s_fcntl;
1278	_s_fcntl		{ FLAGS = NODYNSORT };
1279	s_ioctl;
1280	stat64;
1281	_stat64;
1282	statvfs64;
1283	_statvfs64;
1284	tell64;
1285	_tell64;
1286	tmpfile64;
1287	truncate64;
1288	_truncate64;
1289	_xftw64;
1290$endif
1291
1292$if _sparc
1293	__flt_rounds;
1294$endif
1295} SUNW_0.9;
1296
1297SYMBOL_VERSION SUNW_0.9 {	# SunOS 5.5 (Solaris 2.5)
1298    protected:
1299	acl;
1300	bcmp;
1301	bcopy;
1302	bzero;
1303	facl;
1304	ftime;
1305	getdtablesize;
1306	gethostid;
1307	gethostname;
1308	getpagesize;
1309	getpriority;
1310	getrusage;
1311	getwd;
1312	index;
1313	initstate;
1314	killpg;
1315	_nsc_trydoorcall;
1316	pthread_condattr_destroy;
1317	pthread_condattr_getpshared;
1318	pthread_condattr_init;
1319	pthread_condattr_setpshared;
1320	pthread_cond_broadcast;
1321	pthread_cond_destroy;
1322	pthread_cond_init;
1323	pthread_cond_signal;
1324	pthread_cond_timedwait;
1325	pthread_cond_wait;
1326	pthread_mutexattr_destroy;
1327	pthread_mutexattr_getprioceiling;
1328	pthread_mutexattr_getprotocol;
1329	pthread_mutexattr_getpshared;
1330	pthread_mutexattr_init;
1331	pthread_mutexattr_setprioceiling;
1332	pthread_mutexattr_setprotocol;
1333	pthread_mutexattr_setpshared;
1334	pthread_mutex_destroy;
1335	pthread_mutex_getprioceiling;
1336	pthread_mutex_init;
1337	pthread_mutex_lock;
1338	pthread_mutex_setprioceiling;
1339	pthread_mutex_trylock;
1340	pthread_mutex_unlock;
1341	random;
1342	reboot;
1343	re_comp;
1344	re_exec;
1345	rindex;
1346	setbuffer;
1347	sethostname;
1348	setlinebuf;
1349	setpriority;
1350	setregid;
1351	setreuid;
1352	setstate;
1353	srandom;
1354	thr_min_stack;
1355	thr_stksegment;
1356	ualarm;
1357	usleep;
1358	wait3;
1359	wait4;
1360} SUNW_0.8;
1361
1362SYMBOL_VERSION SUNW_0.8 {	# SunOS 5.4 (Solaris 2.4)
1363    global:
1364	__xpg4			{ FLAGS = NODIRECT };
1365    protected:
1366	addsev;
1367	cond_broadcast		{ FLAGS = NODYNSORT };
1368	cond_destroy		{ FLAGS = NODYNSORT };
1369	cond_init;
1370	cond_signal		{ FLAGS = NODYNSORT };
1371	cond_timedwait;
1372	cond_wait;
1373	confstr;
1374	fnmatch;
1375	_getdate_err_addr;
1376	glob;
1377	globfree;
1378	iconv;
1379	iconv_close;
1380	iconv_open;
1381	lfmt;
1382	mutex_destroy		{ FLAGS = NODYNSORT };
1383	mutex_init;
1384	mutex_lock		{ FLAGS = NODYNSORT };
1385	mutex_trylock		{ FLAGS = NODYNSORT };
1386	mutex_unlock		{ FLAGS = NODYNSORT };
1387	pfmt;
1388	regcomp;
1389	regerror;
1390	regexec;
1391	regfree;
1392	rwlock_init;
1393	rw_rdlock		{ FLAGS = NODYNSORT };
1394	rw_read_held;
1395	rw_tryrdlock		{ FLAGS = NODYNSORT };
1396	rw_trywrlock		{ FLAGS = NODYNSORT };
1397	rw_unlock		{ FLAGS = NODYNSORT };
1398	rw_write_held;
1399	rw_wrlock		{ FLAGS = NODYNSORT };
1400	sema_held;
1401	sema_init;
1402	sema_post;
1403	sema_trywait;
1404	sema_wait;
1405	setcat;
1406	sigfpe;
1407	strfmon;
1408	strptime;
1409	thr_continue;
1410	thr_create;
1411	thr_exit;
1412	thr_getconcurrency;
1413	thr_getprio;
1414	thr_getspecific;
1415	thr_join;
1416	thr_keycreate;
1417	thr_kill;
1418	thr_self		{ FLAGS = NODYNSORT };
1419	thr_setconcurrency;
1420	thr_setprio;
1421	thr_setspecific;
1422	thr_sigsetmask;
1423	thr_suspend;
1424	thr_yield;
1425	vlfmt;
1426	vpfmt;
1427	wordexp;
1428	wordfree;
1429} SUNW_0.7;
1430
1431SYMBOL_VERSION SUNW_0.7 {	# SunOS 5.3 (Solaris 2.3)
1432    global:
1433	altzone;
1434	_ctype;
1435	isnanf			{ TYPE = FUNCTION; FILTER = libm.so.2 };
1436	lone;
1437	lten;
1438	lzero;
1439	memalign		{ FLAGS = NODIRECT };
1440	modff			{ TYPE = FUNCTION; FILTER = libm.so.2 };
1441	nss_default_finders;
1442	_sibuf;
1443	_sobuf;
1444	_sys_buslist;
1445	_sys_cldlist;
1446	_sys_fpelist;
1447	_sys_illlist;
1448	_sys_segvlist;
1449	_sys_siginfolistp;
1450	_sys_siglist;
1451	_sys_siglistn;
1452	_sys_siglistp;
1453	_sys_traplist;
1454	valloc			{ FLAGS = NODIRECT };
1455
1456$if _ELF32
1457	_bufendtab;
1458	_lastbuf;
1459	sys_errlist;
1460	sys_nerr;
1461	_sys_nsig;
1462$endif
1463
1464    protected:
1465	a64l;
1466	adjtime;
1467	ascftime;
1468	_assert;
1469	atoll;
1470	brk;
1471	__builtin_alloca;
1472	cftime;
1473	closelog;
1474	csetcol;
1475	csetlen;
1476	ctermid_r;
1477	dbm_close;
1478	dbm_delete;
1479	dbm_fetch;
1480	dbm_firstkey;
1481	dbm_nextkey;
1482	dbm_open;
1483	dbm_store;
1484	decimal_to_double;
1485	decimal_to_extended;
1486	decimal_to_quadruple;
1487	decimal_to_single;
1488	double_to_decimal;
1489	drand48;
1490	econvert;
1491	ecvt;
1492	endnetgrent;
1493	endspent;
1494	endutent;
1495	endutxent;
1496	erand48;
1497	euccol;
1498	euclen;
1499	eucscol;
1500	extended_to_decimal;
1501	fchroot;
1502	fconvert;
1503	fcvt;
1504	ffs;
1505	fgetspent;
1506	fgetspent_r;
1507	_filbuf;
1508	file_to_decimal;
1509	finite;
1510	_flsbuf;
1511	fork1			{ FLAGS = NODYNSORT };
1512	fpclass;
1513	fpgetmask;
1514	fpgetsticky;
1515	fpsetmask;
1516	fpsetsticky;
1517	fstatfs;
1518	ftruncate;
1519	ftw;
1520	func_to_decimal;
1521	gconvert;
1522	gcvt;
1523	getdents;
1524	gethrtime;
1525	gethrvtime;
1526	getmntany;
1527	getmntent;
1528	getnetgrent;
1529	getnetgrent_r;
1530	getpw;
1531	getspent;
1532	getspent_r;
1533	getspnam;
1534	getspnam_r;
1535	getutent;
1536	getutid;
1537	getutline;
1538	getutmp;
1539	getutmpx;
1540	getutxent;
1541	getutxid;
1542	getutxline;
1543	getvfsany;
1544	getvfsent;
1545	getvfsfile;
1546	getvfsspec;
1547	getwidth;
1548	gsignal;
1549	hasmntopt;
1550	innetgr;
1551	insque;
1552	_insque;
1553	jrand48;
1554	l64a;
1555	ladd;
1556	lckpwdf;
1557	lcong48;
1558	ldivide;
1559	lexp10;
1560	llabs;
1561	lldiv;
1562	llog10;
1563	llseek;
1564	lltostr;
1565	lmul;
1566	lrand48;
1567	lshiftl;
1568	lsub;
1569	_lwp_cond_broadcast;
1570	_lwp_cond_signal;
1571	_lwp_cond_timedwait;
1572	_lwp_cond_wait;
1573	_lwp_continue;
1574	_lwp_info;
1575	_lwp_kill;
1576	_lwp_mutex_lock;
1577	_lwp_mutex_trylock;
1578	_lwp_mutex_unlock;
1579	_lwp_self;
1580	_lwp_sema_init;
1581	_lwp_sema_post;
1582	_lwp_sema_wait;
1583	_lwp_suspend;
1584	madvise;
1585	__major;
1586	__makedev;
1587	mincore;
1588	__minor;
1589	mkstemp;
1590	_mkstemp;
1591	mlockall;
1592	mrand48;
1593	munlockall;
1594	_mutex_held		{ FLAGS = NODYNSORT };
1595	_mutex_lock		{ FLAGS = NODYNSORT };
1596	nrand48;
1597	_nss_netdb_aliases;
1598	_nss_XbyY_buf_alloc;
1599	_nss_XbyY_buf_free;
1600	__nsw_extended_action;
1601	__nsw_freeconfig;
1602	__nsw_getconfig;
1603	openlog;
1604	plock;
1605	p_online;
1606	pread;
1607	__priocntl;
1608	__priocntlset;
1609	processor_bind;
1610	processor_info;
1611	psiginfo;
1612	psignal;
1613	putpwent;
1614	putspent;
1615	pututline;
1616	pututxline;
1617	pwrite;
1618	qeconvert;
1619	qecvt;
1620	qfconvert;
1621	qfcvt;
1622	qgconvert;
1623	qgcvt;
1624	quadruple_to_decimal;
1625	realpath;
1626	remque;
1627	_remque;
1628	_rw_read_held;
1629	_rw_write_held;
1630	seconvert;
1631	seed48;
1632	select;
1633	_sema_held;
1634	setegid;
1635	seteuid;
1636	setlogmask;
1637	setnetgrent;
1638	setspent;
1639	settimeofday;
1640	setutent;
1641	setutxent;
1642	sfconvert;
1643	sgconvert;
1644	sig2str;
1645	sigwait;
1646	single_to_decimal;
1647	srand48;
1648	ssignal;
1649	statfs;
1650	str2sig;
1651	strcasecmp;
1652	string_to_decimal;
1653	strncasecmp;
1654	strsignal;
1655	strtoll;
1656	strtoull;
1657	swapctl;
1658	_syscall;
1659	sysfs;
1660	syslog;
1661	_syslog;
1662	tmpnam_r;
1663	truncate;
1664	ttyslot;
1665	uadmin;
1666	ulckpwdf;
1667	ulltostr;
1668	unordered;
1669	updwtmp;
1670	updwtmpx;
1671	ustat;
1672	utimes;
1673	utmpname;
1674	utmpxname;
1675	vfork;
1676	vhangup;
1677	vsyslog;
1678	yield;
1679
1680$if i386
1681	# Note: _syscall is also defined above. Here, we add the NODYNSORT
1682	# attribute to it. On this platform, it is an alias to syscall.
1683	# If that is changed, this lines should be removed.
1684	_syscall		{ FLAGS = NODYNSORT };
1685$endif
1686
1687# The 32-bit sparc ABI requires SISCD_2.3. On other platforms, those symbols
1688# go directly into SUNW_0.7.
1689$if sparc32
1690} SISCD_2.3;
1691
1692SYMBOL_VERSION SISCD_2.3 {
1693$endif
1694
1695    global:
1696	errno			{ FLAGS = NODIRECT };
1697	_iob;
1698
1699    protected:
1700	addseverity;
1701	_addseverity;
1702	asctime_r;
1703	crypt;
1704	_crypt;
1705	ctime_r;
1706	encrypt;
1707	_encrypt;
1708	endgrent;
1709	endpwent;
1710	___errno;
1711	fgetgrent;
1712	fgetgrent_r;
1713	fgetpwent;
1714	fgetpwent_r;
1715	flockfile;
1716	funlockfile;
1717	getchar_unlocked;
1718	getc_unlocked;
1719	getgrent;
1720	getgrent_r;
1721	getgrgid_r;
1722	getgrnam_r;
1723	getitimer;
1724	_getitimer;
1725	getlogin_r;
1726	getpwent;
1727	getpwent_r;
1728	getpwnam_r;
1729	getpwuid_r;
1730	gettimeofday;
1731	_gettimeofday;
1732	gmtime_r;
1733	localtime_r;
1734	putchar_unlocked;
1735	putc_unlocked;
1736	rand_r;
1737	readdir_r;
1738	setgrent;
1739	setitimer;
1740	_setitimer;
1741	setkey;
1742	_setkey;
1743	setpwent;
1744	strtok_r;
1745	sysinfo;
1746	_sysinfo;
1747	ttyname_r;
1748
1749$if _ELF32
1750	__div64;
1751	__mul64;
1752	__rem64;
1753	__udiv64;
1754	__urem64;
1755$endif
1756
1757$if sparc32
1758	__dtoll;
1759	__dtoull;
1760	__ftoll;
1761	__ftoull;
1762	_Q_lltoq;
1763	_Q_qtoll;
1764	_Q_qtoull;
1765	_Q_ulltoq;
1766	sbrk;
1767	_sbrk;
1768	__umul64		{ FLAGS = NODYNSORT };	# Same address as __mul64
1769$endif
1770
1771# On 32-bit platforms, the following symbols go into SYSVABI_1.3, but on
1772# other platforms they go directly into the current version (which will be
1773# either SUNW_0.7, or SISCD_2.3, depending on the similar issue described above.
1774$if _ELF32
1775} SYSVABI_1.3;
1776
1777SYMBOL_VERSION SYSVABI_1.3 {
1778$endif
1779
1780    global:
1781	_altzone;
1782	calloc			{ FLAGS = NODIRECT };
1783	__ctype;
1784	daylight;
1785	_daylight;
1786	environ			{ FLAGS = NODIRECT };
1787	_environ		{ FLAGS = NODIRECT };
1788	free			{ FLAGS = NODIRECT };
1789	frexp			{ TYPE = FUNCTION; FILTER = libm.so.2 };
1790	getdate_err;
1791	_getdate_err;
1792	getenv;
1793	__huge_val;
1794	__iob;
1795	isnan			{ TYPE = FUNCTION; FILTER = libm.so.2 };
1796	_isnan			{ TYPE = FUNCTION; FILTER = libm.so.2 };
1797	isnand			{ TYPE = FUNCTION; FILTER = libm.so.2 };
1798	_isnand			{ TYPE = FUNCTION; FILTER = libm.so.2 };
1799	ldexp			{ TYPE = FUNCTION; FILTER = libm.so.2 };
1800	logb			{ TYPE = FUNCTION; FILTER = libm.so.2 };
1801	malloc			{ FLAGS = NODIRECT };
1802	memcmp;
1803	memcpy;
1804	memmove;
1805	memset;
1806	modf			{ TYPE = FUNCTION; FILTER = libm.so.2 };
1807	_modf			{ TYPE = FUNCTION; FILTER = libm.so.2 };
1808	nextafter		{ TYPE = FUNCTION; FILTER = libm.so.2 };
1809	_nextafter		{ TYPE = FUNCTION; FILTER = libm.so.2 };
1810	_numeric;
1811	optarg;
1812	opterr;
1813	optind;
1814	optopt;
1815	realloc			{ FLAGS = NODIRECT };
1816	scalb			{ TYPE = FUNCTION; FILTER = libm.so.2 };
1817	_scalb			{ TYPE = FUNCTION; FILTER = libm.so.2 };
1818	timezone;
1819	_timezone;
1820	tzname;
1821	_tzname;
1822$if i386
1823	_fp_hw;
1824$endif
1825
1826    protected:
1827	abort;
1828	abs;
1829	access;
1830	_access;
1831	acct;
1832	_acct;
1833	alarm;
1834	_alarm;
1835	asctime;
1836	__assert;
1837	atexit;
1838	atof;
1839	atoi;
1840	atol;
1841	bsearch;
1842	catclose;
1843	_catclose;
1844	catgets;
1845	_catgets;
1846	catopen;
1847	_catopen;
1848	cfgetispeed;
1849	_cfgetispeed;
1850	cfgetospeed;
1851	_cfgetospeed;
1852	cfsetispeed;
1853	_cfsetispeed;
1854	cfsetospeed;
1855	_cfsetospeed;
1856	chdir;
1857	_chdir;
1858	chmod;
1859	_chmod;
1860	chown;
1861	_chown;
1862	chroot;
1863	_chroot;
1864	_cleanup;
1865	clearerr;
1866	clock;
1867	_close;
1868	close;
1869	closedir;
1870	_closedir;
1871	creat;
1872	_creat;
1873	ctermid;
1874	ctime;
1875	cuserid;
1876	_cuserid;
1877	difftime;
1878	div;
1879	dup;
1880	_dup;
1881	dup2;
1882	_dup2;
1883	execl;
1884	_execl;
1885	execle;
1886	_execle;
1887	execlp;
1888	_execlp;
1889	execv;
1890	_execv;
1891	execve;
1892	_execve;
1893	execvp;
1894	_execvp;
1895	exit;
1896	_exit;
1897	fattach;
1898	_fattach;
1899	fchdir;
1900	_fchdir;
1901	fchmod;
1902	_fchmod;
1903	fchown;
1904	_fchown;
1905	fclose;
1906	fcntl;
1907	_fcntl;
1908	fdetach;
1909	_fdetach;
1910	fdopen;
1911	_fdopen;
1912	feof;
1913	ferror;
1914	fflush;
1915	fgetc;
1916	fgetpos;
1917	fgets;
1918	__filbuf;
1919	fileno;
1920	_fileno;
1921	__flsbuf;
1922	fmtmsg;
1923	_fmtmsg;
1924	fopen;
1925	_fork;
1926	fork;
1927	fpathconf;
1928	_fpathconf;
1929	fprintf;
1930	fputc;
1931	fputs;
1932	fread;
1933	freopen;
1934	fscanf;
1935	fseek;
1936	fsetpos;
1937	fstat;
1938	_fstat;
1939	fstatvfs;
1940	_fstatvfs;
1941	fsync;
1942	_fsync;
1943	ftell;
1944	ftok;
1945	_ftok;
1946	fwrite;
1947	getc;
1948	getchar;
1949	getcontext;
1950	_getcontext;
1951	getcwd;
1952	_getcwd;
1953	getdate;
1954	_getdate;
1955	getegid;
1956	_getegid;
1957	geteuid;
1958	_geteuid;
1959	getgid;
1960	_getgid;
1961	getgrgid;
1962	getgrnam;
1963	getgroups;
1964	_getgroups;
1965	getlogin;
1966	getmsg;
1967	_getmsg;
1968	getopt;
1969	_getopt;
1970	getpass;
1971	_getpass;
1972	getpgid;
1973	_getpgid;
1974	getpgrp;
1975	_getpgrp;
1976	getpid;
1977	_getpid;
1978	getpmsg;
1979	_getpmsg;
1980	getppid;
1981	_getppid;
1982	getpwnam;
1983	getpwuid;
1984	getrlimit;
1985	_getrlimit;
1986	gets;
1987	getsid;
1988	_getsid;
1989	getsubopt;
1990	_getsubopt;
1991	gettxt;
1992	_gettxt;
1993	getuid;
1994	_getuid;
1995	getw;
1996	_getw;
1997	gmtime;
1998	grantpt;
1999	_grantpt;
2000	hcreate;
2001	_hcreate;
2002	hdestroy;
2003	_hdestroy;
2004	hsearch;
2005	_hsearch;
2006	initgroups;
2007	_initgroups;
2008	ioctl;
2009	_ioctl;
2010	isalnum;
2011	isalpha;
2012	isascii;
2013	_isascii;
2014	isastream;
2015	_isastream;
2016	isatty;
2017	_isatty;
2018	iscntrl;
2019	isdigit;
2020	isgraph;
2021	islower;
2022	isprint;
2023	ispunct;
2024	isspace;
2025	isupper;
2026	isxdigit;
2027	kill;
2028	_kill;
2029	labs;
2030	lchown;
2031	_lchown;
2032	ldiv;
2033	lfind;
2034	_lfind;
2035	link;
2036	_link;
2037	localeconv;
2038	localtime;
2039	lockf;
2040	_lockf;
2041	longjmp;
2042	lsearch;
2043	_lsearch;
2044	lseek;
2045	_lseek;
2046	lstat;
2047	_lstat;
2048	makecontext;
2049	_makecontext;
2050	mblen;
2051	mbstowcs;
2052	mbtowc;
2053	memccpy;
2054	_memccpy;
2055	memchr;
2056	memcntl;
2057	_memcntl;
2058	mkdir;
2059	_mkdir;
2060	mkfifo;
2061	_mkfifo;
2062	mknod;
2063	_mknod;
2064	mktemp;
2065	_mktemp;
2066	mktime;
2067	mlock;
2068	_mlock;
2069	mmap;
2070	_mmap;
2071	monitor;
2072	_monitor;
2073	mount;
2074	_mount;
2075	mprotect;
2076	_mprotect;
2077	msgctl;
2078	_msgctl;
2079	msgget;
2080	_msgget;
2081	msgrcv;
2082	_msgrcv;
2083	msgsnd;
2084	_msgsnd;
2085	msync;
2086	_msync;
2087	munlock;
2088	_munlock;
2089	munmap;
2090	_munmap;
2091	nftw;
2092	_nftw;
2093	nice;
2094	_nice;
2095	nl_langinfo;
2096	_nl_langinfo;
2097	open;
2098	_open;
2099	opendir;
2100	_opendir;
2101	pathconf;
2102	_pathconf;
2103	pause;
2104	_pause;
2105	pclose;
2106	_pclose;
2107	perror;
2108	pipe;
2109	_pipe;
2110	poll;
2111	_poll;
2112	popen;
2113	_popen;
2114	printf;
2115	profil;
2116	_profil;
2117	ptsname;
2118	_ptsname;
2119	putc;
2120	putchar;
2121	putenv;
2122	_putenv;
2123	putmsg;
2124	_putmsg;
2125	putpmsg;
2126	_putpmsg;
2127	puts;
2128	putw;
2129	_putw;
2130	qsort;
2131	raise;
2132	rand;
2133	read;
2134	_read;
2135	readdir;
2136	_readdir;
2137	readlink;
2138	_readlink;
2139	readv;
2140	_readv;
2141	remove;
2142	rename;
2143	_rename;
2144	rewind;
2145	rewinddir;
2146	_rewinddir;
2147	rmdir;
2148	_rmdir;
2149	scanf;
2150	seekdir;
2151	_seekdir;
2152	semctl;
2153	_semctl;
2154	semget;
2155	_semget;
2156	semop;
2157	_semop;
2158	setbuf;
2159	setcontext;
2160	_setcontext		{ FLAGS = NODYNSORT };
2161	setgid;
2162	_setgid;
2163	setgroups;
2164	_setgroups;
2165	setjmp;
2166	setlabel;
2167	setlocale;
2168	setpgid;
2169	_setpgid;
2170	setpgrp;
2171	_setpgrp;
2172	setrlimit;
2173	_setrlimit;
2174	setsid;
2175	_setsid;
2176	setuid;
2177	_setuid;
2178	setvbuf;
2179	shmat;
2180	_shmat;
2181	shmctl;
2182	_shmctl;
2183	shmdt;
2184	_shmdt;
2185	shmget;
2186	_shmget;
2187	sigaction;
2188	_sigaction		{ FLAGS = NODYNSORT };
2189	sigaddset;
2190	_sigaddset;
2191	sigaltstack;
2192	_sigaltstack;
2193	sigdelset;
2194	_sigdelset;
2195	sigemptyset;
2196	_sigemptyset;
2197	sigfillset;
2198	_sigfillset;
2199	sighold;
2200	_sighold;
2201	sigignore;
2202	_sigignore;
2203	sigismember;
2204	_sigismember;
2205	siglongjmp;
2206	_siglongjmp;
2207	signal;
2208	sigpause;
2209	_sigpause;
2210	sigpending;
2211	_sigpending;
2212	sigprocmask;
2213	_sigprocmask;
2214	sigrelse;
2215	_sigrelse;
2216	sigsend;
2217	_sigsend;
2218	sigsendset;
2219	_sigsendset;
2220	sigset;
2221	_sigset;
2222	sigsetjmp;
2223	_sigsetjmp		{ FLAGS = NODYNSORT };
2224	sigsuspend;
2225	_sigsuspend;
2226	sleep;
2227	_sleep;
2228	sprintf;
2229	srand;
2230	sscanf;
2231	stat;
2232	_stat;
2233	statvfs;
2234	_statvfs;
2235	stime;
2236	_stime;
2237	strcat;
2238	strchr;
2239	strcmp;
2240	strcoll;
2241	strcpy;
2242	strcspn;
2243	strdup;
2244	_strdup;
2245	strerror;
2246	strftime;
2247	strlen;
2248	strncat;
2249	strncmp;
2250	strncpy;
2251	strpbrk;
2252	strrchr;
2253	strspn;
2254	strstr;
2255	strtod;
2256	strtok;
2257	strtol;
2258	strtoul;
2259	strxfrm;
2260	swab;
2261	_swab;
2262	swapcontext;
2263	_swapcontext;
2264	symlink;
2265	_symlink;
2266	sync;
2267	_sync;
2268	sysconf;
2269	_sysconf;
2270	system;
2271	tcdrain;
2272	_tcdrain;
2273	tcflow;
2274	_tcflow;
2275	tcflush;
2276	_tcflush;
2277	tcgetattr;
2278	_tcgetattr;
2279	tcgetpgrp;
2280	_tcgetpgrp;
2281	tcgetsid;
2282	_tcgetsid;
2283	tcsendbreak;
2284	_tcsendbreak;
2285	tcsetattr;
2286	_tcsetattr;
2287	tcsetpgrp;
2288	_tcsetpgrp;
2289	tdelete;
2290	_tdelete;
2291	tell;
2292	_tell;
2293	telldir;
2294	_telldir;
2295	tempnam;
2296	_tempnam;
2297	tfind;
2298	_tfind;
2299	time;
2300	_time;
2301	times;
2302	_times;
2303	tmpfile;
2304	tmpnam;
2305	toascii;
2306	_toascii;
2307	tolower;
2308	_tolower;
2309	toupper;
2310	_toupper;
2311	tsearch;
2312	_tsearch;
2313	ttyname;
2314	twalk;
2315	_twalk;
2316	tzset;
2317	_tzset;
2318	ulimit;
2319	_ulimit;
2320	umask;
2321	_umask;
2322	umount;
2323	_umount;
2324	uname;
2325	_uname;
2326	ungetc;
2327	unlink;
2328	_unlink;
2329	unlockpt;
2330	_unlockpt;
2331	utime;
2332	_utime;
2333	vfprintf;
2334	vprintf;
2335	vsprintf;
2336	wait;
2337	_wait;
2338	waitid;
2339	_waitid;
2340	waitpid;
2341	_waitpid;
2342	wcstombs;
2343	wctomb;
2344	write;
2345	_write;
2346	writev;
2347	_writev;
2348	_xftw;
2349
2350$if _ELF32
2351	ptrace;
2352	_ptrace;
2353$endif
2354
2355$if i386
2356	_fxstat;
2357	_lxstat;
2358	nuname;
2359	_nuname;
2360	_xmknod;
2361	_xstat;
2362$endif
2363
2364$if !sparc32
2365	sbrk;
2366$endif
2367
2368$if _sparc
2369	__dtou;
2370	__ftou;
2371$endif
2372
2373$if sparc32
2374	.div;
2375	.mul;
2376	.rem;
2377	.stret1;
2378	.stret2;
2379	.stret4;
2380	# .stret4 and .stret8 are the same thing
2381	.stret8			{ FLAGS = NODYNSORT };
2382	.udiv;
2383	.umul;
2384	.urem;
2385	_Q_add;
2386	_Q_cmp;
2387	_Q_cmpe;
2388	_Q_div;
2389	_Q_dtoq;
2390	_Q_feq;
2391	_Q_fge;
2392	_Q_fgt;
2393	_Q_fle;
2394	_Q_flt;
2395	_Q_fne;
2396	_Q_itoq;
2397	_Q_mul;
2398	_Q_neg;
2399	_Q_qtod;
2400	_Q_qtoi;
2401	_Q_qtos;
2402	_Q_qtou;
2403	_Q_sqrt;
2404	_Q_stoq;
2405	_Q_sub;
2406	_Q_utoq;
2407$endif
2408
2409$if sparcv9
2410	# __align_cpy_1 is an alias for memcpy. Filter it out of
2411	# the .SUNW_dynsymsort section
2412	__align_cpy_1		{ FLAGS = NODYNSORT };
2413	__align_cpy_16;
2414	__align_cpy_2;
2415	__align_cpy_4;
2416	# __align_cpy_8 is same as __align_cpy_16
2417	__align_cpy_8		{ FLAGS = NODYNSORT };
2418	__dtoul;
2419	__ftoul;
2420	_Qp_add;
2421	_Qp_cmp;
2422	_Qp_cmpe;
2423	_Qp_div;
2424	_Qp_dtoq;
2425	_Qp_feq;
2426	_Qp_fge;
2427	_Qp_fgt;
2428	_Qp_fle;
2429	_Qp_flt;
2430	_Qp_fne;
2431	_Qp_itoq;
2432	_Qp_mul;
2433	_Qp_neg;
2434	_Qp_qtod;
2435	_Qp_qtoi;
2436	_Qp_qtos;
2437	_Qp_qtoui;
2438	_Qp_qtoux;
2439	_Qp_qtox;
2440	_Qp_sqrt;
2441	_Qp_stoq;
2442	_Qp_sub;
2443	_Qp_uitoq;
2444	_Qp_uxtoq;
2445	_Qp_xtoq;
2446	__sparc_utrap_install;
2447$endif
2448
2449# On amd64, we also have SYSVABI_1.3, but it contains a small subset of
2450# the symbols put in that version on other platforms.
2451$if amd64
2452} SYSVABI_1.3;
2453
2454SYMBOL_VERSION SYSVABI_1.3 {
2455$endif
2456    global:
2457$if !_sparc
2458	__flt_rounds;
2459$endif
2460
2461    protected:
2462	_ctermid;
2463	_getgrgid;
2464	_getgrnam;
2465	_getlogin;
2466	_getpwnam;
2467	_getpwuid;
2468	_ttyname;
2469
2470$if !sparc32
2471	_sbrk;
2472$endif
2473
2474$if _x86
2475	_fpstart;
2476	__fpstart;
2477$endif
2478};
2479
2480
2481
2482# There should never be more than one SUNWprivate version.
2483# Don't add any more.  Add new private symbols to SUNWprivate_1.1
2484
2485SYMBOL_VERSION SUNWprivate_1.1 {
2486    global:
2487	___Argv			{ FLAGS = NODIRECT };
2488	cfree			{ FLAGS = NODIRECT };
2489	_cswidth;
2490	__ctype_mask;
2491	__environ_lock		{ FLAGS = NODIRECT };
2492	__inf_read;
2493	__inf_written;
2494	__i_size;
2495	_isnanf			{ TYPE = FUNCTION; FILTER = libm.so.2 };
2496	__lc_charmap;
2497	__lc_collate;
2498	__lc_ctype;
2499	__lc_locale;
2500	__lc_messages;
2501	__lc_monetary;
2502	__lc_numeric;
2503	__lc_time;
2504	__libc_threaded;
2505	_lib_version		{ FLAGS = NODIRECT };
2506	_logb			{ TYPE = FUNCTION; FILTER = libm.so.2 };
2507	_lone			{ FLAGS = NODYNSORT };
2508	_lten			{ FLAGS = NODYNSORT };
2509	_lzero			{ FLAGS = NODYNSORT };
2510	__malloc_lock;
2511	_memcmp;
2512	_memcpy			{ FLAGS = NODYNSORT };
2513	_memmove;
2514	_memset;
2515	_modff			{ TYPE = FUNCTION; FILTER = libm.so.2 };
2516	__nan_read;
2517	__nan_written;
2518	__nis_debug_bind;
2519	__nis_debug_calls;
2520	__nis_debug_file;
2521	__nis_debug_rpc;
2522	__nis_prefsrv;
2523	__nis_preftype;
2524	__nis_server;
2525	_nss_default_finders;
2526	_smbuf;
2527	_sp;
2528	_tdb_bootstrap;
2529	__threaded;
2530	thr_probe_getfunc_addr;
2531	__trans_lower;
2532	__trans_upper;
2533	_uberdata;
2534	__xpg6			{ FLAGS = NODIRECT };
2535
2536$if _ELF32
2537	_dladdr			{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2538	_dladdr1		{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2539	_dlclose		{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2540	_dldump			{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2541	_dlerror		{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2542	_dlinfo			{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2543	_dlmopen		{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2544	_dlopen			{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2545	_dlsym			{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2546	_ld_libc		{ TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2547	_sys_errlist;
2548	_sys_errs;
2549	_sys_index;
2550	_sys_nerr		{ FLAGS = NODYNSORT };
2551	_sys_num_err;
2552$elif sparcv9
2553	_dladdr		{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2554	_dladdr1	{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2555	_dlclose	{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2556	_dldump		{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2557	_dlerror	{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2558	_dlinfo		{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2559	_dlmopen	{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2560	_dlopen		{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2561	_dlsym		{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2562	_ld_libc	{ TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2563$elif amd64
2564	_dladdr		{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2565	_dladdr1	{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2566	_dlamd64getunwind { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2567	_dlclose	{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2568	_dldump		{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2569	_dlerror	{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2570	_dlinfo		{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2571	_dlmopen	{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2572	_dlopen		{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2573	_dlsym		{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2574	_ld_libc	{ TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2575$else
2576$error unknown platform
2577$endif
2578
2579$if _sparc
2580	__lyday_to_month;
2581	__mon_lengths;
2582	__yday_to_month;
2583$endif
2584$if i386
2585	_sse_hw;
2586$endif
2587
2588    protected:
2589	acctctl;
2590	allocids;
2591	_assert_c99;
2592	__assert_c99;
2593	_assfail;
2594	attr_count;
2595	attr_to_data_type;
2596	attr_to_name;
2597	attr_to_option;
2598	attr_to_xattr_view;
2599	_autofssys;
2600	__btowc_dense;
2601	__btowc_euc;
2602	__btowc_sb;
2603	_bufsync;
2604	__charmap_init;
2605	_cladm;
2606	__class_quadruple;
2607	__collate_init;
2608	core_get_default_content;
2609	core_get_default_path;
2610	core_get_global_content;
2611	core_get_global_path;
2612	core_get_options;
2613	core_get_process_content;
2614	core_get_process_path;
2615	core_set_default_content;
2616	core_set_default_path;
2617	core_set_global_content;
2618	core_set_global_path;
2619	core_set_options;
2620	core_set_process_content;
2621	core_set_process_path;
2622	__ctype_init;
2623	dbm_close_status;
2624	dbm_do_nextkey;
2625	dbm_setdefwrite;
2626	_D_cplx_div;
2627	_D_cplx_div_ix;
2628	_D_cplx_div_rx;
2629	_D_cplx_mul;
2630	defclose_r;
2631	defcntl;
2632	defcntl_r;
2633	defopen;
2634	defopen_r;
2635	defread;
2636	defread_r;
2637	_delete;
2638	_dgettext;
2639	_doprnt;
2640	_doscan;
2641	_errfp;
2642	_errxfp;
2643	__eucpctowc_gen;
2644	exportfs;
2645	_F_cplx_div;
2646	_F_cplx_div_ix;
2647	_F_cplx_div_rx;
2648	_F_cplx_mul;
2649	__fgetwc_dense;
2650	__fgetwc_euc;
2651	__fgetwc_sb;
2652	__fgetwc_xpg5;
2653	__fgetws_xpg5;
2654	_findbuf;
2655	_findiop;
2656	__fini_daemon_priv;
2657	_finite;
2658	__fnmatch_C;
2659	__fnmatch_sb;
2660	__fnmatch_std;
2661	_fork1			{ FLAGS = NODYNSORT };
2662	_forkall		{ FLAGS = NODYNSORT };
2663	_fpclass;
2664	_fpgetmask;
2665	_fpgetround;
2666	_fpgetsticky;
2667	_fprintf;
2668	_fpsetmask;
2669	_fpsetround;
2670	_fpsetsticky;
2671	__fputwc_xpg5;
2672	__fputws_xpg5;
2673	__fseterror_u;
2674	_ftw;
2675	_gcvt;
2676	_getarg;
2677	__getcontext;
2678	__getdate_std;
2679	_getdents;
2680	_get_exit_frame_monitor;
2681	_getfp;
2682	_getgroupsbymember;
2683	_getlogin_r;
2684	_getsp;
2685	__gettsp;
2686	getvmusage;
2687	__getwchar_xpg5;
2688	__getwc_xpg5;
2689	gtty;
2690	__idmap_flush_kcache;
2691	__idmap_reg;
2692	__idmap_unreg;
2693	__init_daemon_priv;
2694	__init_suid_priv;
2695	_insert;
2696	inst_sync;
2697	_is_euc_fc;
2698	_is_euc_pc;
2699	_iswctype;
2700	__iswctype_bc;
2701	__iswctype_sb;
2702	__iswctype_std;
2703	klpd_create;
2704	klpd_getpath;
2705	klpd_getport;
2706	klpd_getucred;
2707	klpd_register;
2708	klpd_register_id;
2709	klpd_unregister;
2710	klpd_unregister_id;
2711	_lgrp_home_fast		{ FLAGS = NODYNSORT };
2712	_lgrpsys;
2713	_lltostr;
2714	__localeconv_std;
2715	__locale_init;
2716	_lock_clear;
2717	_lock_try;
2718	_ltzset;
2719	lwp_self;
2720	makeut;
2721	makeutx;
2722	_mbftowc;
2723	__mbftowc_dense;
2724	__mbftowc_euc;
2725	__mbftowc_sb;
2726	__mblen_gen;
2727	__mblen_sb;
2728	__mbrlen_gen;
2729	__mbrlen_sb;
2730	__mbrtowc_dense;
2731	__mbrtowc_euc;
2732	__mbrtowc_sb;
2733	__mbsinit_gen;
2734	__mbsrtowcs_dense;
2735	__mbsrtowcs_euc;
2736	__mbsrtowcs_sb;
2737	__mbst_get_consumed_array;
2738	__mbst_get_locale;
2739	__mbst_get_nconsumed;
2740	__mbstowcs_dense;
2741	__mbstowcs_euc;
2742	__mbstowcs_sb;
2743	__mbst_set_consumed_array;
2744	__mbst_set_locale;
2745	__mbst_set_nconsumed;
2746	__mbtowc_dense;
2747	__mbtowc_euc;
2748	__mbtowc_sb;
2749	mcfiller;
2750	__messages_init;
2751	mntopt;
2752	modctl;
2753	modutx;
2754	__monetary_init;
2755	msgctl64;
2756	__multi_innetgr;
2757	_mutex_destroy		{ FLAGS = NODYNSORT };
2758	mutex_held;
2759	_mutex_init		{ FLAGS = NODYNSORT };
2760	_mutex_unlock		{ FLAGS = NODYNSORT };
2761	name_to_attr;
2762	nfs_getfh;
2763	nfssvc;
2764	_nfssys;
2765	__nis_get_environment;
2766	__nl_langinfo_std;
2767	_nss_db_state_destr;
2768	nss_default_key2str;
2769	nss_delete;
2770	nss_endent;
2771	nss_getent;
2772	_nss_initf_group;
2773	_nss_initf_netgroup;
2774	_nss_initf_passwd;
2775	_nss_initf_shadow;
2776	nss_packed_arg_init;
2777	nss_packed_context_init;
2778	nss_packed_getkey;
2779	nss_packed_set_status;
2780	nss_search;
2781	nss_setent;
2782	_nss_XbyY_fgets;
2783	__nsw_extended_action_v1;
2784	__nsw_freeconfig_v1;
2785	__nsw_getconfig_v1;
2786	__nthreads;
2787	__numeric_init;
2788	__openattrdirat;
2789	option_to_attr;
2790	__priv_bracket;
2791	__priv_relinquish;
2792	pset_assign_forced;
2793	pset_bind_lwp;
2794	_psignal;
2795	_pthread_setcleanupinit;
2796	__putwchar_xpg5;
2797	__putwc_xpg5;
2798	rctlctl;
2799	rctllist;
2800	_realbufend;
2801	__regcomp_C;
2802	__regcomp_std;
2803	__regerror_std;
2804	__regexec_C;
2805	__regexec_std;
2806	__regfree_std;
2807	_resume;
2808	_resume_ret;
2809	_rpcsys;
2810	_sbrk_grow_aligned;
2811	scrwidth;
2812	semctl64;
2813	_semctl64;
2814	set_setcontext_enforcement;
2815	set_l10n_alternate_root;
2816	_setbufend;
2817	__set_errno;
2818	setprojrctl;
2819	_setregid;
2820	_setreuid;
2821	setsigacthandler;
2822	shmctl64;
2823	_shmctl64;
2824	sigflag;
2825	_signal;
2826	_sigoff;
2827	_sigon;
2828	_so_accept;
2829	_so_bind;
2830	_sockconfig;
2831	_so_connect;
2832	_so_getpeername;
2833	_so_getsockname;
2834	_so_getsockopt;
2835	_so_listen;
2836	_so_recv;
2837	_so_recvfrom;
2838	_so_recvmsg;
2839	_so_send;
2840	_so_sendmsg;
2841	_so_sendto;
2842	_so_setsockopt;
2843	_so_shutdown;
2844	_so_socket;
2845	_so_socketpair;
2846	str2group;
2847	str2passwd;
2848	str2spwd;
2849	__strcoll_C;
2850	__strcoll_sb;
2851	__strcoll_std;
2852	__strfmon_std;
2853	__strftime_std;
2854	__strptime_dontzero;
2855	__strptime_std;
2856	__strxfrm_C;
2857	__strxfrm_sb;
2858	__strxfrm_std;
2859	stty;
2860	syscall;
2861	_sysconfig;
2862	__systemcall;
2863	thr_continue_allmutators;
2864	_thr_continue_allmutators;
2865	thr_continue_mutator;
2866	_thr_continue_mutator;
2867	thr_getstate;
2868	_thr_getstate;
2869	thr_mutators_barrier;
2870	_thr_mutators_barrier;
2871	thr_probe_setup;
2872	_thr_schedctl;
2873	thr_setmutator;
2874	_thr_setmutator;
2875	thr_setstate;
2876	_thr_setstate;
2877	thr_sighndlrinfo;
2878	_thr_sighndlrinfo;
2879	_thr_slot_offset;
2880	thr_suspend_allmutators;
2881	_thr_suspend_allmutators;
2882	thr_suspend_mutator;
2883	_thr_suspend_mutator;
2884	thr_wait_mutator;
2885	_thr_wait_mutator;
2886	__time_init;
2887	__tls_get_addr;
2888	__towctrans_bc;
2889	__towctrans_std;
2890	__towlower_bc;
2891	__towlower_std;
2892	__towupper_bc;
2893	__towupper_std;
2894	tpool_create;
2895	tpool_dispatch;
2896	tpool_destroy;
2897	tpool_wait;
2898	tpool_suspend;
2899	tpool_suspended;
2900	tpool_resume;
2901	tpool_member;
2902	_trwctype;
2903	__trwctype_std;
2904	_ttyname_dev;
2905	_ucred_alloc;
2906	ucred_getamask;
2907	_ucred_getamask;
2908	ucred_getasid;
2909	_ucred_getasid;
2910	ucred_getatid;
2911	_ucred_getatid;
2912	ucred_getauid;
2913	_ucred_getauid;
2914	_ulltostr;
2915	_uncached_getgrgid_r;
2916	_uncached_getgrnam_r;
2917	_uncached_getpwnam_r;
2918	_uncached_getpwuid_r;
2919	__ungetwc_xpg5;
2920	_unordered;
2921	utssys;
2922	_verrfp;
2923	_verrxfp;
2924	_vwarnfp;
2925	_vwarnxfp;
2926	_warnfp;
2927	_warnxfp;
2928	__wcrtomb_dense;
2929	__wcrtomb_euc;
2930	__wcrtomb_sb;
2931	__wcscoll_bc;
2932	__wcscoll_C;
2933	__wcscoll_std;
2934	__wcsftime_std;
2935	__wcsftime_xpg5;
2936	__wcsrtombs_dense;
2937	__wcsrtombs_euc;
2938	__wcsrtombs_sb;
2939	__wcstok_xpg5;
2940	__wcstombs_dense;
2941	__wcstombs_euc;
2942	__wcstombs_sb;
2943	__wcswidth_bc;
2944	__wcswidth_dense;
2945	__wcswidth_euc;
2946	__wcswidth_sb;
2947	__wcswidth_std;
2948	__wcsxfrm_bc;
2949	__wcsxfrm_C;
2950	__wcsxfrm_std;
2951	__wctob_dense;
2952	__wctob_euc;
2953	__wctob_sb;
2954	__wctoeucpc_gen;
2955	__wctomb_dense;
2956	__wctomb_euc;
2957	__wctomb_sb;
2958	__wctrans_std;
2959	__wctype_std;
2960	__wcwidth_bc;
2961	__wcwidth_dense;
2962	__wcwidth_euc;
2963	__wcwidth_sb;
2964	__wcwidth_std;
2965	wdbindf;
2966	wdchkind;
2967	wddelim;
2968	_wrtchk;
2969	_xflsbuf;
2970	_xgetwidth;
2971	zone_add_datalink;
2972	zone_boot;
2973	zone_check_datalink;
2974	zone_create;
2975	zone_destroy;
2976	zone_enter;
2977	zone_getattr;
2978	zone_get_id;
2979	zone_list;
2980	zone_list_datalink;
2981	zonept;
2982	zone_remove_datalink;
2983	zone_setattr;
2984	zone_shutdown;
2985	zone_version;
2986
2987$if _ELF32
2988	__divdi3;
2989	_file_set;
2990	_fprintf_c89;
2991	_fscanf_c89;
2992	_fwprintf_c89;
2993	_fwscanf_c89;
2994	_imaxabs_c89;
2995	_imaxdiv_c89;
2996	__moddi3;
2997	_printf_c89;
2998	_scanf_c89;
2999	_snprintf_c89;
3000	_sprintf_c89;
3001	_sscanf_c89;
3002	_strtoimax_c89;
3003	_strtoumax_c89;
3004	_swprintf_c89;
3005	_swscanf_c89;
3006	__udivdi3;
3007	__umoddi3;
3008	_vfprintf_c89;
3009	_vfscanf_c89;
3010	_vfwprintf_c89;
3011	_vfwscanf_c89;
3012	_vprintf_c89;
3013	_vscanf_c89;
3014	_vsnprintf_c89;
3015	_vsprintf_c89;
3016	_vsscanf_c89;
3017	_vswprintf_c89;
3018	_vswscanf_c89;
3019	_vwprintf_c89;
3020	_vwscanf_c89;
3021	_wcstoimax_c89;
3022	_wcstoumax_c89;
3023	_wprintf_c89;
3024	_wscanf_c89;
3025$endif
3026
3027$if _sparc
3028	_cerror;
3029	install_utrap;
3030	_install_utrap;
3031	nop;
3032	_Q_cplx_div;
3033	_Q_cplx_div_ix;
3034	_Q_cplx_div_rx;
3035	_Q_cplx_lr_div;
3036	_Q_cplx_lr_div_ix;
3037	_Q_cplx_lr_div_rx;
3038	_Q_cplx_lr_mul;
3039	_Q_cplx_mul;
3040	_QgetRD;
3041	_xregs_clrptr;
3042$endif
3043
3044$if sparc32
3045	__ashldi3;
3046	__ashrdi3;
3047	_cerror64;
3048	__cmpdi2;
3049	__floatdidf;
3050	__floatdisf;
3051	__lshrdi3;
3052	__muldi3;
3053	__ucmpdi2;
3054$endif
3055
3056$if _x86
3057	_D_cplx_lr_div;
3058	_D_cplx_lr_div_ix;
3059	_D_cplx_lr_div_rx;
3060	_F_cplx_lr_div;
3061	_F_cplx_lr_div_ix;
3062	_F_cplx_lr_div_rx;
3063	__fltrounds;
3064	sysi86;
3065	_sysi86;
3066	_X_cplx_div;
3067	_X_cplx_div_ix;
3068	_X_cplx_div_rx;
3069	_X_cplx_lr_div;
3070	_X_cplx_lr_div_ix;
3071	_X_cplx_lr_div_rx;
3072	_X_cplx_mul;
3073	__xgetRD;
3074	__xtol;
3075	__xtoll;
3076	__xtoul;
3077	__xtoull;
3078$endif
3079
3080$if i386
3081	__divrem64;
3082	___tls_get_addr;
3083	__udivrem64;
3084$endif
3085
3086# The following functions should not be exported from libc,
3087# but /lib/libm.so.2, some older versions of the Studio
3088# compiler/debugger components, and some ancient programs
3089# found in /usr/dist reference them.  When we no longer
3090# care about these old and broken binary objects, these
3091# symbols should be deleted.
3092	_brk					{ FLAGS = NODYNSORT };
3093	_cond_broadcast				{ FLAGS = NODYNSORT };
3094	_cond_init				{ FLAGS = NODYNSORT };
3095	_cond_signal				{ FLAGS = NODYNSORT };
3096	_cond_wait				{ FLAGS = NODYNSORT };
3097	_ecvt					{ FLAGS = NODYNSORT };
3098	_fcvt					{ FLAGS = NODYNSORT };
3099	_getc_unlocked				{ FLAGS = NODYNSORT };
3100	_llseek					{ FLAGS = NODYNSORT };
3101	_pthread_attr_getdetachstate		{ FLAGS = NODYNSORT };
3102	_pthread_attr_getinheritsched		{ FLAGS = NODYNSORT };
3103	_pthread_attr_getschedparam		{ FLAGS = NODYNSORT };
3104	_pthread_attr_getschedpolicy		{ FLAGS = NODYNSORT };
3105	_pthread_attr_getscope			{ FLAGS = NODYNSORT };
3106	_pthread_attr_getstackaddr		{ FLAGS = NODYNSORT };
3107	_pthread_attr_getstacksize		{ FLAGS = NODYNSORT };
3108	_pthread_attr_init			{ FLAGS = NODYNSORT };
3109	_pthread_condattr_getpshared		{ FLAGS = NODYNSORT };
3110	_pthread_condattr_init			{ FLAGS = NODYNSORT };
3111	_pthread_cond_init			{ FLAGS = NODYNSORT };
3112	_pthread_create				{ FLAGS = NODYNSORT };
3113	_pthread_getschedparam			{ FLAGS = NODYNSORT };
3114	_pthread_join				{ FLAGS = NODYNSORT };
3115	_pthread_key_create			{ FLAGS = NODYNSORT };
3116	_pthread_mutexattr_getprioceiling	{ FLAGS = NODYNSORT };
3117	_pthread_mutexattr_getprotocol		{ FLAGS = NODYNSORT };
3118	_pthread_mutexattr_getpshared		{ FLAGS = NODYNSORT };
3119	_pthread_mutexattr_init			{ FLAGS = NODYNSORT };
3120	_pthread_mutex_getprioceiling		{ FLAGS = NODYNSORT };
3121	_pthread_mutex_init			{ FLAGS = NODYNSORT };
3122	_pthread_sigmask			{ FLAGS = NODYNSORT };
3123	_rwlock_init				{ FLAGS = NODYNSORT };
3124	_rw_rdlock				{ FLAGS = NODYNSORT };
3125	_rw_unlock				{ FLAGS = NODYNSORT };
3126	_rw_wrlock				{ FLAGS = NODYNSORT };
3127	_sbrk_unlocked				{ FLAGS = NODYNSORT };
3128	_select					{ FLAGS = NODYNSORT };
3129	_sema_init				{ FLAGS = NODYNSORT };
3130	_sema_post				{ FLAGS = NODYNSORT };
3131	_sema_trywait				{ FLAGS = NODYNSORT };
3132	_sema_wait				{ FLAGS = NODYNSORT };
3133	_sysfs					{ FLAGS = NODYNSORT };
3134	_thr_create				{ FLAGS = NODYNSORT };
3135	_thr_exit				{ FLAGS = NODYNSORT };
3136	_thr_getprio				{ FLAGS = NODYNSORT };
3137	_thr_getspecific			{ FLAGS = NODYNSORT };
3138	_thr_join				{ FLAGS = NODYNSORT };
3139	_thr_keycreate				{ FLAGS = NODYNSORT };
3140	_thr_kill				{ FLAGS = NODYNSORT };
3141	_thr_main				{ FLAGS = NODYNSORT };
3142	_thr_self				{ FLAGS = NODYNSORT };
3143	_thr_setspecific			{ FLAGS = NODYNSORT };
3144	_thr_sigsetmask				{ FLAGS = NODYNSORT };
3145	_thr_stksegment				{ FLAGS = NODYNSORT };
3146	_ungetc_unlocked			{ FLAGS = NODYNSORT };
3147
3148    local:
3149	__imax_lldiv				{ FLAGS = NODYNSORT };
3150	_ti_thr_self				{ FLAGS = NODYNSORT };
3151	*;
3152
3153$if lf64
3154	_seekdir64		{ FLAGS = NODYNSORT };
3155	_telldir64		{ FLAGS = NODYNSORT };
3156$endif
3157
3158$if _sparc
3159	__cerror		{ FLAGS = NODYNSORT };
3160$endif
3161
3162$if sparc32
3163	__cerror64		{ FLAGS = NODYNSORT };
3164$endif
3165
3166$if sparcv9
3167	__cleanup		{ FLAGS = NODYNSORT };
3168$endif
3169
3170$if i386
3171	_syscall6		{ FLAGS = NODYNSORT };
3172	__systemcall6		{ FLAGS = NODYNSORT };
3173$endif
3174
3175$if amd64
3176	___tls_get_addr		{ FLAGS = NODYNSORT };
3177$endif
3178};
3179