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