libc: nuke getpw()
[unleashed.git] / usr / src / lib / libc / port / mapfile-vers
bloba8b790ac678e9bd956fbcb89c36dce67de4cb1c6
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
22 # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
24 # Copyright 2010 Nexenta Systems, Inc.  All rights reserved.
25 # Use is subject to license terms.
27 # Copyright (c) 2012 by Delphix. All rights reserved.
28 # Copyright 2016 Joyent, Inc.
29 # Copyright (c) 2013, OmniTI Computer Consulting, Inc. All rights reserved.
30 # Copyright (c) 2013 Gary Mills
31 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
34 # MAPFILE HEADER START
36 # WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
37 # Object versioning must comply with the rules detailed in
39 #       usr/src/lib/README.mapfiles
41 # You should not be making modifications here until you've read the most current
42 # copy of that file. If you need help, contact a gatekeeper for guidance.
44 # MAPFILE HEADER END
47 $mapfile_version 2
50 # All function names added to this or any other libc mapfile
51 # must be placed under the 'protected:' designation.
52 # The 'global:' designation is used *only* for data
53 # items and for the members of the malloc() family.
57 # README README README README README README: how to update this file
58 #   1) each version of Solaris/OpenSolaris gets a version number.
59 #      (Actually since Solaris is actually a series of OpenSolaris releases
60 #       we'll just use OpenSolaris for this exercise.)
61 #       OpenSolaris 2008.11 gets 1.23
62 #       OpenSolaris 2009.04 gets 1.24
63 #       etc.
64 #   2) each project integration uses a unique version number.
65 #       PSARC/2008/123 gets 1.24.1
66 #       PSARC/2008/456 gets 1.24.2
67 #       etc.
71 # Mnemonic conditional input identifiers:
73 # - amd64, i386, sparc32, sparcv9: Correspond to ISA subdirectories used to
74 #       hold per-platform code. Note however that we use 'sparc32' instead of
75 #       'sparc'. Since '_sparc' is predefined to apply to, all sparc platforms,
76 #       naming the 32-bit version 'sparc' would be too likely to cause errors.
78 # -     lf64: Defined on platforms that offer the 32-bit largefile APIs
80 $if _ELF32
81 $add lf64
82 $endif
83 $if _sparc && _ELF32
84 $add sparc32
85 $endif
86 $if _sparc && _ELF64
87 $add sparcv9
88 $endif
89 $if _x86 && _ELF32
90 $add i386
91 $endif
92 $if _x86 && _ELF64
93 $add amd64
94 $endif
96 SYMBOL_VERSION ILLUMOS_0.22 {   # endian(3C)
97     protected:
98         htobe16;
99         htobe32;
100         htobe64;
101         htole16;
102         htole32;
103         htole64;
104         betoh16;
105         letoh16;
106         be16toh;
107         le16toh;
108         betoh32;
109         letoh32;
110         be32toh;
111         le32toh;
112         betoh64;
113         letoh64;
114         be64toh;
115         le64toh;
116 } ILLUMOS_0.21;
118 SYMBOL_VERSION ILLUMOS_0.21 {
119     protected:
120         pthread_attr_get_np;
121 } ILLUMOS_0.20;
123 SYMBOL_VERSION ILLUMOS_0.20 {   # C11
124     protected:
125         aligned_alloc;
126         at_quick_exit;
127         call_once;
128         cnd_broadcast;
129         cnd_destroy;
130         cnd_init;
131         cnd_signal;
132         cnd_timedwait;
133         cnd_wait;
134         mtx_destroy;
135         mtx_init;
136         mtx_lock;
137         mtx_timedlock;
138         mtx_trylock;
139         mtx_unlock;
140         quick_exit;
141         thrd_create;
142         thrd_current;
143         thrd_detach;
144         thrd_equal;
145         thrd_exit;
146         thrd_join;
147         thrd_sleep;
148         thrd_yield;
149         timespec_get;
150         tss_create;
151         tss_delete;
152         tss_get;
153         tss_set;
154 } ILLUMOS_0.19;
156 SYMBOL_VERSION ILLUMOS_0.19 {   # flock
157     protected:
158         flock;
159 } ILLUMOS_0.18;
161 SYMBOL_VERSION ILLUMOS_0.18 {   # signalfd
162     protected:
163         signalfd;
164 } ILLUMOS_0.17;
166 SYMBOL_VERSION ILLUMOS_0.17 {   # glob(3C) LFS
167 $if lf64
168     protected:
169         _glob_ext64;
170         _globfree_ext64;
171 $endif
172 } ILLUMOS_0.16;
174 SYMBOL_VERSION ILLUMOS_0.16 {   # timerfd
175     protected:
176         timerfd_create;
177         timerfd_gettime;
178         timerfd_settime;
179 } ILLUMOS_0.15;
181 SYMBOL_VERSION ILLUMOS_0.15 {   # epoll(3C)
182     protected:
183         epoll_create;
184         epoll_create1;
185         epoll_ctl;
186         epoll_wait;
187         epoll_pwait;
188 } ILLUMOS_0.14;
190 SYMBOL_VERSION ILLUMOS_0.14 {   # strerror_l
191     protected:
192         strerror_l;
193 } ILLUMOS_0.13;
195 SYMBOL_VERSION ILLUMOS_0.13 {   # eventfd
196     protected:
197         eventfd;
198         eventfd_read;
199         eventfd_write;
200 } ILLUMOS_0.12;
202 SYMBOL_VERSION ILLUMOS_0.12 {   # arc4random and friends
203     protected:
204         arc4random;
205         arc4random_buf;
206         arc4random_uniform;
207         explicit_bzero;
208         getentropy;
209 } ILLUMOS_0.11;
211 SYMBOL_VERSION ILLUMOS_0.11 {   # Illumos additions
212     protected:
213         iswxdigit_l;
214         isxdigit_l;
215 } ILLUMOS_0.10;
217 SYMBOL_VERSION ILLUMOS_0.10 {   # Illumos additions
218     protected:
219         preadv;
220         pwritev;
222 $if lf64
223         preadv64;
224         pwritev64;
225 $endif
226 } ILLUMOS_0.9;
228 SYMBOL_VERSION ILLUMOS_0.9 {
229     protected:
230         wcsnrtombs;
231         wcsnrtombs_l;
232 } ILLUMOS_0.8;
234 SYMBOL_VERSION ILLUMOS_0.8 {    # POSIX 2008 newlocale and friends
235     protected:
236         __global_locale;
237         __mb_cur_max;
238         __mb_cur_max_l;
239         btowc_l;
240         duplocale;
241         fgetwc_l;
242         freelocale;
243         getwc_l;
244         isalnum_l;
245         isalpha_l;
246         isblank_l;
247         iscntrl_l;
248         isdigit_l;
249         isgraph_l;
250         islower_l;
251         isprint_l;
252         ispunct_l;
253         isspace_l;
254         isupper_l;
255         iswideogram;
256         iswideogram_l;
257         iswnumber;
258         iswnumber_l;
259         iswhexnumber;
260         iswhexnumber_l;
261         iswphonogram;
262         iswphonogram_l;
263         iswspecial;
264         iswspecial_l;
265         iswalnum_l;
266         iswalpha_l;
267         iswblank_l;
268         iswcntrl_l;
269         iswctype_l;
270         iswdigit_l;
271         iswgraph_l;
272         iswlower_l;
273         iswprint_l;
274         iswpunct_l;
275         iswspace_l;
276         iswupper_l;
277         mblen_l;
278         mbrlen_l;
279         mbsinit_l;
280         mbsnrtowcs;
281         mbsnrtowcs_l;
282         mbsrtowcs_l;
283         mbstowcs_l;
284         mbtowc_l;
285         newlocale;
286         nl_langinfo_l;
287         strcasecmp_l;
288         strcasestr_l;
289         strcoll_l;
290         strfmon_l;
291         strftime_l;
292         strncasecmp_l;
293         strptime_l;
294         strxfrm_l;
295         tolower_l;
296         toupper_l;
297         towlower_l;
298         towupper_l;
299         towctrans_l;
300         uselocale;
301         wcrtomb_l;
302         wcscasecmp_l;
303         wcscoll_l;
304         wcsncasecmp_l;
305         wcsrtombs_l;
306         wcstombs_l;
307         wcswidth_l;
308         wcsxfrm_l;
309         wctob_l;
310         wctomb_l;
311         wctrans_l;
312         wctype_l;
313         wcwidth_l;
314 } ILLUMOS_0.7;
316 SYMBOL_VERSION ILLUMOS_0.7 {    # Illumos additions
317     protected:
318         _glob_ext;
319         _globfree_ext;
320 } ILLUMOS_0.6;
322 SYMBOL_VERSION ILLUMOS_0.6 {    # Illumos additions
323     protected:
324         getloginx;
325         getloginx_r;
326         __posix_getloginx_r;
327 } ILLUMOS_0.5;
329 SYMBOL_VERSION ILLUMOS_0.5 {    # common C++ ABI exit handlers
330     protected:
331         __cxa_atexit;
332         __cxa_finalize;
333 } ILLUMOS_0.4;
335 SYMBOL_VERSION ILLUMOS_0.4 {    # Illumos additions
336     protected:
337         pipe2;
338         dup3;
339         mkostemp;
340         mkostemps;
342 $if lf64
343         mkostemp64;
344         mkostemps64;
345 $endif
346 } ILLUMOS_0.3;
348 SYMBOL_VERSION ILLUMOS_0.3 {    # Illumos additions
349     protected:
350         assfail3;
351 } ILLUMOS_0.2;
353 SYMBOL_VERSION ILLUMOS_0.2 {    # Illumos additions
354     protected:
355         posix_spawn_pipe_np;
356 } ILLUMOS_0.1;
358 SYMBOL_VERSION ILLUMOS_0.1 {    # Illumos additions
359     protected:
360         timegm;
361 } SUNW_1.23;
363 SYMBOL_VERSION SUNW_1.23 {      # SunOS 5.11 (Solaris 11)
364     global:
365         _nl_domain_bindings;
366         _nl_msg_cat_cntr;
368 $if _ELF32
369         dl_iterate_phdr { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
370 $elif sparcv9
371         dl_iterate_phdr { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
372 $elif amd64
373         dl_iterate_phdr { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
374 $else
375 $error unknown platform
376 $endif
378     protected:
380 $if sparc32
381         __align_cpy_1;
382 $endif
384         addrtosymstr;
385         aio_cancel;
386         aiocancel;
387         aio_error;
388         aio_fsync;
389         aio_read;
390         aioread;
391         aio_return;
392         aio_suspend;
393         aiowait;
394         aio_waitn;
395         aio_write;
396         aiowrite;
397         asprintf;
398         assfail;
399         backtrace;
400         backtrace_symbols;
401         backtrace_symbols_fd;
402         canonicalize_file_name;
403         clearenv;
404         clock_getres;
405         clock_gettime;
406         clock_nanosleep;
407         clock_settime;
408         daemon;
409         dirfd;
410         door_bind;
411         door_call;
412         door_create;
413         door_cred;
414         door_getparam;
415         door_info;
416         door_return;
417         door_revoke;
418         door_server_create;
419         door_setparam;
420         door_ucred;
421         door_unbind;
422         door_xcreate;
423         err;
424         errx;
425         faccessat;
426         fchmodat;
427         fcloseall;
428         fdatasync;
429         ffsl;
430         ffsll;
431         fgetattr;
432         fls;
433         flsl;
434         flsll;
435         forkallx;
436         forkx;
437         fsetattr;
438         getattrat;
439         getdelim;
440         getline;
441         get_nprocs;
442         get_nprocs_conf;
443         getprogname;
444         htonl;
445         htonll;
446         htons;
447         linkat;
448         lio_listio;
449         memmem;
450         mkdirat;
451         mkdtemp;
452         mkfifoat;
453         mknodat;
454         mkstemps;
455         mmapobj;
456         mq_close;
457         mq_getattr;
458         mq_notify;
459         mq_open;
460         mq_receive;
461         mq_reltimedreceive_np;
462         mq_reltimedsend_np;
463         mq_send;
464         mq_setattr;
465         mq_timedreceive;
466         mq_timedsend;
467         mq_unlink;
468         nanosleep;
469         ntohl;
470         ntohll;
471         ntohs;
472         posix_fadvise;
473         posix_fallocate;
474         posix_madvise;
475         posix_memalign;
476         posix_spawn_file_actions_addclosefrom_np;
477         posix_spawnattr_getsigignore_np;
478         posix_spawnattr_setsigignore_np;
479         ppoll;
480         priv_basicset;
481         pthread_key_create_once_np;
482         pthread_mutexattr_getrobust;
483         pthread_mutexattr_setrobust;
484         pthread_mutex_consistent;
485         readlinkat;
486         sched_getparam;
487         sched_get_priority_max;
488         sched_get_priority_min;
489         sched_getscheduler;
490         sched_rr_get_interval;
491         sched_setparam;
492         sched_setscheduler;
493         sched_yield;
494         sem_close;
495         sem_destroy;
496         sem_getvalue;
497         sem_init;
498         sem_open;
499         sem_post;
500         sem_reltimedwait_np;
501         sem_timedwait;
502         sem_trywait;
503         sem_unlink;
504         sem_wait;
505         setattrat;
506         setprogname;
507         _sharefs;
508         shm_open;
509         shm_unlink;
510         sigqueue;
511         sigtimedwait;
512         sigwaitinfo;
513         smt_pause;
514         stpcpy;
515         stpncpy;
516         strcasestr;
517         strchrnul;
518         strndup;
519         strnlen;
520         strnstr;
521         strsep;
522         symlinkat;
523         thr_keycreate_once;
524         timer_create;
525         timer_delete;
526         timer_getoverrun;
527         timer_gettime;
528         timer_settime;
529         u8_strcmp;
530         u8_validate;
531         uconv_u16tou32;
532         uconv_u16tou8;
533         uconv_u32tou16;
534         uconv_u32tou8;
535         uconv_u8tou16;
536         uconv_u8tou32;
537         vasprintf;
538         verr;
539         verrx;
540         vforkx;
541         vwarn;
542         vwarnx;
543         warn;
544         warnx;
545         wcpcpy;
546         wcpncpy;
547         wcscasecmp;
548         wcsdup;
549         wcsncasecmp;
550         wcsnlen;
552 $if lf64
553         aio_cancel64;
554         aio_error64;
555         aio_fsync64;
556         aio_read64;
557         aioread64;
558         aio_return64;
559         aio_suspend64;
560         aio_waitn64;
561         aio_write64;
562         aiowrite64;
563         lio_listio64;
564         mkstemps64;
565         posix_fadvise64;
566         posix_fallocate64;
567 $endif
568 } SUNW_1.22.6;
570 SYMBOL_VERSION SUNW_1.22.6 {    # s10u9 - SunOS 5.10 (Solaris 10) patch additions
571     protected:
572         futimens;
573         utimensat;
574 } SUNW_1.22.5;
576 SYMBOL_VERSION SUNW_1.22.5 {    # s10u8 - SunOS 5.10 (Solaris 10) patch additions
577     protected:
578         getpagesizes2;
579 } SUNW_1.22.4;
581 SYMBOL_VERSION SUNW_1.22.4 {    # s10u7 - SunOS 5.10 (Solaris 10) patch additions
582     protected:
583         SUNW_1.22.4;
584 } SUNW_1.22.3;
586 SYMBOL_VERSION SUNW_1.22.3 {    # SunOS 5.10 (Solaris 10) patch additions
587     protected:
588         mutex_consistent;
589         u8_textprep_str;
590         uucopy;
591         uucopystr;
592 } SUNW_1.22.2;
594 SYMBOL_VERSION SUNW_1.22.2 {    # SunOS 5.10 (Solaris 10) patch additions
595 } SUNW_1.22.1;
597 SYMBOL_VERSION SUNW_1.22.1 {    # SunOS 5.10 (Solaris 10) patch additions
598     protected:
599         atomic_add_8;
600         atomic_add_8_nv;
601         atomic_add_char         { FLAGS = NODYNSORT };
602         atomic_add_char_nv      { FLAGS = NODYNSORT };
603         atomic_add_int          { FLAGS = NODYNSORT };
604         atomic_add_int_nv       { FLAGS = NODYNSORT };
605         atomic_add_ptr          { FLAGS = NODYNSORT };
606         atomic_add_ptr_nv       { FLAGS = NODYNSORT };
607         atomic_add_short        { FLAGS = NODYNSORT };
608         atomic_add_short_nv     { FLAGS = NODYNSORT };
609         atomic_and_16;
610         atomic_and_16_nv;
611         atomic_and_32_nv;
612         atomic_and_64;
613         atomic_and_64_nv;
614         atomic_and_8;
615         atomic_and_8_nv;
616         atomic_and_uchar        { FLAGS = NODYNSORT };
617         atomic_and_uchar_nv     { FLAGS = NODYNSORT };
618         atomic_and_uint_nv      { FLAGS = NODYNSORT };
619         atomic_and_ulong        { FLAGS = NODYNSORT };
620         atomic_and_ulong_nv     { FLAGS = NODYNSORT };
621         atomic_and_ushort       { FLAGS = NODYNSORT };
622         atomic_and_ushort_nv    { FLAGS = NODYNSORT };
623         atomic_cas_16;
624         atomic_cas_32;
625         atomic_cas_64;
626         atomic_cas_8;
627         atomic_cas_ptr          { FLAGS = NODYNSORT };
628         atomic_cas_uchar        { FLAGS = NODYNSORT };
629         atomic_cas_uint         { FLAGS = NODYNSORT };
630         atomic_cas_ulong        { FLAGS = NODYNSORT };
631         atomic_cas_ushort       { FLAGS = NODYNSORT };
632         atomic_clear_long_excl  { FLAGS = NODYNSORT };
633         atomic_dec_16;
634         atomic_dec_16_nv;
635         atomic_dec_32;
636         atomic_dec_32_nv;
637         atomic_dec_64;
638         atomic_dec_64_nv;
639         atomic_dec_8;
640         atomic_dec_8_nv;
641         atomic_dec_uchar        { FLAGS = NODYNSORT };
642         atomic_dec_uchar_nv     { FLAGS = NODYNSORT };
643         atomic_dec_uint         { FLAGS = NODYNSORT };
644         atomic_dec_uint_nv      { FLAGS = NODYNSORT };
645         atomic_dec_ulong        { FLAGS = NODYNSORT };
646         atomic_dec_ulong_nv     { FLAGS = NODYNSORT };
647         atomic_dec_ushort       { FLAGS = NODYNSORT };
648         atomic_dec_ushort_nv    { FLAGS = NODYNSORT };
649         atomic_inc_16;
650         atomic_inc_16_nv;
651         atomic_inc_32;
652         atomic_inc_32_nv;
653         atomic_inc_64;
654         atomic_inc_64_nv;
655         atomic_inc_8;
656         atomic_inc_8_nv;
657         atomic_inc_uchar        { FLAGS = NODYNSORT };
658         atomic_inc_uchar_nv     { FLAGS = NODYNSORT };
659         atomic_inc_uint         { FLAGS = NODYNSORT };
660         atomic_inc_uint_nv      { FLAGS = NODYNSORT };
661         atomic_inc_ulong        { FLAGS = NODYNSORT };
662         atomic_inc_ulong_nv     { FLAGS = NODYNSORT };
663         atomic_inc_ushort       { FLAGS = NODYNSORT };
664         atomic_inc_ushort_nv    { FLAGS = NODYNSORT };
665         atomic_or_16;
666         atomic_or_16_nv;
667         atomic_or_32_nv;
668         atomic_or_64;
669         atomic_or_64_nv;
670         atomic_or_8;
671         atomic_or_8_nv;
672         atomic_or_uchar         { FLAGS = NODYNSORT };
673         atomic_or_uchar_nv      { FLAGS = NODYNSORT };
674         atomic_or_uint_nv       { FLAGS = NODYNSORT };
675         atomic_or_ulong         { FLAGS = NODYNSORT };
676         atomic_or_ulong_nv      { FLAGS = NODYNSORT };
677         atomic_or_ushort        { FLAGS = NODYNSORT };
678         atomic_or_ushort_nv     { FLAGS = NODYNSORT };
679         atomic_set_long_excl    { FLAGS = NODYNSORT };
680         atomic_swap_16;
681         atomic_swap_32;
682         atomic_swap_64;
683         atomic_swap_8;
684         atomic_swap_ptr         { FLAGS = NODYNSORT };
685         atomic_swap_uchar       { FLAGS = NODYNSORT };
686         atomic_swap_uint        { FLAGS = NODYNSORT };
687         atomic_swap_ulong       { FLAGS = NODYNSORT };
688         atomic_swap_ushort      { FLAGS = NODYNSORT };
689         membar_consumer;
690         membar_enter;
691         membar_exit;
692         membar_producer;
694 $if _ELF32
695         enable_extended_FILE_stdio;
696 $endif
698 $if i386
699         # Note: atomic_[and,dec,inc,or]_64_nv are also defined above. Here,
700         # we add the NODYNSORT attribute to them. On this platform, they are
701         # aliases for the non-_nv versions. If that is changed, these lines
702         # should be removed.
703         atomic_and_64_nv        { FLAGS = NODYNSORT };
704         atomic_dec_64_nv        { FLAGS = NODYNSORT };
705         atomic_inc_64_nv        { FLAGS = NODYNSORT };
706         atomic_or_64_nv         { FLAGS = NODYNSORT };
707 $endif
708 $if _sparc
709         # Note: atomic_OP_WIDTH_nv symbols are also defined above. Here,
710         # we add the NODYNSORT attribute to them. On this platform, they are
711         # aliases for the non-_nv versions. If that is changed, these lines
712         # should be removed.
713         atomic_add_8_nv         { FLAGS = NODYNSORT };
714         atomic_and_8_nv         { FLAGS = NODYNSORT };
715         atomic_and_16_nv        { FLAGS = NODYNSORT };
716         atomic_and_32_nv        { FLAGS = NODYNSORT };
717         atomic_and_64_nv        { FLAGS = NODYNSORT };
718         atomic_dec_8_nv         { FLAGS = NODYNSORT };
719         atomic_dec_16_nv        { FLAGS = NODYNSORT };
720         atomic_dec_32_nv        { FLAGS = NODYNSORT };
721         atomic_dec_64_nv        { FLAGS = NODYNSORT };
722         atomic_inc_8_nv         { FLAGS = NODYNSORT };
723         atomic_inc_16_nv        { FLAGS = NODYNSORT };
724         atomic_inc_32_nv        { FLAGS = NODYNSORT };
725         atomic_inc_64_nv        { FLAGS = NODYNSORT };
726         atomic_or_8_nv          { FLAGS = NODYNSORT };
727         atomic_or_16_nv         { FLAGS = NODYNSORT };
728         atomic_or_32_nv         { FLAGS = NODYNSORT };
729         atomic_or_64_nv         { FLAGS = NODYNSORT };
730 $endif
731 } SUNW_1.22;
733 SYMBOL_VERSION SUNW_1.22 {      # SunOS 5.10 (Solaris 10)
734     global:
735 $if _ELF32
736         dladdr          { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
737         dladdr1         { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
738         dlclose         { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
739         dldump          { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
740         dlerror         { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
741         dlinfo          { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
742         dlmopen         { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
743         dlopen          { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
744         dlsym           { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
745 $elif sparcv9
746         dladdr          { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
747         dladdr1         { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
748         dlclose         { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
749         dldump          { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
750         dlerror         { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
751         dlinfo          { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
752         dlmopen         { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
753         dlopen          { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
754         dlsym           { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
755 $elif amd64
756         dladdr          { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
757         dladdr1         { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
758         dlamd64getunwind { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
759         dlclose         { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
760         dldump          { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
761         dlerror         { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
762         dlinfo          { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
763         dlmopen         { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
764         dlopen          { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
765         dlsym           { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
766 $else
767 $error unknown platform
768 $endif
770     protected:
771         alphasort;
772         _alphasort;
773         atomic_add_16;
774         atomic_add_16_nv;
775         atomic_add_32;
776         atomic_add_32_nv;
777         atomic_add_64;
778         atomic_add_64_nv;
779         atomic_add_long         { FLAGS = NODYNSORT };
780         atomic_add_long_nv      { FLAGS = NODYNSORT };
781         atomic_and_32;
782         atomic_and_uint         { FLAGS = NODYNSORT };
783         atomic_or_32;
784         atomic_or_uint          { FLAGS = NODYNSORT };
785         _Exit;
786         getisax;
787         _getisax;
788         getopt_clip;
789         _getopt_clip;
790         getopt_long;
791         _getopt_long;
792         getopt_long_only;
793         _getopt_long_only;
794         getpeerucred;
795         _getpeerucred;
796         getpflags;
797         _getpflags;
798         getppriv;
799         _getppriv;
800         getprivimplinfo;
801         _getprivimplinfo;
802         getzoneid;
803         getzoneidbyname;
804         getzonenamebyid;
805         imaxabs;
806         imaxdiv;
807         isblank;
808         iswblank;
809         port_alert;
810         port_associate;
811         port_create;
812         port_dissociate;
813         port_get;
814         port_getn;
815         port_send;
816         port_sendn;
817         posix_openpt;
818         posix_spawn;
819         posix_spawnattr_destroy;
820         posix_spawnattr_getflags;
821         posix_spawnattr_getpgroup;
822         posix_spawnattr_getschedparam;
823         posix_spawnattr_getschedpolicy;
824         posix_spawnattr_getsigdefault;
825         posix_spawnattr_getsigmask;
826         posix_spawnattr_init;
827         posix_spawnattr_setflags;
828         posix_spawnattr_setpgroup;
829         posix_spawnattr_setschedparam;
830         posix_spawnattr_setschedpolicy;
831         posix_spawnattr_setsigdefault;
832         posix_spawnattr_setsigmask;
833         posix_spawn_file_actions_addclose;
834         posix_spawn_file_actions_adddup2;
835         posix_spawn_file_actions_addopen;
836         posix_spawn_file_actions_destroy;
837         posix_spawn_file_actions_init;
838         posix_spawnp;
839         priv_addset;
840         _priv_addset;
841         priv_allocset;
842         _priv_allocset;
843         priv_copyset;
844         _priv_copyset;
845         priv_delset;
846         _priv_delset;
847         priv_emptyset;
848         _priv_emptyset;
849         priv_fillset;
850         _priv_fillset;
851         __priv_free_info;
852         priv_freeset;
853         _priv_freeset;
854         priv_getbyname;
855         _priv_getbyname;
856         __priv_getbyname;
857         priv_getbynum;
858         _priv_getbynum;
859         __priv_getbynum;
860         __priv_getdata;
861         priv_getsetbyname;
862         _priv_getsetbyname;
863         __priv_getsetbyname;
864         priv_getsetbynum;
865         _priv_getsetbynum;
866         __priv_getsetbynum;
867         priv_gettext;
868         _priv_gettext;
869         priv_ineffect;
870         _priv_ineffect;
871         priv_intersect;
872         _priv_intersect;
873         priv_inverse;
874         _priv_inverse;
875         priv_isemptyset;
876         _priv_isemptyset;
877         priv_isequalset;
878         _priv_isequalset;
879         priv_isfullset;
880         _priv_isfullset;
881         priv_ismember;
882         _priv_ismember;
883         priv_issubset;
884         _priv_issubset;
885         __priv_parse_info;
886         priv_set;
887         _priv_set;
888         priv_set_to_str;
889         _priv_set_to_str;
890         __priv_set_to_str;
891         priv_str_to_set;
892         _priv_str_to_set;
893         priv_union;
894         _priv_union;
895         pselect;
896         pthread_attr_getstack;
897         pthread_attr_setstack;
898         pthread_barrierattr_destroy;
899         pthread_barrierattr_getpshared;
900         pthread_barrierattr_init;
901         pthread_barrierattr_setpshared;
902         pthread_barrier_destroy;
903         pthread_barrier_init;
904         pthread_barrier_wait;
905         pthread_condattr_getclock;
906         pthread_condattr_setclock;
907         pthread_mutexattr_getrobust_np  { FLAGS = NODYNSORT };
908         pthread_mutexattr_setrobust_np  { FLAGS = NODYNSORT };
909         pthread_mutex_consistent_np     { FLAGS = NODYNSORT };
910         pthread_mutex_reltimedlock_np;
911         pthread_mutex_timedlock;
912         pthread_rwlock_reltimedrdlock_np;
913         pthread_rwlock_reltimedwrlock_np;
914         pthread_rwlock_timedrdlock;
915         pthread_rwlock_timedwrlock;
916         pthread_setschedprio;
917         pthread_spin_destroy;
918         pthread_spin_init;
919         pthread_spin_lock;
920         pthread_spin_trylock;
921         pthread_spin_unlock;
922         rctlblk_set_recipient_pid;
923         scandir;
924         _scandir;
925         schedctl_exit;
926         schedctl_init;
927         schedctl_lookup;
928         sema_reltimedwait;
929         sema_timedwait;
930         setenv;
931         setpflags;
932         _setpflags;
933         setppriv;
934         _setppriv;
935         strerror_r;
936         strtof;
937         strtoimax;
938         strtold;
939         strtoumax;
940         ucred_free;
941         _ucred_free;
942         ucred_get;
943         _ucred_get;
944         ucred_getegid;
945         _ucred_getegid;
946         ucred_geteuid;
947         _ucred_geteuid;
948         ucred_getgroups;
949         _ucred_getgroups;
950         ucred_getpflags;
951         _ucred_getpflags;
952         ucred_getpid;
953         _ucred_getpid;
954         ucred_getprivset;
955         _ucred_getprivset;
956         ucred_getprojid;
957         _ucred_getprojid;
958         ucred_getrgid;
959         _ucred_getrgid;
960         ucred_getruid;
961         _ucred_getruid;
962         ucred_getsgid;
963         _ucred_getsgid;
964         ucred_getsuid;
965         _ucred_getsuid;
966         ucred_getzoneid;
967         _ucred_getzoneid;
968         ucred_size;
969         _ucred_size;
970         unsetenv;
971         wcstof;
972         wcstoimax;
973         wcstold;
974         wcstoll;
975         wcstoull;
976         wcstoumax;
978 $if lf64
979         alphasort64;
980         _alphasort64;
981         pselect_large_fdset;
982         scandir64;
983         _scandir64;
984 $endif
986 $if _ELF64
987         walkcontext;
988 $endif
990 $if _sparc
991         # Note: atomic_add_[16,32,64]_nv are also defined above. Here, we add
992         # the NODYNSORT attribute to them. On this platform, they are aliases
993         # for the non-_nv versions. If that is changed, these lines should be
994         # removed.
995         atomic_add_16_nv        { FLAGS = NODYNSORT };
996         atomic_add_32_nv        { FLAGS = NODYNSORT };
997         atomic_add_64_nv        { FLAGS = NODYNSORT };
998 $endif
1000 $if i386
1001         # Note: atomic_add_64_nv is also defined above. Here, we add the
1002         # NODYNSORT attribute to it. On this platform, it is an aliases for
1003         # atomic_add_64. If that is changed, this line should be removed.
1004         atomic_add_64_nv        { FLAGS = NODYNSORT };
1005 $endif
1007 $if amd64
1008         # Exception unwind APIs required by the amd64 ABI
1009         _SUNW_Unwind_DeleteException;
1010         _SUNW_Unwind_ForcedUnwind;
1011         _SUNW_Unwind_GetCFA;
1012         _SUNW_Unwind_GetGR;
1013         _SUNW_Unwind_GetIP;
1014         _SUNW_Unwind_GetLanguageSpecificData;
1015         _SUNW_Unwind_GetRegionStart;
1016         _SUNW_Unwind_RaiseException;
1017         _SUNW_Unwind_Resume;
1018         _SUNW_Unwind_SetGR;
1019         _SUNW_Unwind_SetIP;
1020         _UA_CLEANUP_PHASE;
1021         _UA_FORCE_UNWIND;
1022         _UA_HANDLER_FRAME;
1023         _UA_SEARCH_PHASE;
1024         _Unwind_DeleteException;
1025         _Unwind_ForcedUnwind;
1026         _Unwind_GetCFA;
1027         _Unwind_GetGR;
1028         _Unwind_GetIP;
1029         _Unwind_GetLanguageSpecificData;
1030         _Unwind_GetRegionStart;
1031         _Unwind_RaiseException;
1032         _Unwind_Resume;
1033         _Unwind_SetGR;
1034         _Unwind_SetIP;
1035 $endif
1036 } SUNW_1.21.3;
1038 SYMBOL_VERSION SUNW_1.21.3 {    # SunOS 5.9 (Solaris 9) patch additions
1039     protected:
1040         forkall;
1041 } SUNW_1.21.2;
1043 SYMBOL_VERSION SUNW_1.21.2 {    # SunOS 5.9 (Solaris 9) patch additions
1044     protected:
1045         getustack;
1046         _getustack;
1047         setustack;
1048         _setustack;
1049         stack_getbounds;
1050         _stack_getbounds;
1051         _stack_grow;
1052         stack_inbounds;
1053         _stack_inbounds;
1054         stack_setbounds;
1055         _stack_setbounds;
1056         stack_violation;
1057         _stack_violation;
1059 $if _sparc
1060         __makecontext_v2;
1061         ___makecontext_v2;
1062 $endif
1063 } SUNW_1.21.1;
1065 SYMBOL_VERSION SUNW_1.21.1 {    # SunOS 5.9 (Solaris 9) patch additions
1066     protected:
1067         crypt_gensalt;
1068 } SUNW_1.21;
1070 SYMBOL_VERSION SUNW_1.21 {      # SunOS 5.9 (Solaris 9)
1071     protected:
1072         attropen;
1073         _attropen;
1074         bind_textdomain_codeset;
1075         closefrom;
1076         _closefrom;
1077         cond_reltimedwait;
1078         dcngettext;
1079         dngettext;
1080         fchownat;
1081         _fchownat;
1082         fdopendir;
1083         _fdopendir;
1084         fdwalk;
1085         _fdwalk;
1086         fstatat;
1087         futimesat;
1088         _futimesat;
1089         getcpuid;
1090         _getcpuid;
1091         gethomelgroup;
1092         _gethomelgroup          { FLAGS = NODYNSORT };
1093         getpagesizes;
1094         getrctl;
1095         _getrctl;
1096         issetugid;
1097         _issetugid;
1098         _lwp_cond_reltimedwait;
1099         meminfo;
1100         _meminfo;
1101         ngettext;
1102         openat;
1103         printstack;
1104         priocntl;
1105         priocntlset;
1106         pset_getattr;
1107         pset_getloadavg;
1108         pset_list;
1109         pset_setattr;
1110         pthread_cond_reltimedwait_np;
1111         rctlblk_get_enforced_value;
1112         rctlblk_get_firing_time;
1113         rctlblk_get_global_action;
1114         rctlblk_get_global_flags;
1115         rctlblk_get_local_action;
1116         rctlblk_get_local_flags;
1117         rctlblk_get_privilege;
1118         rctlblk_get_recipient_pid;
1119         rctlblk_get_value;
1120         rctlblk_set_local_action;
1121         rctlblk_set_local_flags;
1122         rctlblk_set_privilege;
1123         rctlblk_set_value;
1124         rctlblk_size;
1125         rctl_walk;
1126         renameat;
1127         setrctl;
1128         _setrctl;
1129         unlinkat;
1130         _unlinkat;
1131         vfscanf;
1132         _vfscanf;
1133         vfwscanf;
1134         vscanf;
1135         _vscanf;
1136         vsscanf;
1137         _vsscanf;
1138         vswscanf;
1139         vwscanf;
1141 $if _ELF32
1142         walkcontext;
1143 $endif
1145 $if lf64
1146         attropen64;
1147         _attropen64;
1148         fstatat64;
1149         openat64;
1150 $endif
1151 } SUNW_1.20.4;
1153 SYMBOL_VERSION SUNW_1.20.4 {    # SunOS 5.8 (Solaris 8) patch additions
1154     protected:
1155         semtimedop;
1156         _semtimedop;
1157 } SUNW_1.20.1;
1159 SYMBOL_VERSION SUNW_1.20.1 {    # SunOS 5.8 (Solaris 8) patch additions
1160     protected:
1161         getacct;
1162         _getacct;
1163         getprojid;
1164         _getprojid;
1165         gettaskid;
1166         _gettaskid;
1167         msgids;
1168         _msgids;
1169         msgsnap;
1170         _msgsnap;
1171         putacct;
1172         _putacct;
1173         semids;
1174         _semids;
1175         settaskid;
1176         _settaskid;
1177         shmids;
1178         _shmids;
1179         wracct;
1180         _wracct;
1181 } SUNW_1.20;
1183 SYMBOL_VERSION SUNW_1.20 {      # SunOS 5.8 (Solaris 8)
1184     protected:
1185         getextmntent;
1186         resetmnttab;
1187 } SUNW_1.19;
1189 SYMBOL_VERSION SUNW_1.19 {
1190     protected:
1191         strlcat;
1192         strlcpy;
1193         umount2;
1194         _umount2;
1195 } SUNW_1.18.1;
1197 SYMBOL_VERSION SUNW_1.18.1 {
1198     protected:
1199         __fsetlocking;
1200 } SUNW_1.18;
1202 SYMBOL_VERSION SUNW_1.18 {      # SunOS 5.7 (Solaris 7)
1203     protected:
1204         btowc;
1205         __fbufsize;
1206         __fseterr;
1207         __freadahead;
1208         __flbf;
1209         _flushlbf;
1210         __fpending;
1211         __fpurge;
1212         __freadable;
1213         __freading;
1214         fwide;
1215         fwprintf;
1216         __fwritable;
1217         __fwriting;
1218         fwscanf;
1219         getloadavg;
1220         isaexec;
1221         mbrlen;
1222         mbrtowc;
1223         mbsinit;
1224         mbsrtowcs;
1225         pcsample;
1226         pthread_attr_getguardsize;
1227         pthread_attr_setguardsize;
1228         pthread_getconcurrency;
1229         pthread_mutexattr_gettype;
1230         pthread_mutexattr_settype;
1231         pthread_rwlockattr_destroy;
1232         pthread_rwlockattr_getpshared;
1233         pthread_rwlockattr_init;
1234         pthread_rwlockattr_setpshared;
1235         pthread_rwlock_destroy;
1236         pthread_rwlock_init;
1237         pthread_rwlock_rdlock;
1238         pthread_rwlock_tryrdlock;
1239         pthread_rwlock_trywrlock;
1240         pthread_rwlock_unlock;
1241         pthread_rwlock_wrlock;
1242         pthread_setconcurrency;
1243         swprintf;
1244         swscanf;
1245         __sysconf_xpg5;
1246         vfwprintf;
1247         vswprintf;
1248         vwprintf;
1249         wcrtomb;
1250         wcsrtombs;
1251         wcsstr;
1252         wctob;
1253         wmemchr;
1254         wmemcmp;
1255         wmemcpy;
1256         wmemmove;
1257         wmemset;
1258         wprintf;
1259         wscanf;
1261 $if _ELF32
1262         select_large_fdset;
1263 $endif
1264 } SUNW_1.17;
1266 # The empty versions SUNW_1.2 through SUNW_1.17 must be preserved because
1267 # applications built on Solaris 2.6 Beta (when they did contain symbols)
1268 # may depend on them.  All symbol content for SunOS 5.6 is now in SUNW_1.1
1270 SYMBOL_VERSION SUNW_1.17 {
1271     protected:
1272         SUNW_1.17;
1273 } SUNW_1.16;
1275 SYMBOL_VERSION SUNW_1.16 {
1276     protected:
1277         SUNW_1.16;
1278 } SUNW_1.15;
1280 SYMBOL_VERSION SUNW_1.15 {
1281     protected:
1282         SUNW_1.15;
1283 } SUNW_1.14;
1285 SYMBOL_VERSION SUNW_1.14 {
1286     protected:
1287         SUNW_1.14;
1288 } SUNW_1.13;
1290 SYMBOL_VERSION SUNW_1.13 {
1291     protected:
1292         SUNW_1.13;
1293 } SUNW_1.12;
1295 SYMBOL_VERSION SUNW_1.12 {
1296     protected:
1297         SUNW_1.12;
1298 } SUNW_1.11;
1300 SYMBOL_VERSION SUNW_1.11 {
1301     protected:
1302         SUNW_1.11;
1303 } SUNW_1.10;
1305 SYMBOL_VERSION SUNW_1.10 {
1306     protected:
1307         SUNW_1.10;
1308 } SUNW_1.9;
1310 SYMBOL_VERSION SUNW_1.9 {
1311     protected:
1312         SUNW_1.9;
1313 } SUNW_1.8;
1315 SYMBOL_VERSION SUNW_1.8 {
1316     protected:
1317         SUNW_1.8;
1318 } SUNW_1.7;
1320 SYMBOL_VERSION SUNW_1.7 {
1321     protected:
1322         SUNW_1.7;
1323 } SUNW_1.6;
1325 SYMBOL_VERSION SUNW_1.6 {
1326     protected:
1327         SUNW_1.6;
1328 } SUNW_1.5;
1330 SYMBOL_VERSION SUNW_1.5 {
1331     protected:
1332         SUNW_1.5;
1333 } SUNW_1.4;
1335 SYMBOL_VERSION SUNW_1.4 {
1336     protected:
1337         SUNW_1.4;
1338 } SUNW_1.3;
1340 SYMBOL_VERSION SUNW_1.3 {
1341     protected:
1342         SUNW_1.3;
1343 } SUNW_1.2;
1345 SYMBOL_VERSION SUNW_1.2 {
1346     protected:
1347         SUNW_1.2;
1348 } SUNW_1.1;
1350 SYMBOL_VERSION SUNW_1.1 {       # SunOS 5.6 (Solaris 2.6)
1351     global:
1352         __loc1;
1353     protected:
1354         basename;
1355         bindtextdomain;
1356         bsd_signal;
1357         dbm_clearerr;
1358         dbm_error;
1359         dcgettext;
1360         dgettext;
1361         directio;
1362         dirname;
1363         endusershell;
1364         _exithandle;
1365         fgetwc;
1366         fgetws;
1367         fpgetround;
1368         fpsetround;
1369         fputwc;
1370         fputws;
1371         fseeko;
1372         ftello;
1373         ftrylockfile;
1374         getexecname;
1375         _getexecname;
1376         getpassphrase;
1377         gettext;
1378         getusershell;
1379         getwc;
1380         getwchar;
1381         getws;
1382         isenglish;
1383         isideogram;
1384         isnumber;
1385         isphonogram;
1386         isspecial;
1387         iswalnum;
1388         iswalpha;
1389         iswcntrl;
1390         iswctype;
1391         iswdigit;
1392         iswgraph;
1393         iswlower;
1394         iswprint;
1395         iswpunct;
1396         iswspace;
1397         iswupper;
1398         iswxdigit;
1399         ____loc1;
1400         _longjmp;
1401         _lwp_sema_trywait;
1402         ntp_adjtime;
1403         _ntp_adjtime;
1404         ntp_gettime;
1405         _ntp_gettime;
1406         __posix_asctime_r;
1407         __posix_ctime_r;
1408         __posix_getgrgid_r;
1409         __posix_getgrnam_r;
1410         __posix_getlogin_r;
1411         __posix_getpwnam_r;
1412         __posix_getpwuid_r;
1413         __posix_sigwait;
1414         __posix_ttyname_r;
1415         pset_assign;
1416         pset_bind;
1417         pset_create;
1418         pset_destroy;
1419         pset_info;
1420         pthread_atfork;
1421         pthread_attr_destroy;
1422         pthread_attr_getdetachstate;
1423         pthread_attr_getinheritsched;
1424         pthread_attr_getschedparam;
1425         pthread_attr_getschedpolicy;
1426         pthread_attr_getscope;
1427         pthread_attr_getstackaddr;
1428         pthread_attr_getstacksize;
1429         pthread_attr_init;
1430         pthread_attr_setdetachstate;
1431         pthread_attr_setinheritsched;
1432         pthread_attr_setschedparam;
1433         pthread_attr_setschedpolicy;
1434         pthread_attr_setscope;
1435         pthread_attr_setstackaddr;
1436         pthread_attr_setstacksize;
1437         pthread_cancel;
1438         __pthread_cleanup_pop;
1439         __pthread_cleanup_push;
1440         pthread_create;
1441         pthread_detach;
1442         pthread_equal;
1443         pthread_exit;
1444         pthread_getschedparam;
1445         pthread_getspecific;
1446         pthread_join;
1447         pthread_key_create;
1448         pthread_key_delete;
1449         pthread_kill;
1450         pthread_once;
1451         pthread_self;
1452         pthread_setcancelstate;
1453         pthread_setcanceltype;
1454         pthread_setschedparam;
1455         pthread_setspecific;
1456         pthread_sigmask;
1457         pthread_testcancel;
1458         putwc;
1459         putwchar;
1460         putws;
1461         regcmp;
1462         regex;
1463         resolvepath;
1464         _resolvepath;
1465         rwlock_destroy          { FLAGS = NODYNSORT };
1466         _rwlock_destroy         { FLAGS = NODYNSORT };
1467         sema_destroy;
1468         _sema_destroy;
1469         _setjmp;
1470         setusershell;
1471         siginterrupt;
1472         sigstack;
1473         snprintf;
1474         strtows;
1475         sync_instruction_memory;
1476         textdomain;
1477         thr_main;
1478         towctrans;
1479         towlower;
1480         towupper;
1481         ungetwc;
1482         vsnprintf;
1483         watoll;
1484         wcscat;
1485         wcschr;
1486         wcscmp;
1487         wcscoll;
1488         wcscpy;
1489         wcscspn;
1490         wcsftime;
1491         wcslen;
1492         wcsncat;
1493         wcsncmp;
1494         wcsncpy;
1495         wcspbrk;
1496         wcsrchr;
1497         wcsspn;
1498         wcstod;
1499         wcstok;
1500         wcstol;
1501         wcstoul;
1502         wcswcs;
1503         wcswidth;
1504         wcsxfrm;
1505         wctrans;
1506         wctype;
1507         wcwidth;
1508         wscasecmp;
1509         wscat;
1510         wschr;
1511         wscmp;
1512         wscol;
1513         wscoll;
1514         wscpy;
1515         wscspn;
1516         wsdup;
1517         wslen;
1518         wsncasecmp;
1519         wsncat;
1520         wsncmp;
1521         wsncpy;
1522         wspbrk;
1523         wsprintf;
1524         wsrchr;
1525         wsscanf;
1526         wsspn;
1527         wstod;
1528         wstok;
1529         wstol;
1530         wstoll;
1531         wstostr;
1532         wsxfrm;
1533         __xpg4_putmsg;
1534         __xpg4_putpmsg;
1536 $if lf64
1537         creat64;
1538         fgetpos64;
1539         fopen64;
1540         freopen64;
1541         fseeko64;
1542         fsetpos64;
1543         fstat64;
1544         fstatvfs64;
1545         _fstatvfs64;
1546         ftello64;
1547         ftruncate64;
1548         _ftruncate64;
1549         ftw64;
1550         _ftw64;
1551         getdents64;
1552         _getdents64;
1553         getrlimit64;
1554         _getrlimit64;
1555         lockf64;
1556         lseek64;
1557         _lseek64;
1558         lstat64;
1559         mkstemp64;
1560         _mkstemp64;
1561         mmap64;
1562         _mmap64;
1563         nftw64;
1564         _nftw64;
1565         open64;
1566         __posix_readdir_r;
1567         pread64;
1568         pwrite64;
1569         readdir64;
1570         _readdir64;
1571         readdir64_r;
1572         _readdir64_r;
1573         setrlimit64;
1574         _setrlimit64;
1575         s_fcntl;
1576         _s_fcntl                { FLAGS = NODYNSORT };
1577         s_ioctl;
1578         stat64;
1579         statvfs64;
1580         _statvfs64;
1581         tell64;
1582         _tell64;
1583         tmpfile64;
1584         truncate64;
1585         _truncate64;
1586         _xftw64;
1587 $endif
1589 $if _sparc
1590         __flt_rounds;
1591 $endif
1592 } SUNW_0.9;
1594 SYMBOL_VERSION SUNW_0.9 {       # SunOS 5.5 (Solaris 2.5)
1595     protected:
1596         acl;
1597         bcmp;
1598         bcopy;
1599         bzero;
1600         facl;
1601         ftime;
1602         getdtablesize;
1603         gethostid;
1604         gethostname;
1605         getpagesize;
1606         getpriority;
1607         getrusage;
1608         getwd;
1609         index;
1610         initstate;
1611         killpg;
1612         _nsc_trydoorcall;
1613         pthread_condattr_destroy;
1614         pthread_condattr_getpshared;
1615         pthread_condattr_init;
1616         pthread_condattr_setpshared;
1617         pthread_cond_broadcast;
1618         pthread_cond_destroy;
1619         pthread_cond_init;
1620         pthread_cond_signal;
1621         pthread_cond_timedwait;
1622         pthread_cond_wait;
1623         pthread_mutexattr_destroy;
1624         pthread_mutexattr_getprioceiling;
1625         pthread_mutexattr_getprotocol;
1626         pthread_mutexattr_getpshared;
1627         pthread_mutexattr_init;
1628         pthread_mutexattr_setprioceiling;
1629         pthread_mutexattr_setprotocol;
1630         pthread_mutexattr_setpshared;
1631         pthread_mutex_destroy;
1632         pthread_mutex_getprioceiling;
1633         pthread_mutex_init;
1634         pthread_mutex_lock;
1635         pthread_mutex_setprioceiling;
1636         pthread_mutex_trylock;
1637         pthread_mutex_unlock;
1638         random;
1639         reboot;
1640         re_comp;
1641         re_exec;
1642         rindex;
1643         setbuffer;
1644         sethostname;
1645         setlinebuf;
1646         setpriority;
1647         setregid;
1648         setreuid;
1649         setstate;
1650         srandom;
1651         thr_min_stack;
1652         thr_stksegment;
1653         ualarm;
1654         usleep;
1655         wait3;
1656         wait4;
1657 } SUNW_0.8;
1659 SYMBOL_VERSION SUNW_0.8 {       # SunOS 5.4 (Solaris 2.4)
1660     global:
1661         __xpg4                  { FLAGS = NODIRECT };
1662     protected:
1663         addsev;
1664         cond_broadcast          { FLAGS = NODYNSORT };
1665         cond_destroy            { FLAGS = NODYNSORT };
1666         cond_init;
1667         cond_signal             { FLAGS = NODYNSORT };
1668         cond_timedwait;
1669         cond_wait;
1670         confstr;
1671         fnmatch;
1672         _getdate_err_addr;
1673         glob;
1674         globfree;
1675         iconv;
1676         iconv_close;
1677         iconv_open;
1678         lfmt;
1679         mutex_destroy           { FLAGS = NODYNSORT };
1680         mutex_init;
1681         mutex_lock              { FLAGS = NODYNSORT };
1682         mutex_trylock           { FLAGS = NODYNSORT };
1683         mutex_unlock            { FLAGS = NODYNSORT };
1684         pfmt;
1685         regcomp;
1686         regerror;
1687         regexec;
1688         regfree;
1689         rwlock_init;
1690         rw_rdlock               { FLAGS = NODYNSORT };
1691         rw_read_held;
1692         rw_tryrdlock            { FLAGS = NODYNSORT };
1693         rw_trywrlock            { FLAGS = NODYNSORT };
1694         rw_unlock               { FLAGS = NODYNSORT };
1695         rw_write_held;
1696         rw_wrlock               { FLAGS = NODYNSORT };
1697         sema_held;
1698         sema_init;
1699         sema_post;
1700         sema_trywait;
1701         sema_wait;
1702         setcat;
1703         sigfpe;
1704         strfmon;
1705         strptime;
1706         thr_continue;
1707         thr_create;
1708         thr_exit;
1709         thr_getconcurrency;
1710         thr_getprio;
1711         thr_getspecific;
1712         thr_join;
1713         thr_keycreate;
1714         thr_kill;
1715         thr_self                { FLAGS = NODYNSORT };
1716         thr_setconcurrency;
1717         thr_setprio;
1718         thr_setspecific;
1719         thr_sigsetmask;
1720         thr_suspend;
1721         thr_yield;
1722         vlfmt;
1723         vpfmt;
1724         wordexp;
1725         wordfree;
1726 } SUNW_0.7;
1728 SYMBOL_VERSION SUNW_0.7 {       # SunOS 5.3 (Solaris 2.3)
1729     global:
1730         altzone;
1731         _ctype;
1732         isnanf                  { TYPE = FUNCTION; FILTER = libm.so.2 };
1733         lone;
1734         lten;
1735         lzero;
1736         memalign                { FLAGS = NODIRECT };
1737         modff                   { TYPE = FUNCTION; FILTER = libm.so.2 };
1738         nss_default_finders;
1739         _sibuf;
1740         _sobuf;
1741         _sys_buslist;
1742         _sys_cldlist;
1743         _sys_fpelist;
1744         _sys_illlist;
1745         _sys_segvlist;
1746         _sys_siginfolistp;
1747         _sys_siglist;
1748         _sys_siglistn;
1749         _sys_siglistp;
1750         _sys_traplist;
1751         valloc                  { FLAGS = NODIRECT };
1753 $if _ELF32
1754         _bufendtab;
1755         _lastbuf;
1756         sys_errlist;
1757         sys_nerr;
1758         _sys_nsig;
1759 $endif
1761     protected:
1762         a64l;
1763         adjtime;
1764         ascftime;
1765         _assert;
1766         atoll;
1767         brk;
1768         __builtin_alloca;
1769         cftime;
1770         closelog;
1771         csetcol;
1772         csetlen;
1773         ctermid_r;
1774         dbm_close;
1775         dbm_delete;
1776         dbm_fetch;
1777         dbm_firstkey;
1778         dbm_nextkey;
1779         dbm_open;
1780         dbm_store;
1781         decimal_to_double;
1782         decimal_to_extended;
1783         decimal_to_quadruple;
1784         decimal_to_single;
1785         double_to_decimal;
1786         drand48;
1787         econvert;
1788         ecvt;
1789         endnetgrent;
1790         endspent;
1791         endutent;
1792         endutxent;
1793         erand48;
1794         euccol;
1795         euclen;
1796         eucscol;
1797         extended_to_decimal;
1798         fchroot;
1799         fconvert;
1800         fcvt;
1801         ffs;
1802         fgetspent;
1803         fgetspent_r;
1804         _filbuf;
1805         file_to_decimal;
1806         finite;
1807         _flsbuf;
1808         fork1                   { FLAGS = NODYNSORT };
1809         fpclass;
1810         fpgetmask;
1811         fpgetsticky;
1812         fpsetmask;
1813         fpsetsticky;
1814         fstatfs;
1815         ftruncate;
1816         ftw;
1817         func_to_decimal;
1818         gconvert;
1819         gcvt;
1820         getdents;
1821         gethrtime;
1822         gethrvtime;
1823         getmntany;
1824         getmntent;
1825         getnetgrent;
1826         getnetgrent_r;
1827         getspent;
1828         getspent_r;
1829         getspnam;
1830         getspnam_r;
1831         getutent;
1832         getutid;
1833         getutline;
1834         getutmp;
1835         getutmpx;
1836         getutxent;
1837         getutxid;
1838         getutxline;
1839         getvfsany;
1840         getvfsent;
1841         getvfsfile;
1842         getvfsspec;
1843         getwidth;
1844         gsignal;
1845         hasmntopt;
1846         innetgr;
1847         insque;
1848         _insque;
1849         jrand48;
1850         l64a;
1851         ladd;
1852         lckpwdf;
1853         lcong48;
1854         ldivide;
1855         lexp10;
1856         llabs;
1857         lldiv;
1858         llog10;
1859         llseek;
1860         lltostr;
1861         lmul;
1862         lrand48;
1863         lshiftl;
1864         lsub;
1865         _lwp_cond_broadcast;
1866         _lwp_cond_signal;
1867         _lwp_cond_timedwait;
1868         _lwp_cond_wait;
1869         _lwp_continue;
1870         _lwp_info;
1871         _lwp_kill;
1872         _lwp_mutex_lock;
1873         _lwp_mutex_trylock;
1874         _lwp_mutex_unlock;
1875         _lwp_self;
1876         _lwp_sema_init;
1877         _lwp_sema_post;
1878         _lwp_sema_wait;
1879         _lwp_suspend;
1880         madvise;
1881         __major;
1882         __makedev;
1883         mincore;
1884         __minor;
1885         mkstemp;
1886         _mkstemp;
1887         mlockall;
1888         mrand48;
1889         munlockall;
1890         _mutex_held             { FLAGS = NODYNSORT };
1891         _mutex_lock             { FLAGS = NODYNSORT };
1892         nrand48;
1893         _nss_netdb_aliases;
1894         _nss_XbyY_buf_alloc;
1895         _nss_XbyY_buf_free;
1896         __nsw_extended_action;
1897         __nsw_freeconfig;
1898         __nsw_getconfig;
1899         openlog;
1900         plock;
1901         p_online;
1902         pread;
1903         __priocntl;
1904         __priocntlset;
1905         processor_bind;
1906         processor_info;
1907         psiginfo;
1908         psignal;
1909         putpwent;
1910         putspent;
1911         pututline;
1912         pututxline;
1913         pwrite;
1914         qeconvert;
1915         qecvt;
1916         qfconvert;
1917         qfcvt;
1918         qgconvert;
1919         qgcvt;
1920         quadruple_to_decimal;
1921         realpath;
1922         remque;
1923         _remque;
1924         _rw_read_held;
1925         _rw_write_held;
1926         seconvert;
1927         seed48;
1928         select;
1929         _sema_held;
1930         setegid;
1931         seteuid;
1932         setlogmask;
1933         setnetgrent;
1934         setspent;
1935         settimeofday;
1936         setutent;
1937         setutxent;
1938         sfconvert;
1939         sgconvert;
1940         sig2str;
1941         sigwait;
1942         single_to_decimal;
1943         srand48;
1944         ssignal;
1945         statfs;
1946         str2sig;
1947         strcasecmp;
1948         string_to_decimal;
1949         strncasecmp;
1950         strsignal;
1951         strtoll;
1952         strtoull;
1953         swapctl;
1954         _syscall;
1955         sysfs;
1956         syslog;
1957         _syslog;
1958         tmpnam_r;
1959         truncate;
1960         ttyslot;
1961         uadmin;
1962         ulckpwdf;
1963         ulltostr;
1964         unordered;
1965         updwtmp;
1966         updwtmpx;
1967         ustat;
1968         utimes;
1969         utmpname;
1970         utmpxname;
1971         vfork;
1972         vhangup;
1973         vsyslog;
1974         yield;
1976 $if i386
1977         # Note: _syscall is also defined above. Here, we add the NODYNSORT
1978         # attribute to it. On this platform, it is an alias to syscall.
1979         # If that is changed, this lines should be removed.
1980         _syscall                { FLAGS = NODYNSORT };
1981 $endif
1983 # The 32-bit sparc ABI requires SISCD_2.3. On other platforms, those symbols
1984 # go directly into SUNW_0.7.
1985 $if sparc32
1986 } SISCD_2.3;
1988 SYMBOL_VERSION SISCD_2.3 {
1989 $endif
1991     global:
1992         errno                   { FLAGS = NODIRECT };
1994     protected:
1995         addseverity;
1996         _addseverity;
1997         asctime_r;
1998         crypt;
1999         _crypt;
2000         ctime_r;
2001         encrypt;
2002         _encrypt;
2003         endgrent;
2004         endpwent;
2005         ___errno;
2006         fgetgrent;
2007         fgetgrent_r;
2008         fgetpwent;
2009         flockfile;
2010         funlockfile;
2011         getchar_unlocked;
2012         getc_unlocked;
2013         getgrent;
2014         getgrent_r;
2015         getgrgid_r;
2016         getgrnam_r;
2017         getitimer;
2018         _getitimer;
2019         getlogin_r;
2020         getpwent;
2021         getpwnam_r;
2022         getpwuid_r;
2023         gettimeofday;
2024         _gettimeofday;
2025         gmtime_r;
2026         localtime_r;
2027         putchar_unlocked;
2028         putc_unlocked;
2029         rand_r;
2030         readdir_r;
2031         setgrent;
2032         setitimer;
2033         _setitimer;
2034         setkey;
2035         _setkey;
2036         setpwent;
2037         strtok_r;
2038         sysinfo;
2039         _sysinfo;
2040         ttyname_r;
2042 $if _ELF32
2043         __div64;
2044         __mul64;
2045         __rem64;
2046         __udiv64;
2047         __urem64;
2048 $endif
2050 $if sparc32
2051         __dtoll;
2052         __dtoull;
2053         __ftoll;
2054         __ftoull;
2055         _Q_lltoq;
2056         _Q_qtoll;
2057         _Q_qtoull;
2058         _Q_ulltoq;
2059         sbrk;
2060         _sbrk;
2061         __umul64                { FLAGS = NODYNSORT };  # Same address as __mul64
2062 $endif
2064 # On 32-bit platforms, the following symbols go into SYSVABI_1.3, but on
2065 # other platforms they go directly into the current version (which will be
2066 # either SUNW_0.7, or SISCD_2.3, depending on the similar issue described above.
2067 $if _ELF32
2068 } SYSVABI_1.3;
2070 SYMBOL_VERSION SYSVABI_1.3 {
2071 $endif
2073     global:
2074         _altzone;
2075         calloc                  { FLAGS = NODIRECT };
2076         __ctype;
2077         daylight;
2078         _daylight;
2079         environ                 { FLAGS = NODIRECT };
2080         _environ                { FLAGS = NODIRECT };
2081         free                    { FLAGS = NODIRECT };
2082         frexp                   { TYPE = FUNCTION; FILTER = libm.so.2 };
2083         getdate_err;
2084         _getdate_err;
2085         getenv;
2086         __huge_val;
2087         __stdinp;
2088         __stdoutp;
2089         __stderrp;
2090         isnan                   { TYPE = FUNCTION; FILTER = libm.so.2 };
2091         _isnan                  { TYPE = FUNCTION; FILTER = libm.so.2 };
2092         isnand                  { TYPE = FUNCTION; FILTER = libm.so.2 };
2093         _isnand                 { TYPE = FUNCTION; FILTER = libm.so.2 };
2094         ldexp                   { TYPE = FUNCTION; FILTER = libm.so.2 };
2095         logb                    { TYPE = FUNCTION; FILTER = libm.so.2 };
2096         malloc                  { FLAGS = NODIRECT };
2097         memcmp;
2098         memcpy;
2099         memmove;
2100         memset;
2101         modf                    { TYPE = FUNCTION; FILTER = libm.so.2 };
2102         _modf                   { TYPE = FUNCTION; FILTER = libm.so.2 };
2103         nextafter               { TYPE = FUNCTION; FILTER = libm.so.2 };
2104         _nextafter              { TYPE = FUNCTION; FILTER = libm.so.2 };
2105         _numeric;
2106         optarg;
2107         opterr;
2108         optind;
2109         optopt;
2110         realloc                 { FLAGS = NODIRECT };
2111         scalb                   { TYPE = FUNCTION; FILTER = libm.so.2 };
2112         _scalb                  { TYPE = FUNCTION; FILTER = libm.so.2 };
2113         timezone;
2114         _timezone;
2115         tzname;
2116         _tzname;
2117 $if i386
2118         _fp_hw;
2119 $endif
2121     protected:
2122         abort;
2123         abs;
2124         access;
2125         _access;
2126         acct;
2127         _acct;
2128         alarm;
2129         _alarm;
2130         asctime;
2131         __assert;
2132         atexit;
2133         atof;
2134         atoi;
2135         atol;
2136         bsearch;
2137         catclose;
2138         _catclose;
2139         catgets;
2140         _catgets;
2141         catopen;
2142         _catopen;
2143         cfgetispeed;
2144         _cfgetispeed;
2145         cfgetospeed;
2146         _cfgetospeed;
2147         cfsetispeed;
2148         _cfsetispeed;
2149         cfsetospeed;
2150         _cfsetospeed;
2151         chdir;
2152         _chdir;
2153         chmod;
2154         _chmod;
2155         chown;
2156         _chown;
2157         chroot;
2158         _chroot;
2159         _cleanup;
2160         clearerr;
2161         clock;
2162         close;
2163         closedir;
2164         _closedir;
2165         creat;
2166         ctermid;
2167         ctime;
2168         cuserid;
2169         _cuserid;
2170         difftime;
2171         div;
2172         dup;
2173         _dup;
2174         dup2;
2175         _dup2;
2176         execl;
2177         _execl;
2178         execle;
2179         _execle;
2180         execlp;
2181         _execlp;
2182         execv;
2183         _execv;
2184         execve;
2185         _execve;
2186         execvp;
2187         _execvp;
2188         exit;
2189         _exit;
2190         fattach;
2191         _fattach;
2192         fchdir;
2193         _fchdir;
2194         fchmod;
2195         _fchmod;
2196         fchown;
2197         _fchown;
2198         fclose;
2199         fcntl;
2200         fdetach;
2201         _fdetach;
2202         fdopen;
2203         _fdopen;
2204         feof;
2205         ferror;
2206         fflush;
2207         fgetc;
2208         fgetpos;
2209         fgets;
2210         __filbuf;
2211         fileno;
2212         _fileno;
2213         __flsbuf;
2214         fmtmsg;
2215         _fmtmsg;
2216         fopen;
2217         fork;
2218         fpathconf;
2219         _fpathconf;
2220         fprintf;
2221         fputc;
2222         fputs;
2223         fread;
2224         freopen;
2225         fscanf;
2226         fseek;
2227         fsetpos;
2228         fstat;
2229         fstatvfs;
2230         _fstatvfs;
2231         fsync;
2232         ftell;
2233         ftok;
2234         _ftok;
2235         fwrite;
2236         getc;
2237         getchar;
2238         getcontext;
2239         _getcontext;
2240         getcwd;
2241         _getcwd;
2242         getdate;
2243         _getdate;
2244         getegid;
2245         _getegid;
2246         geteuid;
2247         _geteuid;
2248         getgid;
2249         _getgid;
2250         getgrgid;
2251         getgrnam;
2252         getgroups;
2253         _getgroups;
2254         getlogin;
2255         getmsg;
2256         getopt;
2257         _getopt;
2258         getpass;
2259         _getpass;
2260         getpgid;
2261         _getpgid;
2262         getpgrp;
2263         _getpgrp;
2264         getpid;
2265         _getpid;
2266         getpmsg;
2267         getppid;
2268         _getppid;
2269         getpwnam;
2270         getpwuid;
2271         getrlimit;
2272         _getrlimit;
2273         gets;
2274         getsid;
2275         _getsid;
2276         getsubopt;
2277         _getsubopt;
2278         gettxt;
2279         _gettxt;
2280         getuid;
2281         _getuid;
2282         getw;
2283         _getw;
2284         gmtime;
2285         grantpt;
2286         _grantpt;
2287         hcreate;
2288         _hcreate;
2289         hdestroy;
2290         _hdestroy;
2291         hsearch;
2292         _hsearch;
2293         initgroups;
2294         _initgroups;
2295         ioctl;
2296         _ioctl;
2297         isalnum;
2298         isalpha;
2299         isascii;
2300         _isascii;
2301         isastream;
2302         _isastream;
2303         isatty;
2304         _isatty;
2305         iscntrl;
2306         isdigit;
2307         isgraph;
2308         islower;
2309         isprint;
2310         ispunct;
2311         isspace;
2312         isupper;
2313         isxdigit;
2314         kill;
2315         _kill;
2316         labs;
2317         lchown;
2318         _lchown;
2319         ldiv;
2320         lfind;
2321         _lfind;
2322         link;
2323         _link;
2324         localeconv;
2325         localtime;
2326         lockf;
2327         longjmp;
2328         lsearch;
2329         _lsearch;
2330         lseek;
2331         _lseek;
2332         lstat;
2333         makecontext;
2334         _makecontext;
2335         mblen;
2336         mbstowcs;
2337         mbtowc;
2338         memccpy;
2339         _memccpy;
2340         memchr;
2341         memcntl;
2342         _memcntl;
2343         mkdir;
2344         _mkdir;
2345         mkfifo;
2346         _mkfifo;
2347         mknod;
2348         _mknod;
2349         mktemp;
2350         _mktemp;
2351         mktime;
2352         mlock;
2353         _mlock;
2354         mmap;
2355         _mmap;
2356         monitor;
2357         _monitor;
2358         mount;
2359         _mount;
2360         mprotect;
2361         _mprotect;
2362         msgctl;
2363         _msgctl;
2364         msgget;
2365         _msgget;
2366         msgrcv;
2367         msgsnd;
2368         msync;
2369         munlock;
2370         _munlock;
2371         munmap;
2372         _munmap;
2373         nftw;
2374         _nftw;
2375         nice;
2376         _nice;
2377         nl_langinfo;
2378         _nl_langinfo;
2379         open;
2380         opendir;
2381         _opendir;
2382         pathconf;
2383         _pathconf;
2384         pause;
2385         pclose;
2386         _pclose;
2387         perror;
2388         pipe;
2389         _pipe;
2390         poll;
2391         _poll;
2392         popen;
2393         _popen;
2394         printf;
2395         profil;
2396         _profil;
2397         ptsname;
2398         _ptsname;
2399         putc;
2400         putchar;
2401         putenv;
2402         _putenv;
2403         putmsg;
2404         putpmsg;
2405         puts;
2406         putw;
2407         _putw;
2408         qsort;
2409         raise;
2410         rand;
2411         read;
2412         readdir;
2413         _readdir;
2414         readlink;
2415         _readlink;
2416         readv;
2417         remove;
2418         rename;
2419         _rename;
2420         rewind;
2421         rewinddir;
2422         _rewinddir;
2423         rmdir;
2424         _rmdir;
2425         scanf;
2426         seekdir;
2427         _seekdir;
2428         semctl;
2429         _semctl;
2430         semget;
2431         _semget;
2432         semop;
2433         _semop;
2434         setbuf;
2435         setcontext;
2436         _setcontext             { FLAGS = NODYNSORT };
2437         setgid;
2438         _setgid;
2439         setgroups;
2440         _setgroups;
2441         setjmp;
2442         setlabel;
2443         setlocale;
2444         setpgid;
2445         _setpgid;
2446         setpgrp;
2447         _setpgrp;
2448         setrlimit;
2449         _setrlimit;
2450         setsid;
2451         _setsid;
2452         setuid;
2453         _setuid;
2454         setvbuf;
2455         shmat;
2456         _shmat;
2457         shmctl;
2458         _shmctl;
2459         shmdt;
2460         _shmdt;
2461         shmget;
2462         _shmget;
2463         sigaction;
2464         _sigaction              { FLAGS = NODYNSORT };
2465         sigaddset;
2466         _sigaddset;
2467         sigaltstack;
2468         _sigaltstack;
2469         sigdelset;
2470         _sigdelset;
2471         sigemptyset;
2472         _sigemptyset;
2473         sigfillset;
2474         _sigfillset;
2475         sighold;
2476         _sighold;
2477         sigignore;
2478         _sigignore;
2479         sigismember;
2480         _sigismember;
2481         siglongjmp;
2482         _siglongjmp;
2483         signal;
2484         sigpause;
2485         sigpending;
2486         _sigpending;
2487         sigprocmask;
2488         _sigprocmask;
2489         sigrelse;
2490         _sigrelse;
2491         sigsend;
2492         _sigsend;
2493         sigsendset;
2494         _sigsendset;
2495         sigset;
2496         _sigset;
2497         sigsetjmp;
2498         _sigsetjmp              { FLAGS = NODYNSORT };
2499         sigsuspend;
2500         sleep;
2501         sprintf;
2502         srand;
2503         sscanf;
2504         stat;
2505         statvfs;
2506         _statvfs;
2507         stime;
2508         _stime;
2509         strcat;
2510         strchr;
2511         strcmp;
2512         strcoll;
2513         strcpy;
2514         strcspn;
2515         strdup;
2516         _strdup;
2517         strerror;
2518         strftime;
2519         strlen;
2520         strncat;
2521         strncmp;
2522         strncpy;
2523         strpbrk;
2524         strrchr;
2525         strspn;
2526         strstr;
2527         strtod;
2528         strtok;
2529         strtol;
2530         strtoul;
2531         strxfrm;
2532         swab;
2533         _swab;
2534         swapcontext;
2535         _swapcontext;
2536         symlink;
2537         _symlink;
2538         sync;
2539         _sync;
2540         sysconf;
2541         _sysconf;
2542         system;
2543         tcdrain;
2544         tcflow;
2545         _tcflow;
2546         tcflush;
2547         _tcflush;
2548         tcgetattr;
2549         _tcgetattr;
2550         tcgetpgrp;
2551         _tcgetpgrp;
2552         tcgetsid;
2553         _tcgetsid;
2554         tcsendbreak;
2555         _tcsendbreak;
2556         tcsetattr;
2557         _tcsetattr;
2558         tcsetpgrp;
2559         _tcsetpgrp;
2560         tdelete;
2561         _tdelete;
2562         tell;
2563         _tell;
2564         telldir;
2565         _telldir;
2566         tempnam;
2567         _tempnam;
2568         tfind;
2569         _tfind;
2570         time;
2571         _time;
2572         times;
2573         _times;
2574         tmpfile;
2575         tmpnam;
2576         toascii;
2577         _toascii;
2578         tolower;
2579         _tolower;
2580         toupper;
2581         _toupper;
2582         tsearch;
2583         _tsearch;
2584         ttyname;
2585         twalk;
2586         _twalk;
2587         tzset;
2588         _tzset;
2589         ulimit;
2590         _ulimit;
2591         umask;
2592         _umask;
2593         umount;
2594         _umount;
2595         uname;
2596         ungetc;
2597         unlink;
2598         _unlink;
2599         unlockpt;
2600         _unlockpt;
2601         utime;
2602         _utime;
2603         vfprintf;
2604         vprintf;
2605         vsprintf;
2606         wait;
2607         _wait;
2608         waitid;
2609         waitpid;
2610         _waitpid;
2611         wcstombs;
2612         wctomb;
2613         write;
2614         writev;
2615         _xftw;
2617 $if _ELF32
2618         ptrace;
2619         _ptrace;
2620 $endif
2622 $if i386
2623         _fxstat;
2624         _lxstat;
2625         _nuname;
2626         _xmknod;
2627         _xstat;
2628 $endif
2630 $if !sparc32
2631         sbrk;
2632 $endif
2634 $if _sparc
2635         __dtou;
2636         __ftou;
2637 $endif
2639 $if sparc32
2640         .div;
2641         .mul;
2642         .rem;
2643         .stret1;
2644         .stret2;
2645         .stret4;
2646         # .stret4 and .stret8 are the same thing
2647         .stret8                 { FLAGS = NODYNSORT };
2648         .udiv;
2649         .umul;
2650         .urem;
2651         _Q_add;
2652         _Q_cmp;
2653         _Q_cmpe;
2654         _Q_div;
2655         _Q_dtoq;
2656         _Q_feq;
2657         _Q_fge;
2658         _Q_fgt;
2659         _Q_fle;
2660         _Q_flt;
2661         _Q_fne;
2662         _Q_itoq;
2663         _Q_mul;
2664         _Q_neg;
2665         _Q_qtod;
2666         _Q_qtoi;
2667         _Q_qtos;
2668         _Q_qtou;
2669         _Q_sqrt;
2670         _Q_stoq;
2671         _Q_sub;
2672         _Q_utoq;
2673 $endif
2675 $if sparcv9
2676         # __align_cpy_1 is an alias for memcpy. Filter it out of
2677         # the .SUNW_dynsymsort section
2678         __align_cpy_1           { FLAGS = NODYNSORT };
2679         __align_cpy_16;
2680         __align_cpy_2;
2681         __align_cpy_4;
2682         # __align_cpy_8 is same as __align_cpy_16
2683         __align_cpy_8           { FLAGS = NODYNSORT };
2684         __dtoul;
2685         __ftoul;
2686         _Qp_add;
2687         _Qp_cmp;
2688         _Qp_cmpe;
2689         _Qp_div;
2690         _Qp_dtoq;
2691         _Qp_feq;
2692         _Qp_fge;
2693         _Qp_fgt;
2694         _Qp_fle;
2695         _Qp_flt;
2696         _Qp_fne;
2697         _Qp_itoq;
2698         _Qp_mul;
2699         _Qp_neg;
2700         _Qp_qtod;
2701         _Qp_qtoi;
2702         _Qp_qtos;
2703         _Qp_qtoui;
2704         _Qp_qtoux;
2705         _Qp_qtox;
2706         _Qp_sqrt;
2707         _Qp_stoq;
2708         _Qp_sub;
2709         _Qp_uitoq;
2710         _Qp_uxtoq;
2711         _Qp_xtoq;
2712         __sparc_utrap_install;
2713 $endif
2715 # On amd64, we also have SYSVABI_1.3, but it contains a small subset of
2716 # the symbols put in that version on other platforms.
2717 $if amd64
2718 } SYSVABI_1.3;
2720 SYMBOL_VERSION SYSVABI_1.3 { 
2721 $endif
2722     global:
2723 $if !_sparc
2724         __flt_rounds;
2725 $endif
2727     protected:
2728         _ctermid;
2729         _getgrgid;
2730         _getgrnam;
2731         _getlogin;
2732         _getpwnam;
2733         _getpwuid;
2734         _ttyname;
2736 $if !sparc32
2737         _sbrk;
2738 $endif
2740 $if _x86
2741         _fpstart;
2742         __fpstart;
2743 $endif
2748 # There should never be more than one SUNWprivate version.
2749 # Don't add any more.  Add new private symbols to SUNWprivate_1.1
2751 SYMBOL_VERSION SUNWprivate_1.1 {
2752     global:
2753         ___Argv                 { FLAGS = NODIRECT };
2754         cfree                   { FLAGS = NODIRECT };
2755         _cswidth;
2756         __ctype_mask;
2757         __environ_lock          { FLAGS = NODIRECT };
2758         __inf_read;
2759         __inf_written;
2760         __i_size;
2761         _isnanf                 { TYPE = FUNCTION; FILTER = libm.so.2 };
2762         __iswrune;
2763         __libc_threaded;
2764         _lib_version            { FLAGS = NODIRECT };
2765         _logb                   { TYPE = FUNCTION; FILTER = libm.so.2 };
2766         _lone                   { FLAGS = NODYNSORT };
2767         _lten                   { FLAGS = NODYNSORT };
2768         _lzero                  { FLAGS = NODYNSORT };
2769         __malloc_lock;
2770         _memcmp;
2771         _memcpy                 { FLAGS = NODYNSORT };
2772         _memmove;
2773         _memset;
2774         _modff                  { TYPE = FUNCTION; FILTER = libm.so.2 };
2775         __nan_read;
2776         __nan_written;
2777         __nextwctype;
2778         __nis_debug_bind;
2779         __nis_debug_calls;
2780         __nis_debug_file;
2781         __nis_debug_rpc;
2782         __nis_prefsrv;
2783         __nis_preftype;
2784         __nis_server;
2785         _nss_default_finders;
2786         __progname              { FLAGS = NODIRECT };
2787         _smbuf;
2788         _sp;
2789         __strdupa_str           { FLAGS = NODIRECT };
2790         __strdupa_len           { FLAGS = NODIRECT };
2791         _tdb_bootstrap;
2792         __threaded;
2793         thr_probe_getfunc_addr;
2794         __trans_lower;
2795         __trans_upper;
2796         _uberdata;
2797         __xpg6                  { FLAGS = NODIRECT };
2799         # FIXME: these data symbols originally from libnsl are marked private
2800         # (at least) until we get a name for our OS
2801         _null_auth;
2802         authdes_lock;
2803         h_errno                 { FLAGS = NODIRECT };
2804         in6addr_any;
2805         in6addr_loopback;
2806         svc_fdset;
2807         svc_max_pollfd;
2808         svc_pollfd;
2809         t_nerr;
2810         __key_decryptsession_pk_LOCAL;
2811         __key_encryptsession_pk_LOCAL;
2812         __key_gendes_LOCAL;
2813         __nsl_dom;
2814         _nderror;
2815 $if _ELF32
2816         _new_svc_fdset;
2817 $endif
2818         _svc_getreqset_proc;
2819         rpc_createerr;
2820         t_errlist;
2821         t_errno;
2822         tiusr_statetbl;
2824 $if _ELF32
2825         _dladdr                 { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2826         _dladdr1                { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2827         _dlclose                { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2828         _dldump                 { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2829         _dlerror                { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2830         _dlinfo                 { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2831         _dlmopen                { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2832         _dlopen                 { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2833         _dlsym                  { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2834         _ld_libc                { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2835         _sys_errlist;
2836         _sys_errs;
2837         _sys_index;
2838         _sys_nerr               { FLAGS = NODYNSORT };
2839         _sys_num_err;
2840 $elif sparcv9
2841         _dladdr         { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2842         _dladdr1        { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2843         _dlclose        { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2844         _dldump         { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2845         _dlerror        { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2846         _dlinfo         { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2847         _dlmopen        { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2848         _dlopen         { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2849         _dlsym          { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2850         _ld_libc        { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2851 $elif amd64
2852         _dladdr         { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2853         _dladdr1        { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2854         _dlamd64getunwind { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2855         _dlclose        { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2856         _dldump         { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2857         _dlerror        { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2858         _dlinfo         { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2859         _dlmopen        { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2860         _dlopen         { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2861         _dlsym          { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2862         _ld_libc        { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2863 $else
2864 $error unknown platform
2865 $endif
2867 $if _sparc
2868         __lyday_to_month;
2869         __mon_lengths;
2870         __yday_to_month;
2871 $endif
2872 $if i386
2873         _sse_hw;
2874 $endif
2876     protected:
2877         acctctl;
2878         allocids;
2879         _assert_c99;
2880         __assert_c99;
2881         _assfail;
2882         attr_count;
2883         attr_to_data_type;
2884         attr_to_name;
2885         attr_to_option;
2886         attr_to_xattr_view;     
2887         _autofssys;
2888         _bufsync;
2889         __class_quadruple;
2890         core_get_default_content;
2891         core_get_default_path;
2892         core_get_global_content;
2893         core_get_global_path;
2894         core_get_options;
2895         core_get_process_content;
2896         core_get_process_path;
2897         core_set_default_content;
2898         core_set_default_path;
2899         core_set_global_content;
2900         core_set_global_path;
2901         core_set_options;
2902         core_set_process_content;
2903         core_set_process_path;
2904         dbm_close_status;
2905         dbm_do_nextkey;
2906         dbm_setdefwrite;
2907         _D_cplx_div;
2908         _D_cplx_div_ix;
2909         _D_cplx_div_rx;
2910         _D_cplx_mul;
2911         defclose_r;
2912         defcntl;
2913         defcntl_r;
2914         defopen;
2915         defopen_r;
2916         defread;
2917         defread_r;
2918         _delete;
2919         _dgettext;
2920         _doprnt;
2921         _doscan;
2922         _errfp;
2923         _errxfp;
2924         execvpe;
2925         exportfs;
2926         _F_cplx_div;
2927         _F_cplx_div_ix;
2928         _F_cplx_div_rx;
2929         _F_cplx_mul;
2930         __fgetwc_xpg5;
2931         __fgetws_xpg5;
2932         _findbuf;
2933         _findiop;
2934         __fini_daemon_priv;
2935         _finite;
2936         _fpclass;
2937         _fpgetmask;
2938         _fpgetround;
2939         _fpgetsticky;
2940         _fprintf;
2941         _fpsetmask;
2942         _fpsetround;
2943         _fpsetsticky;
2944         __fputwc_xpg5;
2945         __fputws_xpg5;
2946         _ftw;
2947         _gcvt;
2948         _getarg;
2949         __getcontext;
2950         _getdents;
2951         _get_exit_frame_monitor;
2952         _getfp;
2953         _getgroupsbymember;
2954         _getlogin_r;
2955         getrandom;
2956         _getsp;
2957         __gettsp;
2958         getvmusage;
2959         __getwchar_xpg5;
2960         __getwc_xpg5;
2961         gtty;
2962         __idmap_flush_kcache;
2963         __idmap_reg;
2964         __idmap_unreg;
2965         __init_daemon_priv;
2966         __init_suid_priv;
2967         _insert;
2968         inst_sync;
2969         _iswctype;
2970         klpd_create;
2971         klpd_getpath;
2972         klpd_getport;
2973         klpd_getucred;
2974         klpd_register;
2975         klpd_register_id;
2976         klpd_unregister;
2977         klpd_unregister_id;
2978         _lgrp_home_fast         { FLAGS = NODYNSORT };
2979         _lgrpsys;
2980         _lltostr;
2981         _lock_clear;
2982         _lock_try;
2983         _ltzset;
2984         lwp_self;
2985         makeut;
2986         makeutx;
2987         _mbftowc;
2988         mcfiller;
2989         mntopt;
2990         modctl;
2991         modutx;
2992         msgctl64;
2993         __multi_innetgr;
2994         _mutex_destroy          { FLAGS = NODYNSORT };
2995         mutex_enter;
2996         mutex_exit;
2997         mutex_held;
2998         _mutex_init             { FLAGS = NODYNSORT };
2999         _mutex_unlock           { FLAGS = NODYNSORT };
3000         name_to_attr;
3001         nfs_getfh;
3002         nfssvc;
3003         _nfssys;
3004         __nis_get_environment;
3005         _nss_db_state_destr;
3006         nss_default_key2str;
3007         nss_delete;
3008         nss_endent;
3009         nss_getent;
3010         _nss_initf_group;
3011         _nss_initf_netgroup;
3012         _nss_initf_passwd;
3013         _nss_initf_shadow;
3014         nss_packed_arg_init;
3015         nss_packed_context_init;
3016         nss_packed_getkey;
3017         nss_packed_set_status;
3018         nss_search;
3019         nss_setent;
3020         _nss_XbyY_fgets;
3021         _nss_XbyY_fini;
3022         __nsw_extended_action_v1;
3023         __nsw_freeconfig_v1;
3024         __nsw_getconfig_v1;
3025         __nthreads;
3026         __openattrdirat;
3027         option_to_attr;
3028         __priv_bracket;
3029         __priv_relinquish;
3030         psecflags;
3031         pset_assign_forced;
3032         pset_bind_lwp;
3033         _psignal;
3034         pthread_attr_getdaemonstate_np;
3035         pthread_attr_setdaemonstate_np;
3036         _pthread_setcleanupinit;
3037         __putwchar_xpg5;
3038         __putwc_xpg5;
3039         rctlctl;
3040         rctllist;
3041         _realbufend;
3042         _resume;
3043         _resume_ret;
3044         _rpcsys;
3045         _sbrk_grow_aligned;
3046         scrwidth;
3047         secflag_by_name;
3048         secflag_clear;
3049         secflags_copy;
3050         secflags_difference;
3051         secflags_fullset;
3052         secflags_intersection;
3053         secflags_isempty;
3054         secflag_isset;
3055         secflags_issubset;
3056         secflags_issuperset;
3057         secflag_set;
3058         secflag_to_bit;
3059         secflag_to_str;
3060         secflags_union;
3061         psecflags_validate_delta;
3062         secflags_zero;
3063         psecflags_default;
3064         secflags_parse;
3065         secflags_to_str;
3066         psecflags_validate;
3067         semctl64;
3068         _semctl64;
3069         set_setcontext_enforcement;
3070         _setbufend;
3071         __set_errno;
3072         setprojrctl;
3073         _setregid;
3074         _setreuid;
3075         setsigacthandler;
3076         shmctl64;
3077         _shmctl64;
3078         sigflag;
3079         _signal;
3080         _sigoff;
3081         _sigon;
3082         _so_accept;
3083         _so_bind;
3084         _sockconfig;
3085         _so_connect;
3086         _so_getpeername;
3087         _so_getsockname;
3088         _so_getsockopt;
3089         _so_listen;
3090         _so_recv;
3091         _so_recvfrom;
3092         _so_recvmsg;
3093         _so_send;
3094         _so_sendmsg;
3095         _so_sendto;
3096         _so_setsockopt;
3097         _so_shutdown;
3098         _so_socket;
3099         _so_socketpair;
3100         str2group;
3101         str2passwd;
3102         str2spwd;
3103         __strptime_dontzero;
3104         stty;
3105         syscall;
3106         _sysconfig;
3107         __systemcall;
3108         thr_continue_allmutators;
3109         _thr_continue_allmutators;
3110         thr_continue_mutator;
3111         _thr_continue_mutator;
3112         thr_getstate;
3113         _thr_getstate;
3114         thr_mutators_barrier;
3115         _thr_mutators_barrier;
3116         thr_probe_setup;
3117         _thr_schedctl;
3118         thr_setmutator;
3119         _thr_setmutator;
3120         thr_setstate;
3121         _thr_setstate;
3122         thr_sighndlrinfo;
3123         _thr_sighndlrinfo;
3124         _thr_slot_offset;
3125         thr_suspend_allmutators;
3126         _thr_suspend_allmutators;
3127         thr_suspend_mutator;
3128         _thr_suspend_mutator;
3129         thr_wait_mutator;
3130         _thr_wait_mutator;
3131         __tls_get_addr;
3132         _tmem_get_base;
3133         _tmem_get_nentries;
3134         _tmem_set_cleanup;
3135         tpool_create;
3136         tpool_dispatch;
3137         tpool_destroy;
3138         tpool_wait;
3139         tpool_suspend;
3140         tpool_suspended;
3141         tpool_resume;
3142         tpool_member;
3143         _ttyname_dev;
3144         _ucred_alloc;
3145         ucred_getamask;
3146         _ucred_getamask;
3147         ucred_getasid;
3148         _ucred_getasid;
3149         ucred_getatid;
3150         _ucred_getatid;
3151         ucred_getauid;
3152         _ucred_getauid;
3153         _ulltostr;
3154         _uncached_getgrgid_r;
3155         _uncached_getgrnam_r;
3156         _uncached_getpwnam_r;
3157         _uncached_getpwuid_r;
3158         __ungetwc_xpg5;
3159         _unordered;
3160         utssys;
3161         _verrfp;
3162         _verrxfp;
3163         _vwarnfp;
3164         _vwarnxfp;
3165         _warnfp;
3166         _warnxfp;
3167         __wcsftime_xpg5;
3168         __wcstok_xpg5;
3169         wdbindf;
3170         wdchkind;
3171         wddelim;
3172         _wrtchk;
3173         _xflsbuf;
3174         _xgetwidth;
3175         zone_add_datalink;
3176         zone_boot;
3177         zone_check_datalink;
3178         zone_create;
3179         zone_destroy;
3180         zone_enter;
3181         zone_getattr;
3182         zone_get_id;
3183         zone_list;
3184         zone_list_datalink;
3185         zonept;
3186         zone_remove_datalink;
3187         zone_setattr;
3188         zone_shutdown;
3189         zone_version;
3191 $if _ELF32
3192         __divdi3;
3193         _file_set;
3194         _fprintf_c89;
3195         _fscanf_c89;
3196         _fwprintf_c89;
3197         _fwscanf_c89;
3198         _imaxabs_c89;
3199         _imaxdiv_c89;
3200         __moddi3;
3201         _printf_c89;
3202         _scanf_c89;
3203         _snprintf_c89;
3204         _sprintf_c89;
3205         _sscanf_c89;
3206         _strtoimax_c89;
3207         _strtoumax_c89;
3208         _swprintf_c89;
3209         _swscanf_c89;
3210         __udivdi3;
3211         __umoddi3;
3212         _vfprintf_c89;
3213         _vfscanf_c89;
3214         _vfwprintf_c89;
3215         _vfwscanf_c89;
3216         _vprintf_c89;
3217         _vscanf_c89;
3218         _vsnprintf_c89;
3219         _vsprintf_c89;
3220         _vsscanf_c89;
3221         _vswprintf_c89;
3222         _vswscanf_c89;
3223         _vwprintf_c89;
3224         _vwscanf_c89;
3225         _wcstoimax_c89;
3226         _wcstoumax_c89;
3227         _wprintf_c89;
3228         _wscanf_c89;
3229 $endif
3231 $if _sparc
3232         _cerror;
3233         install_utrap;
3234         _install_utrap;
3235         nop;
3236         _Q_cplx_div;
3237         _Q_cplx_div_ix;
3238         _Q_cplx_div_rx;
3239         _Q_cplx_lr_div;
3240         _Q_cplx_lr_div_ix;
3241         _Q_cplx_lr_div_rx;
3242         _Q_cplx_lr_mul;
3243         _Q_cplx_mul;
3244         _QgetRD;
3245         _xregs_clrptr;
3246 $endif
3248 $if sparc32
3249         __ashldi3;
3250         __ashrdi3;
3251         _cerror64;
3252         __cmpdi2;
3253         __floatdidf;
3254         __floatdisf;
3255         __floatundidf;
3256         __floatundisf;
3257         __lshrdi3;
3258         __muldi3;
3259         __ucmpdi2;
3260 $endif
3262 $if _x86
3263         _D_cplx_lr_div;
3264         _D_cplx_lr_div_ix;
3265         _D_cplx_lr_div_rx;
3266         _F_cplx_lr_div;
3267         _F_cplx_lr_div_ix;
3268         _F_cplx_lr_div_rx;
3269         __fltrounds;
3270         sysi86;
3271         _sysi86;
3272         _X_cplx_div;
3273         _X_cplx_div_ix;
3274         _X_cplx_div_rx;
3275         _X_cplx_lr_div;
3276         _X_cplx_lr_div_ix;
3277         _X_cplx_lr_div_rx;
3278         _X_cplx_mul;
3279         __xgetRD;
3280         __xtol;
3281         __xtoll;
3282         __xtoul;
3283         __xtoull;
3284 $endif
3286 $if i386
3287         __divrem64;
3288         ___tls_get_addr;
3289         __udivrem64;
3290 $endif
3292 # The following functions should not be exported from libc,
3293 # but /lib/libm.so.2, some older versions of the Studio
3294 # compiler/debugger components, and some ancient programs
3295 # found in /usr/dist reference them.  When we no longer
3296 # care about these old and broken binary objects, these
3297 # symbols should be deleted.
3298         _brk                                    { FLAGS = NODYNSORT };
3299         _cond_broadcast                         { FLAGS = NODYNSORT };
3300         _cond_init                              { FLAGS = NODYNSORT };
3301         _cond_signal                            { FLAGS = NODYNSORT };
3302         _cond_wait                              { FLAGS = NODYNSORT };
3303         _ecvt                                   { FLAGS = NODYNSORT };
3304         _fcvt                                   { FLAGS = NODYNSORT };
3305         _getc_unlocked                          { FLAGS = NODYNSORT };
3306         _llseek                                 { FLAGS = NODYNSORT };
3307         _pthread_attr_getdetachstate            { FLAGS = NODYNSORT };
3308         _pthread_attr_getinheritsched           { FLAGS = NODYNSORT };
3309         _pthread_attr_getschedparam             { FLAGS = NODYNSORT };
3310         _pthread_attr_getschedpolicy            { FLAGS = NODYNSORT };
3311         _pthread_attr_getscope                  { FLAGS = NODYNSORT };
3312         _pthread_attr_getstackaddr              { FLAGS = NODYNSORT };
3313         _pthread_attr_getstacksize              { FLAGS = NODYNSORT };
3314         _pthread_attr_init                      { FLAGS = NODYNSORT };
3315         _pthread_condattr_getpshared            { FLAGS = NODYNSORT };
3316         _pthread_condattr_init                  { FLAGS = NODYNSORT };
3317         _pthread_cond_init                      { FLAGS = NODYNSORT };
3318         _pthread_create                         { FLAGS = NODYNSORT };
3319         _pthread_getschedparam                  { FLAGS = NODYNSORT };
3320         _pthread_join                           { FLAGS = NODYNSORT };
3321         _pthread_key_create                     { FLAGS = NODYNSORT };
3322         _pthread_mutexattr_getprioceiling       { FLAGS = NODYNSORT };
3323         _pthread_mutexattr_getprotocol          { FLAGS = NODYNSORT };
3324         _pthread_mutexattr_getpshared           { FLAGS = NODYNSORT };
3325         _pthread_mutexattr_init                 { FLAGS = NODYNSORT };
3326         _pthread_mutex_getprioceiling           { FLAGS = NODYNSORT };
3327         _pthread_mutex_init                     { FLAGS = NODYNSORT };
3328         _pthread_sigmask                        { FLAGS = NODYNSORT };
3329         _rwlock_init                            { FLAGS = NODYNSORT };
3330         _rw_rdlock                              { FLAGS = NODYNSORT };
3331         _rw_unlock                              { FLAGS = NODYNSORT };
3332         _rw_wrlock                              { FLAGS = NODYNSORT };
3333         _sbrk_unlocked                          { FLAGS = NODYNSORT };
3334         _select                                 { FLAGS = NODYNSORT };
3335         _sema_init                              { FLAGS = NODYNSORT };
3336         _sema_post                              { FLAGS = NODYNSORT };
3337         _sema_trywait                           { FLAGS = NODYNSORT };
3338         _sema_wait                              { FLAGS = NODYNSORT };
3339         _sysfs                                  { FLAGS = NODYNSORT };
3340         _thr_create                             { FLAGS = NODYNSORT };
3341         _thr_exit                               { FLAGS = NODYNSORT };
3342         _thr_getprio                            { FLAGS = NODYNSORT };
3343         _thr_getspecific                        { FLAGS = NODYNSORT };
3344         _thr_join                               { FLAGS = NODYNSORT };
3345         _thr_keycreate                          { FLAGS = NODYNSORT };
3346         _thr_kill                               { FLAGS = NODYNSORT };
3347         _thr_main                               { FLAGS = NODYNSORT };
3348         _thr_self                               { FLAGS = NODYNSORT };
3349         _thr_setspecific                        { FLAGS = NODYNSORT };
3350         _thr_sigsetmask                         { FLAGS = NODYNSORT };
3351         _thr_stksegment                         { FLAGS = NODYNSORT };
3352         _ungetc_unlocked                        { FLAGS = NODYNSORT };
3354 # FIXME: pending a name for our OS, these symbols originally from libsocket are
3355 # marked private.
3356         ether_aton_r;
3357         ether_ntoa_r;
3358         accept4;
3359         freeifaddrs;
3360         getifaddrs;
3361         getipv4sourcefilter;
3362         getsourcefilter;
3363         setipv4sourcefilter;
3364         setsourcefilter;
3365         inet6_opt_append;
3366         inet6_opt_find;
3367         inet6_opt_finish;
3368         inet6_opt_get_val;
3369         inet6_opt_init;
3370         inet6_opt_next;
3371         inet6_opt_set_val;
3372         inet6_rth_add;
3373         inet6_rth_getaddr;
3374         inet6_rth_init;
3375         inet6_rth_reverse;
3376         inet6_rth_segments;
3377         inet6_rth_space;
3378         sockatmark;
3379         __xnet_getaddrinfo;
3380         freeaddrinfo;
3381         gai_strerror;
3382         getaddrinfo;
3383         getnameinfo;
3384         if_freenameindex;
3385         if_indextoname;
3386         if_nameindex;
3387         if_nametoindex;
3388         __xnet_bind;
3389         __xnet_connect;
3390         __xnet_getsockopt;
3391         __xnet_listen;
3392         __xnet_recvmsg;
3393         __xnet_sendmsg;
3394         __xnet_sendto;
3395         __xnet_socket;
3396         __xnet_socketpair;
3397         endnetent;
3398         endprotoent;
3399         endservent;
3400         ether_aton;
3401         ether_hostton;
3402         ether_line;
3403         ether_ntoa;
3404         ether_ntohost;
3405         getnetbyaddr;
3406         getnetbyaddr_r;
3407         getnetbyname;
3408         getnetbyname_r;
3409         getnetent;
3410         getnetent_r;
3411         getprotobyname_r;
3412         getprotobynumber_r;
3413         getprotoent_r;
3414         getservbyname_r;
3415         getservbyport_r;
3416         getservent;
3417         getservent_r;
3418         setnetent;
3419         setprotoent;
3420         setservent;
3421         socketpair;
3422         accept;
3423         bind;
3424         connect;
3425         getpeername;
3426         getprotobyname;
3427         getprotobynumber;
3428         getprotoent;
3429         getservbyname;
3430         getservbyport;
3431         getsockname;
3432         getsockopt;
3433         inet_lnaof;
3434         inet_makeaddr;
3435         inet_network;
3436         listen;
3437         recv;
3438         recvfrom;
3439         recvmsg;
3440         send;
3441         sendmsg;
3442         sendto;
3443         setsockopt;
3444         shutdown;
3445         socket;
3446 # These were private in libsocket and should stay that way in libc:
3447         _link_aton;
3448         _link_ntoa;
3449         _nss_initf_ethers;
3450         _nss_initf_net;
3451         _nss_initf_netmasks;
3452         _nss_initf_proto;
3453         _nss_initf_services;
3454         getallifaddrs;
3455         getallifs;
3456         str2ether;
3457         str2addr;
3458         str2netent;
3459         str2protoent;
3460         getnetmaskbyaddr;
3461         getnetmaskbynet;
3462         bindresvport;
3463         bootparams_getbyname;
3464         _ruserpass;
3465 # FIXME: pending a name for our OS, these symbols originally from libnsl are
3466 # marked private.
3467         inet_aton;
3468         freeipsecalgent;
3469         getipsecalgbyname;
3470         getipsecalgbynum;
3471         getipsecprotobyname;
3472         getipsecprotobynum;
3473         svc_fd_negotiate_ucred;
3474         svc_getcallerucred;
3475         clnt_send;
3476         svc_add_input;
3477         svc_remove_input;
3478         freehostent;
3479         getipnodebyaddr;
3480         getipnodebyname;
3481         inet_ntop;
3482         inet_pton;
3483         _xti_rcvreldata;
3484         _xti_rcvv;
3485         _xti_rcvvudata;
3486         _xti_sndreldata;
3487         _xti_sndv;
3488         _xti_sndvudata;
3489         _xti_sysconf;
3490         _xti_xns5_accept;
3491         _xti_xns5_snd;
3492         clnt_create_vers_timed;
3493         clnt_door_create;
3494         rpc_gss_getcred;
3495         rpc_gss_get_error;
3496         rpc_gss_get_mechanisms;
3497         rpc_gss_get_mech_info;
3498         rpc_gss_get_principal_name;
3499         rpc_gss_get_versions;
3500         rpc_gss_is_installed;
3501         rpc_gss_max_data_length;
3502         rpc_gss_mech_to_oid;
3503         rpc_gss_qop_to_num;
3504         rpc_gss_seccreate;
3505         rpc_gss_set_callback;
3506         rpc_gss_set_defaults;
3507         rpc_gss_set_svc_name;
3508         rpc_gss_svc_max_data_length;
3509         svc_door_create;
3510         _xti_accept;
3511         _xti_alloc;
3512         _xti_bind;
3513         _xti_close;
3514         _xti_connect;
3515         _xti_error;
3516         _xti_free;
3517         _xti_getinfo;
3518         _xti_getprotaddr;
3519         _xti_getstate;
3520         _xti_listen;
3521         _xti_look;
3522         _xti_open;
3523         _xti_optmgmt;
3524         _xti_rcv;
3525         _xti_rcvconnect;
3526         _xti_rcvdis;
3527         _xti_rcvrel;
3528         _xti_rcvudata;
3529         _xti_rcvuderr;
3530         _xti_snd;
3531         _xti_snddis;
3532         _xti_sndrel;
3533         _xti_sndudata;
3534         _xti_strerror;
3535         _xti_sync;
3536         _xti_unbind;
3537         clnt_create_timed;
3538         clnt_tp_create_timed;
3539         getrpcport;
3540         rpc_control;
3541         svc_done;
3542         authdes_create;
3543         auth_destroy;
3544         callrpc;
3545         clnt_broadcast;
3546         clnt_call;
3547         clnt_control;
3548         clnt_create_vers;
3549         clnt_destroy;
3550         clnt_freeres;
3551         clnt_geterr;
3552         clntraw_create;
3553         clnttcp_create;
3554         clntudp_bufcreate;
3555         clntudp_create;
3556         dbmclose;
3557         dbminit;
3558         delete;
3559         des_setparity;
3560         doconfig;
3561         endhostent;
3562         endrpcent;
3563         fetch;
3564         firstkey;
3565         gethostbyaddr_r;
3566         gethostbyname_r;
3567         gethostent;
3568         gethostent_r;
3569         get_myaddress;
3570         getrpcbyname;
3571         getrpcbyname_r;
3572         getrpcbynumber;
3573         getrpcbynumber_r;
3574         getrpcent;
3575         getrpcent_r;
3576         inet_ntoa_r;
3577         key_secretkey_is_set;
3578         nc_sperror;
3579         netdir_perror;
3580         netdir_sperror;
3581         nextkey;
3582         nis_clone_object;
3583         nis_destroy_object;
3584         nis_dir_cmp;
3585         nis_domain_of;
3586         nis_leaf_of;
3587         nis_leaf_of_r;
3588         nis_local_directory;
3589         nis_local_group;
3590         nis_local_host;
3591         nis_name_of;
3592         pmap_getmaps;
3593         pmap_getport;
3594         pmap_rmtcall;
3595         pmap_set;
3596         pmap_unset;
3597         registerrpc;
3598         __rpc_createerr;
3599         sethostent;
3600         setrpcent;
3601         store;
3602         svc_auth_reg;
3603         svc_control;
3604         svc_destroy;
3605         svc_dg_enablecache;
3606         svcfd_create;
3607         svc_exit;
3608         svc_freeargs;
3609         svc_getargs;
3610         svc_getreq;
3611         svc_getreq_common;
3612         svc_getreq_poll;
3613         svc_getrpccaller;
3614         svcraw_create;
3615         svc_register;
3616         svctcp_create;
3617         svcudp_bufcreate;
3618         svcudp_create;
3619         svc_unregister;
3620         __t_errno;
3621         t_getname;
3622         t_strerror;
3623         xdr_destroy;
3624         xdr_getpos;
3625         xdr_hyper;
3626         xdr_inline;
3627         xdr_longlong_t;
3628         xdr_quadruple;
3629         xdrrec_endofrecord;
3630         xdrrec_readbytes;
3631         xdr_setpos;
3632         xdr_sizeof;
3633         xdr_u_hyper;
3634         xdr_u_int;
3635         xdr_u_longlong_t;
3636         yp_all;
3637         yp_bind;
3638         yperr_string;
3639         yp_first;
3640         yp_get_default_domain;
3641         yp_master;
3642         yp_match;
3643         yp_next;
3644         yp_order;
3645         ypprot_err;
3646         yp_unbind;
3647         yp_update;
3648         gethostbyaddr;
3649         gethostbyname;
3650         inet_addr;
3651         inet_netof;
3652         inet_ntoa;
3653         rpc_broadcast_exp;
3654         authdes_getucred;
3655         authdes_seccreate;
3656         authnone_create;
3657         authsys_create;
3658         authsys_create_default;
3659         clnt_create;
3660         clnt_dg_create;
3661         clnt_pcreateerror;
3662         clnt_perrno;
3663         clnt_perror;
3664         clnt_raw_create;
3665         clnt_spcreateerror;
3666         clnt_sperrno;
3667         clnt_sperror;
3668         clnt_tli_create;
3669         clnt_tp_create;
3670         clnt_vc_create;
3671         endnetconfig;
3672         endnetpath;
3673         freenetconfigent;
3674         getnetconfig;
3675         getnetconfigent;
3676         getnetname;
3677         getnetpath;
3678         getpublickey;
3679         getsecretkey;
3680         host2netname;
3681         key_decryptsession;
3682         key_encryptsession;
3683         key_gendes;
3684         key_setsecret;
3685         nc_perror;
3686         netdir_free;
3687         netdir_getbyaddr;
3688         netdir_getbyname;
3689         netdir_options;
3690         netname2host;
3691         netname2user;
3692         rpcb_getaddr;
3693         rpcb_getmaps;
3694         rpcb_gettime;
3695         rpcb_rmtcall;
3696         rpc_broadcast;
3697         rpcb_set;
3698         rpcb_unset;
3699         rpc_call;
3700         rpc_reg;
3701         setnetconfig;
3702         setnetpath;
3703         svc_create;
3704         svc_dg_create;
3705         svcerr_auth;
3706         svcerr_decode;
3707         svcerr_noproc;
3708         svcerr_noprog;
3709         svcerr_progvers;
3710         svcerr_systemerr;
3711         svcerr_weakauth;
3712         svc_fd_create;
3713         svc_getreqset;
3714         svc_raw_create;
3715         svc_reg;
3716         svc_run;
3717         svc_sendreply;
3718         svc_tli_create;
3719         svc_tp_create;
3720         svc_unreg;
3721         svc_vc_create;
3722         t_accept;
3723         taddr2uaddr;
3724         t_alloc;
3725         t_bind;
3726         t_close;
3727         t_connect;
3728         t_error;
3729         t_free;
3730         t_getinfo;
3731         t_getstate;
3732         t_listen;
3733         t_look;
3734         t_open;
3735         t_optmgmt;
3736         t_rcv;
3737         t_rcvconnect;
3738         t_rcvdis;
3739         t_rcvrel;
3740         t_rcvudata;
3741         t_rcvuderr;
3742         t_snd;
3743         t_snddis;
3744         t_sndrel;
3745         t_sndudata;
3746         t_sync;
3747         t_unbind;
3748         uaddr2taddr;
3749         user2netname;
3750         xdr_accepted_reply;
3751         xdr_array;
3752         xdr_authsys_parms;
3753         xdr_bool;
3754         xdr_bytes;
3755         xdr_callhdr;
3756         xdr_callmsg;
3757         xdr_char;
3758         xdr_double;
3759         xdr_double;
3760         xdr_enum;
3761         xdr_float;
3762         xdr_free;
3763         xdr_int;
3764         xdr_long;
3765         xdrmem_create;
3766         xdr_opaque;
3767         xdr_opaque_auth;
3768         xdr_pointer;
3769         xdrrec_create;
3770         xdrrec_eof;
3771         xdrrec_skiprecord;
3772         xdr_reference;
3773         xdr_rejected_reply;
3774         xdr_replymsg;
3775         xdr_short;
3776         xdrstdio_create;
3777         xdr_string;
3778         xdr_u_char;
3779         xdr_u_long;
3780         xdr_union;
3781         xdr_u_short;
3782         xdr_vector;
3783         xdr_void;
3784         xdr_wrapstring;
3785         xprt_register;
3786         xprt_unregister;
3787 # These were private in libnsl and should stay that way in libc:
3788         clnt_create_service_timed;
3789         inet_matchaddr;
3790         _build_internal_algs;
3791         _check_daemon_lock;
3792         _clean_trash;
3793         _create_daemon_lock;
3794         _duplicate_alg;
3795         _enter_daemon_lock;
3796         _real_getipsecalgs;
3797         _real_getipsecprotos;
3798         str2hostent6;
3799         _str_to_ipsec_exec_mode;
3800         __yp_all_cflookup;
3801         key_call_ruid;
3802         key_removesecret_g_ruid;
3803         key_secretkey_is_set_g_ruid;
3804         key_setnet_g_ruid;
3805         key_setnet_ruid;
3806         _doexeclist;
3807         _dup_execstr;
3808         _endauthattr;
3809         _endauuser;
3810         _endexecattr;
3811         __endhostent6;
3812         _endprofattr;
3813         _enduserattr;
3814         _escape;
3815         _exec_cleanup;
3816         _exec_wild_id;
3817         _fgetuserattr;
3818         _free_execstr;
3819         _getauthattr;
3820         _getauthnam;
3821         _getauuserent;
3822         _getauusernam;
3823         _getexecattr;
3824         _getexecprof;
3825         __gethostent6;
3826         _getprofattr;
3827         _getprofnam;
3828         _getuserattr;
3829         _getusernam;
3830         __nis_netconfig2ep;
3831         __nis_netconfig_matches_ep;
3832         _readbufline;
3833         __rpc_bindresvport_ipv6;
3834         _setauthattr;
3835         _setauuser;
3836         _setexecattr;
3837         __sethostent6;
3838         _setprofattr;
3839         _setuserattr;
3840         _strdup_null;
3841         _strpbrk_escape;
3842         _strtok_escape;
3843         _switch_getipnodebyaddr_r;
3844         _switch_getipnodebyname_r;
3845         _uncached_getipnodebyaddr;
3846         _uncached_getipnodebyname;
3847         _unescape;
3848         __yp_first_cflookup;
3849         __yp_match_cflookup;
3850         __yp_match_rsvdport_cflookup;
3851         __yp_next_cflookup;
3852         __authenticate;
3853         calchash;
3854         cbc_crypt;
3855         __cbc_triple_crypt;
3856         check_version;
3857         __clnt_create_loopback;
3858         __des_crypt;
3859         des_setparity_g;
3860         ecb_crypt;
3861         __empty_yp_cache;
3862         firsthash;
3863         getdomainname;
3864         _get_hostserv_inetnetdir_byaddr;
3865         _get_hostserv_inetnetdir_byname;
3866         __getnetnamebyuid;
3867         __getpublickey_cached;
3868         __getpublickey_cached_g;
3869         __getpublickey_flush;
3870         __getpublickey_flush_g;
3871         getpublickey_g;
3872         getsecretkey_g;
3873         hashinc;
3874         _herrno2nss;
3875         __inet_address_count;
3876         __inet_free_local_interfaces;
3877         __inet_get_addr;
3878         __inet_get_local_interfaces;
3879         __inet_get_networka;
3880         __inet_get_uaddr;
3881         __inet_uaddr_is_local;
3882         key_call;
3883         key_decryptsession_g;
3884         key_decryptsession_pk;
3885         key_decryptsession_pk_g;
3886         key_encryptsession_g;
3887         key_encryptsession_pk;
3888         key_encryptsession_pk_g;
3889         key_gendes_g;
3890         key_get_conv;
3891         key_get_conv_g;
3892         key_removesecret_g;
3893         key_secretkey_is_set_g;
3894         key_setnet;
3895         key_setnet_g;
3896         key_setsecret_g;
3897         makdatum;
3898         __nderror;
3899         __netdir_getbyaddr_nosrv;
3900         __nis_authtype2mechalias;
3901         __nis_clnt_create;
3902         __nis_dhext_extract_pkey;
3903         __nis_get_mechanism_library;
3904         __nis_get_mechanisms;
3905         __nis_get_mechanism_symbol;
3906         nis_get_static_storage;
3907         __nis_gssprin2netname;
3908         __nis_keyalg2authtype;
3909         __nis_keyalg2mechalias;
3910         __nis_mechalias2authtype;
3911         __nis_mechname2alias;
3912         nis_read_obj;
3913         __nis_release_mechanisms;
3914         __nis_rpc_domain;
3915         __nis_translate_mechanism;
3916         nis_write_obj;
3917         __nss2herrno;
3918         nss_ioctl;
3919         order_haddrlist_af;
3920         __rpcbind_is_up;
3921         __rpc_bindresvport;
3922         rpcb_taddr2uaddr;
3923         rpcb_uaddr2taddr;
3924         __rpc_control;
3925         __rpc_dtbsize;
3926         __rpc_endconf;
3927         __rpcfd_to_nconf;
3928         __rpc_get_a_size;
3929         __rpc_getconf;
3930         __rpc_getconfip;
3931         __rpc_get_default_domain;
3932         __rpc_get_local_uid;
3933         __rpc_get_t_size;
3934         __rpc_matchserv;
3935         __rpc_negotiate_uid;
3936         __rpc_select_to_poll;
3937         __rpc_setconf;
3938         __rpc_timeval_to_msec;
3939         __rpc_tli_set_options;
3940         rtime_tli;
3941         setdomainname;
3942         __seterr_reply;
3943         str2hostent;
3944         str2servent;
3945         __svcauth_des;
3946         svc_get_local_cred;
3947         __svc_get_svcauth;
3948         __svc_set_proc_cleanup_cb;
3949         __svc_vc_dup;
3950         __svc_vc_dupcache_init;
3951         __svc_vc_dupdone;
3952         svc_xprt_alloc;
3953         svc_xprt_free;
3954         _switch_gethostbyaddr_r;
3955         _switch_gethostbyname_r;
3956         _uncached_gethostbyaddr_r;
3957         _uncached_gethostbyname_r;
3958         usingypmap;
3959         xdr_authdes_cred;
3960         xdr_authdes_verf;
3961         xdr_cryptkeyarg;
3962         xdr_cryptkeyarg2;
3963         xdr_cryptkeyarg3;
3964         xdr_cryptkeyres;
3965         xdr_cryptkeyres3;
3966         xdr_datum;
3967         xdr_des_block;
3968         xdr_deskeyarg3;
3969         xdr_deskeyarray;
3970         xdr_directory_obj;
3971         xdr_endpoint;
3972         xdr_entry_obj;
3973         xdr_getcredres;
3974         xdr_getcredres3;
3975         xdr_gid_t;
3976         xdr_int16_t;
3977         xdr_int32_t;
3978         xdr_int64_t;
3979         xdr_int8_t;
3980         xdr_keybuf;
3981         xdr_keybuf3;
3982         xdr_key_netstarg;
3983         xdr_key_netstarg3;
3984         xdr_key_netstres;
3985         xdr_key_netstres3;
3986         xdr_keynum_t;
3987         xdr_keystatus;
3988         xdr_mechtype;
3989         xdr_netbuf;
3990         xdr_netnamestr;
3991         xdr_netobj;
3992         xdr_nis_attr;
3993         xdr_nis_name;
3994         xdr_nis_object;
3995         xdr_nis_oid;
3996         xdr_nis_server;
3997         xdr_objdata;
3998         xdr_pmap;
3999         xdr_pmaplist;
4000         xdr_pmaplist_ptr;
4001         xdr_rmtcallargs;
4002         xdr_rmtcallres;
4003         xdr_rpcb;
4004         xdr_rpcb_entry;
4005         xdr_rpcb_entry_list_ptr;
4006         xdr_rpcblist;
4007         xdr_rpcblist_ptr;
4008         xdr_rpcb_rmtcallargs;
4009         xdr_rpcb_rmtcallres;
4010         xdr_rpcbs_addrlist;
4011         xdr_rpcbs_addrlist_ptr;
4012         xdr_rpcbs_proc;
4013         xdr_rpcbs_rmtcalllist;
4014         xdr_rpcbs_rmtcalllist_ptr;
4015         xdr_rpcb_stat;
4016         xdr_rpcb_stat_byvers;
4017         xdr_setkeyarg3;
4018         xdr_table_obj;
4019         xdr_uid_t;
4020         xdr_uint16_t;
4021         xdr_uint32_t;
4022         xdr_uint64_t;
4023         xdr_uint8_t;
4024         xdr_ulonglong_t;
4025         xdr_unixcred;
4026         xdr_ypall;
4027         xdr_ypbind_domain;
4028         xdr_ypbind_resp;
4029         xdr_ypbind_resptype;
4030         xdr_ypbind_setdom;
4031         xdr_yp_buf;
4032         xdr_ypdelete_args;
4033         xdr_ypdomain_wrap_string;
4034         xdr_ypmap_parms;
4035         xdr_ypmap_wrap_string;
4036         xdr_ypowner_wrap_string;
4037         xdr_yppasswd;
4038         xdr_yppushresp_xfr;
4039         xdr_ypreq_key;
4040         xdr_ypreq_newxfr;
4041         xdr_ypreq_nokey;
4042         xdr_ypreq_xfr;
4043         xdr_ypresp_key_val;
4044         xdr_ypresp_maplist;
4045         xdr_ypresp_master;
4046         xdr_ypresp_order;
4047         xdr_ypresp_val;
4048         xdr_ypupdate_args;
4049         __yp_add_binding;
4050         __yp_all_rsvdport;
4051         ypbindproc_domain_3;
4052         __yp_clnt_create_rsvdport;
4053         __yp_dobind;
4054         __yp_master_rsvdport;
4055         yp_match_rsvdport;
4056         __yp_rel_binding;
4057 # End libnsl/libsocket symbols
4058 # FIXME: new symbols for our OS, but here pending a name.
4059         errc;
4060         verrc;
4061         warnc;
4062         vwarnc;
4063         fts_close;
4064         fts_children;
4065         fts_open;
4066         fts_read;
4067         fts_set;
4068         vis;
4069         strvis;
4070         strnvis;
4071         strvisx;
4072         stravis;        
4073         unvis;
4074         strunvis;
4075         strnunvis;
4076         setmode;
4077         getmode;
4078         b64_ntop;
4079         b64_pton;
4080         strtonum;
4082     global:
4083 # FIXME: new symbols for our OS, but here pending a name.
4084         reallocarray            { FLAGS = NODIRECT };
4085         recallocarray           { FLAGS = NODIRECT };
4086         freezero                { FLAGS = NODIRECT };
4088     local:
4089         __imax_lldiv                            { FLAGS = NODYNSORT };
4090         _ti_thr_self                            { FLAGS = NODYNSORT };
4091         *;
4093 $if lf64
4094         _seekdir64              { FLAGS = NODYNSORT };
4095         _telldir64              { FLAGS = NODYNSORT };
4096 $endif
4098 $if _sparc
4099         __cerror                { FLAGS = NODYNSORT };
4100 $endif
4102 $if sparc32
4103         __cerror64              { FLAGS = NODYNSORT };
4104 $endif
4106 $if sparcv9
4107         __cleanup               { FLAGS = NODYNSORT };
4108 $endif
4110 $if i386
4111         _syscall6               { FLAGS = NODYNSORT };
4112         __systemcall6           { FLAGS = NODYNSORT };
4113 $endif
4115 $if amd64
4116         ___tls_get_addr         { FLAGS = NODYNSORT };
4117 $endif