import less(1)
[unleashed/tickless.git] / usr / src / lib / libc / port / mapfile-vers
blobef66eba533f75ef9abc8509c4dfa29cefbbc3e17
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         __flbf;
1207         _flushlbf;
1208         __fpending;
1209         __fpurge;
1210         __freadable;
1211         __freading;
1212         fwide;
1213         fwprintf;
1214         __fwritable;
1215         __fwriting;
1216         fwscanf;
1217         getloadavg;
1218         isaexec;
1219         mbrlen;
1220         mbrtowc;
1221         mbsinit;
1222         mbsrtowcs;
1223         pcsample;
1224         pthread_attr_getguardsize;
1225         pthread_attr_setguardsize;
1226         pthread_getconcurrency;
1227         pthread_mutexattr_gettype;
1228         pthread_mutexattr_settype;
1229         pthread_rwlockattr_destroy;
1230         pthread_rwlockattr_getpshared;
1231         pthread_rwlockattr_init;
1232         pthread_rwlockattr_setpshared;
1233         pthread_rwlock_destroy;
1234         pthread_rwlock_init;
1235         pthread_rwlock_rdlock;
1236         pthread_rwlock_tryrdlock;
1237         pthread_rwlock_trywrlock;
1238         pthread_rwlock_unlock;
1239         pthread_rwlock_wrlock;
1240         pthread_setconcurrency;
1241         swprintf;
1242         swscanf;
1243         __sysconf_xpg5;
1244         vfwprintf;
1245         vswprintf;
1246         vwprintf;
1247         wcrtomb;
1248         wcsrtombs;
1249         wcsstr;
1250         wctob;
1251         wmemchr;
1252         wmemcmp;
1253         wmemcpy;
1254         wmemmove;
1255         wmemset;
1256         wprintf;
1257         wscanf;
1259 $if _ELF32
1260         select_large_fdset;
1261 $endif
1262 } SUNW_1.17;
1264 # The empty versions SUNW_1.2 through SUNW_1.17 must be preserved because
1265 # applications built on Solaris 2.6 Beta (when they did contain symbols)
1266 # may depend on them.  All symbol content for SunOS 5.6 is now in SUNW_1.1
1268 SYMBOL_VERSION SUNW_1.17 {
1269     protected:
1270         SUNW_1.17;
1271 } SUNW_1.16;
1273 SYMBOL_VERSION SUNW_1.16 {
1274     protected:
1275         SUNW_1.16;
1276 } SUNW_1.15;
1278 SYMBOL_VERSION SUNW_1.15 {
1279     protected:
1280         SUNW_1.15;
1281 } SUNW_1.14;
1283 SYMBOL_VERSION SUNW_1.14 {
1284     protected:
1285         SUNW_1.14;
1286 } SUNW_1.13;
1288 SYMBOL_VERSION SUNW_1.13 {
1289     protected:
1290         SUNW_1.13;
1291 } SUNW_1.12;
1293 SYMBOL_VERSION SUNW_1.12 {
1294     protected:
1295         SUNW_1.12;
1296 } SUNW_1.11;
1298 SYMBOL_VERSION SUNW_1.11 {
1299     protected:
1300         SUNW_1.11;
1301 } SUNW_1.10;
1303 SYMBOL_VERSION SUNW_1.10 {
1304     protected:
1305         SUNW_1.10;
1306 } SUNW_1.9;
1308 SYMBOL_VERSION SUNW_1.9 {
1309     protected:
1310         SUNW_1.9;
1311 } SUNW_1.8;
1313 SYMBOL_VERSION SUNW_1.8 {
1314     protected:
1315         SUNW_1.8;
1316 } SUNW_1.7;
1318 SYMBOL_VERSION SUNW_1.7 {
1319     protected:
1320         SUNW_1.7;
1321 } SUNW_1.6;
1323 SYMBOL_VERSION SUNW_1.6 {
1324     protected:
1325         SUNW_1.6;
1326 } SUNW_1.5;
1328 SYMBOL_VERSION SUNW_1.5 {
1329     protected:
1330         SUNW_1.5;
1331 } SUNW_1.4;
1333 SYMBOL_VERSION SUNW_1.4 {
1334     protected:
1335         SUNW_1.4;
1336 } SUNW_1.3;
1338 SYMBOL_VERSION SUNW_1.3 {
1339     protected:
1340         SUNW_1.3;
1341 } SUNW_1.2;
1343 SYMBOL_VERSION SUNW_1.2 {
1344     protected:
1345         SUNW_1.2;
1346 } SUNW_1.1;
1348 SYMBOL_VERSION SUNW_1.1 {       # SunOS 5.6 (Solaris 2.6)
1349     global:
1350         __loc1;
1351     protected:
1352         basename;
1353         bindtextdomain;
1354         bsd_signal;
1355         dbm_clearerr;
1356         dbm_error;
1357         dcgettext;
1358         dgettext;
1359         directio;
1360         dirname;
1361         endusershell;
1362         _exithandle;
1363         fgetwc;
1364         fgetws;
1365         fpgetround;
1366         fpsetround;
1367         fputwc;
1368         fputws;
1369         fseeko;
1370         ftello;
1371         ftrylockfile;
1372         getexecname;
1373         _getexecname;
1374         getpassphrase;
1375         gettext;
1376         getusershell;
1377         getwc;
1378         getwchar;
1379         getws;
1380         isenglish;
1381         isideogram;
1382         isnumber;
1383         isphonogram;
1384         isspecial;
1385         iswalnum;
1386         iswalpha;
1387         iswcntrl;
1388         iswctype;
1389         iswdigit;
1390         iswgraph;
1391         iswlower;
1392         iswprint;
1393         iswpunct;
1394         iswspace;
1395         iswupper;
1396         iswxdigit;
1397         ____loc1;
1398         _longjmp;
1399         _lwp_sema_trywait;
1400         ntp_adjtime;
1401         _ntp_adjtime;
1402         ntp_gettime;
1403         _ntp_gettime;
1404         __posix_asctime_r;
1405         __posix_ctime_r;
1406         __posix_getgrgid_r;
1407         __posix_getgrnam_r;
1408         __posix_getlogin_r;
1409         __posix_getpwnam_r;
1410         __posix_getpwuid_r;
1411         __posix_sigwait;
1412         __posix_ttyname_r;
1413         pset_assign;
1414         pset_bind;
1415         pset_create;
1416         pset_destroy;
1417         pset_info;
1418         pthread_atfork;
1419         pthread_attr_destroy;
1420         pthread_attr_getdetachstate;
1421         pthread_attr_getinheritsched;
1422         pthread_attr_getschedparam;
1423         pthread_attr_getschedpolicy;
1424         pthread_attr_getscope;
1425         pthread_attr_getstackaddr;
1426         pthread_attr_getstacksize;
1427         pthread_attr_init;
1428         pthread_attr_setdetachstate;
1429         pthread_attr_setinheritsched;
1430         pthread_attr_setschedparam;
1431         pthread_attr_setschedpolicy;
1432         pthread_attr_setscope;
1433         pthread_attr_setstackaddr;
1434         pthread_attr_setstacksize;
1435         pthread_cancel;
1436         __pthread_cleanup_pop;
1437         __pthread_cleanup_push;
1438         pthread_create;
1439         pthread_detach;
1440         pthread_equal;
1441         pthread_exit;
1442         pthread_getschedparam;
1443         pthread_getspecific;
1444         pthread_join;
1445         pthread_key_create;
1446         pthread_key_delete;
1447         pthread_kill;
1448         pthread_once;
1449         pthread_self;
1450         pthread_setcancelstate;
1451         pthread_setcanceltype;
1452         pthread_setschedparam;
1453         pthread_setspecific;
1454         pthread_sigmask;
1455         pthread_testcancel;
1456         putwc;
1457         putwchar;
1458         putws;
1459         regcmp;
1460         regex;
1461         resolvepath;
1462         _resolvepath;
1463         rwlock_destroy          { FLAGS = NODYNSORT };
1464         _rwlock_destroy         { FLAGS = NODYNSORT };
1465         sema_destroy;
1466         _sema_destroy;
1467         _setjmp;
1468         setusershell;
1469         siginterrupt;
1470         sigstack;
1471         snprintf;
1472         strtows;
1473         sync_instruction_memory;
1474         textdomain;
1475         thr_main;
1476         towctrans;
1477         towlower;
1478         towupper;
1479         ungetwc;
1480         vsnprintf;
1481         watoll;
1482         wcscat;
1483         wcschr;
1484         wcscmp;
1485         wcscoll;
1486         wcscpy;
1487         wcscspn;
1488         wcsftime;
1489         wcslen;
1490         wcsncat;
1491         wcsncmp;
1492         wcsncpy;
1493         wcspbrk;
1494         wcsrchr;
1495         wcsspn;
1496         wcstod;
1497         wcstok;
1498         wcstol;
1499         wcstoul;
1500         wcswcs;
1501         wcswidth;
1502         wcsxfrm;
1503         wctrans;
1504         wctype;
1505         wcwidth;
1506         wscasecmp;
1507         wscat;
1508         wschr;
1509         wscmp;
1510         wscol;
1511         wscoll;
1512         wscpy;
1513         wscspn;
1514         wsdup;
1515         wslen;
1516         wsncasecmp;
1517         wsncat;
1518         wsncmp;
1519         wsncpy;
1520         wspbrk;
1521         wsprintf;
1522         wsrchr;
1523         wsscanf;
1524         wsspn;
1525         wstod;
1526         wstok;
1527         wstol;
1528         wstoll;
1529         wstostr;
1530         wsxfrm;
1531         __xpg4_putmsg;
1532         __xpg4_putpmsg;
1534 $if lf64
1535         creat64;
1536         fgetpos64;
1537         fopen64;
1538         freopen64;
1539         fseeko64;
1540         fsetpos64;
1541         fstat64;
1542         fstatvfs64;
1543         _fstatvfs64;
1544         ftello64;
1545         ftruncate64;
1546         _ftruncate64;
1547         ftw64;
1548         _ftw64;
1549         getdents64;
1550         _getdents64;
1551         getrlimit64;
1552         _getrlimit64;
1553         lockf64;
1554         lseek64;
1555         _lseek64;
1556         lstat64;
1557         mkstemp64;
1558         _mkstemp64;
1559         mmap64;
1560         _mmap64;
1561         nftw64;
1562         _nftw64;
1563         open64;
1564         __posix_readdir_r;
1565         pread64;
1566         pwrite64;
1567         readdir64;
1568         _readdir64;
1569         readdir64_r;
1570         _readdir64_r;
1571         setrlimit64;
1572         _setrlimit64;
1573         s_fcntl;
1574         _s_fcntl                { FLAGS = NODYNSORT };
1575         s_ioctl;
1576         stat64;
1577         statvfs64;
1578         _statvfs64;
1579         tell64;
1580         _tell64;
1581         tmpfile64;
1582         truncate64;
1583         _truncate64;
1584         _xftw64;
1585 $endif
1587 $if _sparc
1588         __flt_rounds;
1589 $endif
1590 } SUNW_0.9;
1592 SYMBOL_VERSION SUNW_0.9 {       # SunOS 5.5 (Solaris 2.5)
1593     protected:
1594         acl;
1595         bcmp;
1596         bcopy;
1597         bzero;
1598         facl;
1599         ftime;
1600         getdtablesize;
1601         gethostid;
1602         gethostname;
1603         getpagesize;
1604         getpriority;
1605         getrusage;
1606         getwd;
1607         index;
1608         initstate;
1609         killpg;
1610         _nsc_trydoorcall;
1611         pthread_condattr_destroy;
1612         pthread_condattr_getpshared;
1613         pthread_condattr_init;
1614         pthread_condattr_setpshared;
1615         pthread_cond_broadcast;
1616         pthread_cond_destroy;
1617         pthread_cond_init;
1618         pthread_cond_signal;
1619         pthread_cond_timedwait;
1620         pthread_cond_wait;
1621         pthread_mutexattr_destroy;
1622         pthread_mutexattr_getprioceiling;
1623         pthread_mutexattr_getprotocol;
1624         pthread_mutexattr_getpshared;
1625         pthread_mutexattr_init;
1626         pthread_mutexattr_setprioceiling;
1627         pthread_mutexattr_setprotocol;
1628         pthread_mutexattr_setpshared;
1629         pthread_mutex_destroy;
1630         pthread_mutex_getprioceiling;
1631         pthread_mutex_init;
1632         pthread_mutex_lock;
1633         pthread_mutex_setprioceiling;
1634         pthread_mutex_trylock;
1635         pthread_mutex_unlock;
1636         random;
1637         reboot;
1638         re_comp;
1639         re_exec;
1640         rindex;
1641         setbuffer;
1642         sethostname;
1643         setlinebuf;
1644         setpriority;
1645         setregid;
1646         setreuid;
1647         setstate;
1648         srandom;
1649         thr_min_stack;
1650         thr_stksegment;
1651         ualarm;
1652         usleep;
1653         wait3;
1654         wait4;
1655 } SUNW_0.8;
1657 SYMBOL_VERSION SUNW_0.8 {       # SunOS 5.4 (Solaris 2.4)
1658     global:
1659         __xpg4                  { FLAGS = NODIRECT };
1660     protected:
1661         addsev;
1662         cond_broadcast          { FLAGS = NODYNSORT };
1663         cond_destroy            { FLAGS = NODYNSORT };
1664         cond_init;
1665         cond_signal             { FLAGS = NODYNSORT };
1666         cond_timedwait;
1667         cond_wait;
1668         confstr;
1669         fnmatch;
1670         _getdate_err_addr;
1671         glob;
1672         globfree;
1673         iconv;
1674         iconv_close;
1675         iconv_open;
1676         lfmt;
1677         mutex_destroy           { FLAGS = NODYNSORT };
1678         mutex_init;
1679         mutex_lock              { FLAGS = NODYNSORT };
1680         mutex_trylock           { FLAGS = NODYNSORT };
1681         mutex_unlock            { FLAGS = NODYNSORT };
1682         pfmt;
1683         regcomp;
1684         regerror;
1685         regexec;
1686         regfree;
1687         rwlock_init;
1688         rw_rdlock               { FLAGS = NODYNSORT };
1689         rw_read_held;
1690         rw_tryrdlock            { FLAGS = NODYNSORT };
1691         rw_trywrlock            { FLAGS = NODYNSORT };
1692         rw_unlock               { FLAGS = NODYNSORT };
1693         rw_write_held;
1694         rw_wrlock               { FLAGS = NODYNSORT };
1695         sema_held;
1696         sema_init;
1697         sema_post;
1698         sema_trywait;
1699         sema_wait;
1700         setcat;
1701         sigfpe;
1702         strfmon;
1703         strptime;
1704         thr_continue;
1705         thr_create;
1706         thr_exit;
1707         thr_getconcurrency;
1708         thr_getprio;
1709         thr_getspecific;
1710         thr_join;
1711         thr_keycreate;
1712         thr_kill;
1713         thr_self                { FLAGS = NODYNSORT };
1714         thr_setconcurrency;
1715         thr_setprio;
1716         thr_setspecific;
1717         thr_sigsetmask;
1718         thr_suspend;
1719         thr_yield;
1720         vlfmt;
1721         vpfmt;
1722         wordexp;
1723         wordfree;
1724 } SUNW_0.7;
1726 SYMBOL_VERSION SUNW_0.7 {       # SunOS 5.3 (Solaris 2.3)
1727     global:
1728         altzone;
1729         _ctype;
1730         isnanf                  { TYPE = FUNCTION; FILTER = libm.so.2 };
1731         lone;
1732         lten;
1733         lzero;
1734         memalign                { FLAGS = NODIRECT };
1735         modff                   { TYPE = FUNCTION; FILTER = libm.so.2 };
1736         nss_default_finders;
1737         _sibuf;
1738         _sobuf;
1739         _sys_buslist;
1740         _sys_cldlist;
1741         _sys_fpelist;
1742         _sys_illlist;
1743         _sys_segvlist;
1744         _sys_siginfolistp;
1745         _sys_siglist;
1746         _sys_siglistn;
1747         _sys_siglistp;
1748         _sys_traplist;
1749         valloc                  { FLAGS = NODIRECT };
1751 $if _ELF32
1752         _bufendtab;
1753         _lastbuf;
1754         sys_errlist;
1755         sys_nerr;
1756         _sys_nsig;
1757 $endif
1759     protected:
1760         a64l;
1761         adjtime;
1762         ascftime;
1763         _assert;
1764         atoll;
1765         brk;
1766         __builtin_alloca;
1767         cftime;
1768         closelog;
1769         csetcol;
1770         csetlen;
1771         ctermid_r;
1772         dbm_close;
1773         dbm_delete;
1774         dbm_fetch;
1775         dbm_firstkey;
1776         dbm_nextkey;
1777         dbm_open;
1778         dbm_store;
1779         decimal_to_double;
1780         decimal_to_extended;
1781         decimal_to_quadruple;
1782         decimal_to_single;
1783         double_to_decimal;
1784         drand48;
1785         econvert;
1786         ecvt;
1787         endnetgrent;
1788         endspent;
1789         endutent;
1790         endutxent;
1791         erand48;
1792         euccol;
1793         euclen;
1794         eucscol;
1795         extended_to_decimal;
1796         fchroot;
1797         fconvert;
1798         fcvt;
1799         ffs;
1800         fgetspent;
1801         fgetspent_r;
1802         _filbuf;
1803         file_to_decimal;
1804         finite;
1805         _flsbuf;
1806         fork1                   { FLAGS = NODYNSORT };
1807         fpclass;
1808         fpgetmask;
1809         fpgetsticky;
1810         fpsetmask;
1811         fpsetsticky;
1812         fstatfs;
1813         ftruncate;
1814         ftw;
1815         func_to_decimal;
1816         gconvert;
1817         gcvt;
1818         getdents;
1819         gethrtime;
1820         gethrvtime;
1821         getmntany;
1822         getmntent;
1823         getnetgrent;
1824         getnetgrent_r;
1825         getpw;
1826         getspent;
1827         getspent_r;
1828         getspnam;
1829         getspnam_r;
1830         getutent;
1831         getutid;
1832         getutline;
1833         getutmp;
1834         getutmpx;
1835         getutxent;
1836         getutxid;
1837         getutxline;
1838         getvfsany;
1839         getvfsent;
1840         getvfsfile;
1841         getvfsspec;
1842         getwidth;
1843         gsignal;
1844         hasmntopt;
1845         innetgr;
1846         insque;
1847         _insque;
1848         jrand48;
1849         l64a;
1850         ladd;
1851         lckpwdf;
1852         lcong48;
1853         ldivide;
1854         lexp10;
1855         llabs;
1856         lldiv;
1857         llog10;
1858         llseek;
1859         lltostr;
1860         lmul;
1861         lrand48;
1862         lshiftl;
1863         lsub;
1864         _lwp_cond_broadcast;
1865         _lwp_cond_signal;
1866         _lwp_cond_timedwait;
1867         _lwp_cond_wait;
1868         _lwp_continue;
1869         _lwp_info;
1870         _lwp_kill;
1871         _lwp_mutex_lock;
1872         _lwp_mutex_trylock;
1873         _lwp_mutex_unlock;
1874         _lwp_self;
1875         _lwp_sema_init;
1876         _lwp_sema_post;
1877         _lwp_sema_wait;
1878         _lwp_suspend;
1879         madvise;
1880         __major;
1881         __makedev;
1882         mincore;
1883         __minor;
1884         mkstemp;
1885         _mkstemp;
1886         mlockall;
1887         mrand48;
1888         munlockall;
1889         _mutex_held             { FLAGS = NODYNSORT };
1890         _mutex_lock             { FLAGS = NODYNSORT };
1891         nrand48;
1892         _nss_netdb_aliases;
1893         _nss_XbyY_buf_alloc;
1894         _nss_XbyY_buf_free;
1895         __nsw_extended_action;
1896         __nsw_freeconfig;
1897         __nsw_getconfig;
1898         openlog;
1899         plock;
1900         p_online;
1901         pread;
1902         __priocntl;
1903         __priocntlset;
1904         processor_bind;
1905         processor_info;
1906         psiginfo;
1907         psignal;
1908         putpwent;
1909         putspent;
1910         pututline;
1911         pututxline;
1912         pwrite;
1913         qeconvert;
1914         qecvt;
1915         qfconvert;
1916         qfcvt;
1917         qgconvert;
1918         qgcvt;
1919         quadruple_to_decimal;
1920         realpath;
1921         remque;
1922         _remque;
1923         _rw_read_held;
1924         _rw_write_held;
1925         seconvert;
1926         seed48;
1927         select;
1928         _sema_held;
1929         setegid;
1930         seteuid;
1931         setlogmask;
1932         setnetgrent;
1933         setspent;
1934         settimeofday;
1935         setutent;
1936         setutxent;
1937         sfconvert;
1938         sgconvert;
1939         sig2str;
1940         sigwait;
1941         single_to_decimal;
1942         srand48;
1943         ssignal;
1944         statfs;
1945         str2sig;
1946         strcasecmp;
1947         string_to_decimal;
1948         strncasecmp;
1949         strsignal;
1950         strtoll;
1951         strtoull;
1952         swapctl;
1953         _syscall;
1954         sysfs;
1955         syslog;
1956         _syslog;
1957         tmpnam_r;
1958         truncate;
1959         ttyslot;
1960         uadmin;
1961         ulckpwdf;
1962         ulltostr;
1963         unordered;
1964         updwtmp;
1965         updwtmpx;
1966         ustat;
1967         utimes;
1968         utmpname;
1969         utmpxname;
1970         vfork;
1971         vhangup;
1972         vsyslog;
1973         yield;
1975 $if i386
1976         # Note: _syscall is also defined above. Here, we add the NODYNSORT
1977         # attribute to it. On this platform, it is an alias to syscall.
1978         # If that is changed, this lines should be removed.
1979         _syscall                { FLAGS = NODYNSORT };
1980 $endif
1982 # The 32-bit sparc ABI requires SISCD_2.3. On other platforms, those symbols
1983 # go directly into SUNW_0.7.
1984 $if sparc32
1985 } SISCD_2.3;
1987 SYMBOL_VERSION SISCD_2.3 {
1988 $endif
1990     global:
1991         errno                   { FLAGS = NODIRECT };
1993     protected:
1994         addseverity;
1995         _addseverity;
1996         asctime_r;
1997         crypt;
1998         _crypt;
1999         ctime_r;
2000         encrypt;
2001         _encrypt;
2002         endgrent;
2003         endpwent;
2004         ___errno;
2005         fgetgrent;
2006         fgetgrent_r;
2007         fgetpwent;
2008         flockfile;
2009         funlockfile;
2010         getchar_unlocked;
2011         getc_unlocked;
2012         getgrent;
2013         getgrent_r;
2014         getgrgid_r;
2015         getgrnam_r;
2016         getitimer;
2017         _getitimer;
2018         getlogin_r;
2019         getpwent;
2020         getpwnam_r;
2021         getpwuid_r;
2022         gettimeofday;
2023         _gettimeofday;
2024         gmtime_r;
2025         localtime_r;
2026         putchar_unlocked;
2027         putc_unlocked;
2028         rand_r;
2029         readdir_r;
2030         setgrent;
2031         setitimer;
2032         _setitimer;
2033         setkey;
2034         _setkey;
2035         setpwent;
2036         strtok_r;
2037         sysinfo;
2038         _sysinfo;
2039         ttyname_r;
2041 $if _ELF32
2042         __div64;
2043         __mul64;
2044         __rem64;
2045         __udiv64;
2046         __urem64;
2047 $endif
2049 $if sparc32
2050         __dtoll;
2051         __dtoull;
2052         __ftoll;
2053         __ftoull;
2054         _Q_lltoq;
2055         _Q_qtoll;
2056         _Q_qtoull;
2057         _Q_ulltoq;
2058         sbrk;
2059         _sbrk;
2060         __umul64                { FLAGS = NODYNSORT };  # Same address as __mul64
2061 $endif
2063 # On 32-bit platforms, the following symbols go into SYSVABI_1.3, but on
2064 # other platforms they go directly into the current version (which will be
2065 # either SUNW_0.7, or SISCD_2.3, depending on the similar issue described above.
2066 $if _ELF32
2067 } SYSVABI_1.3;
2069 SYMBOL_VERSION SYSVABI_1.3 {
2070 $endif
2072     global:
2073         _altzone;
2074         calloc                  { FLAGS = NODIRECT };
2075         __ctype;
2076         daylight;
2077         _daylight;
2078         environ                 { FLAGS = NODIRECT };
2079         _environ                { FLAGS = NODIRECT };
2080         free                    { FLAGS = NODIRECT };
2081         frexp                   { TYPE = FUNCTION; FILTER = libm.so.2 };
2082         getdate_err;
2083         _getdate_err;
2084         getenv;
2085         __huge_val;
2086         __stdinp;
2087         __stdoutp;
2088         __stderrp;
2089         isnan                   { TYPE = FUNCTION; FILTER = libm.so.2 };
2090         _isnan                  { TYPE = FUNCTION; FILTER = libm.so.2 };
2091         isnand                  { TYPE = FUNCTION; FILTER = libm.so.2 };
2092         _isnand                 { TYPE = FUNCTION; FILTER = libm.so.2 };
2093         ldexp                   { TYPE = FUNCTION; FILTER = libm.so.2 };
2094         logb                    { TYPE = FUNCTION; FILTER = libm.so.2 };
2095         malloc                  { FLAGS = NODIRECT };
2096         memcmp;
2097         memcpy;
2098         memmove;
2099         memset;
2100         modf                    { TYPE = FUNCTION; FILTER = libm.so.2 };
2101         _modf                   { TYPE = FUNCTION; FILTER = libm.so.2 };
2102         nextafter               { TYPE = FUNCTION; FILTER = libm.so.2 };
2103         _nextafter              { TYPE = FUNCTION; FILTER = libm.so.2 };
2104         _numeric;
2105         optarg;
2106         opterr;
2107         optind;
2108         optopt;
2109         realloc                 { FLAGS = NODIRECT };
2110         scalb                   { TYPE = FUNCTION; FILTER = libm.so.2 };
2111         _scalb                  { TYPE = FUNCTION; FILTER = libm.so.2 };
2112         timezone;
2113         _timezone;
2114         tzname;
2115         _tzname;
2116 $if i386
2117         _fp_hw;
2118 $endif
2120     protected:
2121         abort;
2122         abs;
2123         access;
2124         _access;
2125         acct;
2126         _acct;
2127         alarm;
2128         _alarm;
2129         asctime;
2130         __assert;
2131         atexit;
2132         atof;
2133         atoi;
2134         atol;
2135         bsearch;
2136         catclose;
2137         _catclose;
2138         catgets;
2139         _catgets;
2140         catopen;
2141         _catopen;
2142         cfgetispeed;
2143         _cfgetispeed;
2144         cfgetospeed;
2145         _cfgetospeed;
2146         cfsetispeed;
2147         _cfsetispeed;
2148         cfsetospeed;
2149         _cfsetospeed;
2150         chdir;
2151         _chdir;
2152         chmod;
2153         _chmod;
2154         chown;
2155         _chown;
2156         chroot;
2157         _chroot;
2158         _cleanup;
2159         clearerr;
2160         clock;
2161         close;
2162         closedir;
2163         _closedir;
2164         creat;
2165         ctermid;
2166         ctime;
2167         cuserid;
2168         _cuserid;
2169         difftime;
2170         div;
2171         dup;
2172         _dup;
2173         dup2;
2174         _dup2;
2175         execl;
2176         _execl;
2177         execle;
2178         _execle;
2179         execlp;
2180         _execlp;
2181         execv;
2182         _execv;
2183         execve;
2184         _execve;
2185         execvp;
2186         _execvp;
2187         exit;
2188         _exit;
2189         fattach;
2190         _fattach;
2191         fchdir;
2192         _fchdir;
2193         fchmod;
2194         _fchmod;
2195         fchown;
2196         _fchown;
2197         fclose;
2198         fcntl;
2199         fdetach;
2200         _fdetach;
2201         fdopen;
2202         _fdopen;
2203         feof;
2204         ferror;
2205         fflush;
2206         fgetc;
2207         fgetpos;
2208         fgets;
2209         __filbuf;
2210         fileno;
2211         _fileno;
2212         __flsbuf;
2213         fmtmsg;
2214         _fmtmsg;
2215         fopen;
2216         fork;
2217         fpathconf;
2218         _fpathconf;
2219         fprintf;
2220         fputc;
2221         fputs;
2222         fread;
2223         freopen;
2224         fscanf;
2225         fseek;
2226         fsetpos;
2227         fstat;
2228         fstatvfs;
2229         _fstatvfs;
2230         fsync;
2231         ftell;
2232         ftok;
2233         _ftok;
2234         fwrite;
2235         getc;
2236         getchar;
2237         getcontext;
2238         _getcontext;
2239         getcwd;
2240         _getcwd;
2241         getdate;
2242         _getdate;
2243         getegid;
2244         _getegid;
2245         geteuid;
2246         _geteuid;
2247         getgid;
2248         _getgid;
2249         getgrgid;
2250         getgrnam;
2251         getgroups;
2252         _getgroups;
2253         getlogin;
2254         getmsg;
2255         getopt;
2256         _getopt;
2257         getpass;
2258         _getpass;
2259         getpgid;
2260         _getpgid;
2261         getpgrp;
2262         _getpgrp;
2263         getpid;
2264         _getpid;
2265         getpmsg;
2266         getppid;
2267         _getppid;
2268         getpwnam;
2269         getpwuid;
2270         getrlimit;
2271         _getrlimit;
2272         gets;
2273         getsid;
2274         _getsid;
2275         getsubopt;
2276         _getsubopt;
2277         gettxt;
2278         _gettxt;
2279         getuid;
2280         _getuid;
2281         getw;
2282         _getw;
2283         gmtime;
2284         grantpt;
2285         _grantpt;
2286         hcreate;
2287         _hcreate;
2288         hdestroy;
2289         _hdestroy;
2290         hsearch;
2291         _hsearch;
2292         initgroups;
2293         _initgroups;
2294         ioctl;
2295         _ioctl;
2296         isalnum;
2297         isalpha;
2298         isascii;
2299         _isascii;
2300         isastream;
2301         _isastream;
2302         isatty;
2303         _isatty;
2304         iscntrl;
2305         isdigit;
2306         isgraph;
2307         islower;
2308         isprint;
2309         ispunct;
2310         isspace;
2311         isupper;
2312         isxdigit;
2313         kill;
2314         _kill;
2315         labs;
2316         lchown;
2317         _lchown;
2318         ldiv;
2319         lfind;
2320         _lfind;
2321         link;
2322         _link;
2323         localeconv;
2324         localtime;
2325         lockf;
2326         longjmp;
2327         lsearch;
2328         _lsearch;
2329         lseek;
2330         _lseek;
2331         lstat;
2332         makecontext;
2333         _makecontext;
2334         mblen;
2335         mbstowcs;
2336         mbtowc;
2337         memccpy;
2338         _memccpy;
2339         memchr;
2340         memcntl;
2341         _memcntl;
2342         mkdir;
2343         _mkdir;
2344         mkfifo;
2345         _mkfifo;
2346         mknod;
2347         _mknod;
2348         mktemp;
2349         _mktemp;
2350         mktime;
2351         mlock;
2352         _mlock;
2353         mmap;
2354         _mmap;
2355         monitor;
2356         _monitor;
2357         mount;
2358         _mount;
2359         mprotect;
2360         _mprotect;
2361         msgctl;
2362         _msgctl;
2363         msgget;
2364         _msgget;
2365         msgrcv;
2366         msgsnd;
2367         msync;
2368         munlock;
2369         _munlock;
2370         munmap;
2371         _munmap;
2372         nftw;
2373         _nftw;
2374         nice;
2375         _nice;
2376         nl_langinfo;
2377         _nl_langinfo;
2378         open;
2379         opendir;
2380         _opendir;
2381         pathconf;
2382         _pathconf;
2383         pause;
2384         pclose;
2385         _pclose;
2386         perror;
2387         pipe;
2388         _pipe;
2389         poll;
2390         _poll;
2391         popen;
2392         _popen;
2393         printf;
2394         profil;
2395         _profil;
2396         ptsname;
2397         _ptsname;
2398         putc;
2399         putchar;
2400         putenv;
2401         _putenv;
2402         putmsg;
2403         putpmsg;
2404         puts;
2405         putw;
2406         _putw;
2407         qsort;
2408         raise;
2409         rand;
2410         read;
2411         readdir;
2412         _readdir;
2413         readlink;
2414         _readlink;
2415         readv;
2416         remove;
2417         rename;
2418         _rename;
2419         rewind;
2420         rewinddir;
2421         _rewinddir;
2422         rmdir;
2423         _rmdir;
2424         scanf;
2425         seekdir;
2426         _seekdir;
2427         semctl;
2428         _semctl;
2429         semget;
2430         _semget;
2431         semop;
2432         _semop;
2433         setbuf;
2434         setcontext;
2435         _setcontext             { FLAGS = NODYNSORT };
2436         setgid;
2437         _setgid;
2438         setgroups;
2439         _setgroups;
2440         setjmp;
2441         setlabel;
2442         setlocale;
2443         setpgid;
2444         _setpgid;
2445         setpgrp;
2446         _setpgrp;
2447         setrlimit;
2448         _setrlimit;
2449         setsid;
2450         _setsid;
2451         setuid;
2452         _setuid;
2453         setvbuf;
2454         shmat;
2455         _shmat;
2456         shmctl;
2457         _shmctl;
2458         shmdt;
2459         _shmdt;
2460         shmget;
2461         _shmget;
2462         sigaction;
2463         _sigaction              { FLAGS = NODYNSORT };
2464         sigaddset;
2465         _sigaddset;
2466         sigaltstack;
2467         _sigaltstack;
2468         sigdelset;
2469         _sigdelset;
2470         sigemptyset;
2471         _sigemptyset;
2472         sigfillset;
2473         _sigfillset;
2474         sighold;
2475         _sighold;
2476         sigignore;
2477         _sigignore;
2478         sigismember;
2479         _sigismember;
2480         siglongjmp;
2481         _siglongjmp;
2482         signal;
2483         sigpause;
2484         sigpending;
2485         _sigpending;
2486         sigprocmask;
2487         _sigprocmask;
2488         sigrelse;
2489         _sigrelse;
2490         sigsend;
2491         _sigsend;
2492         sigsendset;
2493         _sigsendset;
2494         sigset;
2495         _sigset;
2496         sigsetjmp;
2497         _sigsetjmp              { FLAGS = NODYNSORT };
2498         sigsuspend;
2499         sleep;
2500         sprintf;
2501         srand;
2502         sscanf;
2503         stat;
2504         statvfs;
2505         _statvfs;
2506         stime;
2507         _stime;
2508         strcat;
2509         strchr;
2510         strcmp;
2511         strcoll;
2512         strcpy;
2513         strcspn;
2514         strdup;
2515         _strdup;
2516         strerror;
2517         strftime;
2518         strlen;
2519         strncat;
2520         strncmp;
2521         strncpy;
2522         strpbrk;
2523         strrchr;
2524         strspn;
2525         strstr;
2526         strtod;
2527         strtok;
2528         strtol;
2529         strtoul;
2530         strxfrm;
2531         swab;
2532         _swab;
2533         swapcontext;
2534         _swapcontext;
2535         symlink;
2536         _symlink;
2537         sync;
2538         _sync;
2539         sysconf;
2540         _sysconf;
2541         system;
2542         tcdrain;
2543         tcflow;
2544         _tcflow;
2545         tcflush;
2546         _tcflush;
2547         tcgetattr;
2548         _tcgetattr;
2549         tcgetpgrp;
2550         _tcgetpgrp;
2551         tcgetsid;
2552         _tcgetsid;
2553         tcsendbreak;
2554         _tcsendbreak;
2555         tcsetattr;
2556         _tcsetattr;
2557         tcsetpgrp;
2558         _tcsetpgrp;
2559         tdelete;
2560         _tdelete;
2561         tell;
2562         _tell;
2563         telldir;
2564         _telldir;
2565         tempnam;
2566         _tempnam;
2567         tfind;
2568         _tfind;
2569         time;
2570         _time;
2571         times;
2572         _times;
2573         tmpfile;
2574         tmpnam;
2575         toascii;
2576         _toascii;
2577         tolower;
2578         _tolower;
2579         toupper;
2580         _toupper;
2581         tsearch;
2582         _tsearch;
2583         ttyname;
2584         twalk;
2585         _twalk;
2586         tzset;
2587         _tzset;
2588         ulimit;
2589         _ulimit;
2590         umask;
2591         _umask;
2592         umount;
2593         _umount;
2594         uname;
2595         ungetc;
2596         unlink;
2597         _unlink;
2598         unlockpt;
2599         _unlockpt;
2600         utime;
2601         _utime;
2602         vfprintf;
2603         vprintf;
2604         vsprintf;
2605         wait;
2606         _wait;
2607         waitid;
2608         waitpid;
2609         _waitpid;
2610         wcstombs;
2611         wctomb;
2612         write;
2613         writev;
2614         _xftw;
2616 $if _ELF32
2617         ptrace;
2618         _ptrace;
2619 $endif
2621 $if i386
2622         _fxstat;
2623         _lxstat;
2624         _nuname;
2625         _xmknod;
2626         _xstat;
2627 $endif
2629 $if !sparc32
2630         sbrk;
2631 $endif
2633 $if _sparc
2634         __dtou;
2635         __ftou;
2636 $endif
2638 $if sparc32
2639         .div;
2640         .mul;
2641         .rem;
2642         .stret1;
2643         .stret2;
2644         .stret4;
2645         # .stret4 and .stret8 are the same thing
2646         .stret8                 { FLAGS = NODYNSORT };
2647         .udiv;
2648         .umul;
2649         .urem;
2650         _Q_add;
2651         _Q_cmp;
2652         _Q_cmpe;
2653         _Q_div;
2654         _Q_dtoq;
2655         _Q_feq;
2656         _Q_fge;
2657         _Q_fgt;
2658         _Q_fle;
2659         _Q_flt;
2660         _Q_fne;
2661         _Q_itoq;
2662         _Q_mul;
2663         _Q_neg;
2664         _Q_qtod;
2665         _Q_qtoi;
2666         _Q_qtos;
2667         _Q_qtou;
2668         _Q_sqrt;
2669         _Q_stoq;
2670         _Q_sub;
2671         _Q_utoq;
2672 $endif
2674 $if sparcv9
2675         # __align_cpy_1 is an alias for memcpy. Filter it out of
2676         # the .SUNW_dynsymsort section
2677         __align_cpy_1           { FLAGS = NODYNSORT };
2678         __align_cpy_16;
2679         __align_cpy_2;
2680         __align_cpy_4;
2681         # __align_cpy_8 is same as __align_cpy_16
2682         __align_cpy_8           { FLAGS = NODYNSORT };
2683         __dtoul;
2684         __ftoul;
2685         _Qp_add;
2686         _Qp_cmp;
2687         _Qp_cmpe;
2688         _Qp_div;
2689         _Qp_dtoq;
2690         _Qp_feq;
2691         _Qp_fge;
2692         _Qp_fgt;
2693         _Qp_fle;
2694         _Qp_flt;
2695         _Qp_fne;
2696         _Qp_itoq;
2697         _Qp_mul;
2698         _Qp_neg;
2699         _Qp_qtod;
2700         _Qp_qtoi;
2701         _Qp_qtos;
2702         _Qp_qtoui;
2703         _Qp_qtoux;
2704         _Qp_qtox;
2705         _Qp_sqrt;
2706         _Qp_stoq;
2707         _Qp_sub;
2708         _Qp_uitoq;
2709         _Qp_uxtoq;
2710         _Qp_xtoq;
2711         __sparc_utrap_install;
2712 $endif
2714 # On amd64, we also have SYSVABI_1.3, but it contains a small subset of
2715 # the symbols put in that version on other platforms.
2716 $if amd64
2717 } SYSVABI_1.3;
2719 SYMBOL_VERSION SYSVABI_1.3 { 
2720 $endif
2721     global:
2722 $if !_sparc
2723         __flt_rounds;
2724 $endif
2726     protected:
2727         _ctermid;
2728         _getgrgid;
2729         _getgrnam;
2730         _getlogin;
2731         _getpwnam;
2732         _getpwuid;
2733         _ttyname;
2735 $if !sparc32
2736         _sbrk;
2737 $endif
2739 $if _x86
2740         _fpstart;
2741         __fpstart;
2742 $endif
2747 # There should never be more than one SUNWprivate version.
2748 # Don't add any more.  Add new private symbols to SUNWprivate_1.1
2750 SYMBOL_VERSION SUNWprivate_1.1 {
2751     global:
2752         ___Argv                 { FLAGS = NODIRECT };
2753         cfree                   { FLAGS = NODIRECT };
2754         _cswidth;
2755         __ctype_mask;
2756         __environ_lock          { FLAGS = NODIRECT };
2757         __inf_read;
2758         __inf_written;
2759         __i_size;
2760         _isnanf                 { TYPE = FUNCTION; FILTER = libm.so.2 };
2761         __iswrune;
2762         __libc_threaded;
2763         _lib_version            { FLAGS = NODIRECT };
2764         _logb                   { TYPE = FUNCTION; FILTER = libm.so.2 };
2765         _lone                   { FLAGS = NODYNSORT };
2766         _lten                   { FLAGS = NODYNSORT };
2767         _lzero                  { FLAGS = NODYNSORT };
2768         __malloc_lock;
2769         _memcmp;
2770         _memcpy                 { FLAGS = NODYNSORT };
2771         _memmove;
2772         _memset;
2773         _modff                  { TYPE = FUNCTION; FILTER = libm.so.2 };
2774         __nan_read;
2775         __nan_written;
2776         __nextwctype;
2777         __nis_debug_bind;
2778         __nis_debug_calls;
2779         __nis_debug_file;
2780         __nis_debug_rpc;
2781         __nis_prefsrv;
2782         __nis_preftype;
2783         __nis_server;
2784         _nss_default_finders;
2785         __progname              { FLAGS = NODIRECT };
2786         _smbuf;
2787         _sp;
2788         __strdupa_str           { FLAGS = NODIRECT };
2789         __strdupa_len           { FLAGS = NODIRECT };
2790         _tdb_bootstrap;
2791         __threaded;
2792         thr_probe_getfunc_addr;
2793         __trans_lower;
2794         __trans_upper;
2795         _uberdata;
2796         __xpg6                  { FLAGS = NODIRECT };
2798         # FIXME: these data symbols originally from libnsl are marked private
2799         # (at least) until we get a name for our OS
2800         _null_auth;
2801         authdes_lock;
2802         h_errno                 { FLAGS = NODIRECT };
2803         in6addr_any;
2804         in6addr_loopback;
2805         svc_fdset;
2806         svc_max_pollfd;
2807         svc_pollfd;
2808         t_nerr;
2809         __key_decryptsession_pk_LOCAL;
2810         __key_encryptsession_pk_LOCAL;
2811         __key_gendes_LOCAL;
2812         __nsl_dom;
2813         _nderror;
2814 $if _ELF32
2815         _new_svc_fdset;
2816 $endif
2817         _svc_getreqset_proc;
2818         rpc_createerr;
2819         t_errlist;
2820         t_errno;
2821         tiusr_statetbl;
2823 $if _ELF32
2824         _dladdr                 { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2825         _dladdr1                { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2826         _dlclose                { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2827         _dldump                 { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2828         _dlerror                { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2829         _dlinfo                 { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2830         _dlmopen                { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2831         _dlopen                 { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2832         _dlsym                  { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2833         _ld_libc                { TYPE = FUNCTION; FILTER = /usr/lib/ld.so.1 };
2834         _sys_errlist;
2835         _sys_errs;
2836         _sys_index;
2837         _sys_nerr               { FLAGS = NODYNSORT };
2838         _sys_num_err;
2839 $elif sparcv9
2840         _dladdr         { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2841         _dladdr1        { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2842         _dlclose        { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2843         _dldump         { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2844         _dlerror        { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2845         _dlinfo         { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2846         _dlmopen        { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2847         _dlopen         { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2848         _dlsym          { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2849         _ld_libc        { TYPE = FUNCTION; FILTER = /usr/lib/sparcv9/ld.so.1 };
2850 $elif amd64
2851         _dladdr         { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2852         _dladdr1        { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2853         _dlamd64getunwind { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2854         _dlclose        { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2855         _dldump         { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2856         _dlerror        { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2857         _dlinfo         { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2858         _dlmopen        { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2859         _dlopen         { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2860         _dlsym          { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2861         _ld_libc        { TYPE = FUNCTION; FILTER = /usr/lib/amd64/ld.so.1 };
2862 $else
2863 $error unknown platform
2864 $endif
2866 $if _sparc
2867         __lyday_to_month;
2868         __mon_lengths;
2869         __yday_to_month;
2870 $endif
2871 $if i386
2872         _sse_hw;
2873 $endif
2875     protected:
2876         acctctl;
2877         allocids;
2878         _assert_c99;
2879         __assert_c99;
2880         _assfail;
2881         attr_count;
2882         attr_to_data_type;
2883         attr_to_name;
2884         attr_to_option;
2885         attr_to_xattr_view;     
2886         _autofssys;
2887         _bufsync;
2888         __class_quadruple;
2889         core_get_default_content;
2890         core_get_default_path;
2891         core_get_global_content;
2892         core_get_global_path;
2893         core_get_options;
2894         core_get_process_content;
2895         core_get_process_path;
2896         core_set_default_content;
2897         core_set_default_path;
2898         core_set_global_content;
2899         core_set_global_path;
2900         core_set_options;
2901         core_set_process_content;
2902         core_set_process_path;
2903         dbm_close_status;
2904         dbm_do_nextkey;
2905         dbm_setdefwrite;
2906         _D_cplx_div;
2907         _D_cplx_div_ix;
2908         _D_cplx_div_rx;
2909         _D_cplx_mul;
2910         defclose_r;
2911         defcntl;
2912         defcntl_r;
2913         defopen;
2914         defopen_r;
2915         defread;
2916         defread_r;
2917         _delete;
2918         _dgettext;
2919         _doprnt;
2920         _doscan;
2921         _errfp;
2922         _errxfp;
2923         execvpe;
2924         exportfs;
2925         _F_cplx_div;
2926         _F_cplx_div_ix;
2927         _F_cplx_div_rx;
2928         _F_cplx_mul;
2929         __fgetwc_xpg5;
2930         __fgetws_xpg5;
2931         _findbuf;
2932         _findiop;
2933         __fini_daemon_priv;
2934         _finite;
2935         _fpclass;
2936         _fpgetmask;
2937         _fpgetround;
2938         _fpgetsticky;
2939         _fprintf;
2940         _fpsetmask;
2941         _fpsetround;
2942         _fpsetsticky;
2943         __fputwc_xpg5;
2944         __fputws_xpg5;
2945         _ftw;
2946         _gcvt;
2947         _getarg;
2948         __getcontext;
2949         _getdents;
2950         _get_exit_frame_monitor;
2951         _getfp;
2952         _getgroupsbymember;
2953         _getlogin_r;
2954         getrandom;
2955         _getsp;
2956         __gettsp;
2957         getvmusage;
2958         __getwchar_xpg5;
2959         __getwc_xpg5;
2960         gtty;
2961         __idmap_flush_kcache;
2962         __idmap_reg;
2963         __idmap_unreg;
2964         __init_daemon_priv;
2965         __init_suid_priv;
2966         _insert;
2967         inst_sync;
2968         _iswctype;
2969         klpd_create;
2970         klpd_getpath;
2971         klpd_getport;
2972         klpd_getucred;
2973         klpd_register;
2974         klpd_register_id;
2975         klpd_unregister;
2976         klpd_unregister_id;
2977         _lgrp_home_fast         { FLAGS = NODYNSORT };
2978         _lgrpsys;
2979         _lltostr;
2980         _lock_clear;
2981         _lock_try;
2982         _ltzset;
2983         lwp_self;
2984         makeut;
2985         makeutx;
2986         _mbftowc;
2987         mcfiller;
2988         mntopt;
2989         modctl;
2990         modutx;
2991         msgctl64;
2992         __multi_innetgr;
2993         _mutex_destroy          { FLAGS = NODYNSORT };
2994         mutex_enter;
2995         mutex_exit;
2996         mutex_held;
2997         _mutex_init             { FLAGS = NODYNSORT };
2998         _mutex_unlock           { FLAGS = NODYNSORT };
2999         name_to_attr;
3000         nfs_getfh;
3001         nfssvc;
3002         _nfssys;
3003         __nis_get_environment;
3004         _nss_db_state_destr;
3005         nss_default_key2str;
3006         nss_delete;
3007         nss_endent;
3008         nss_getent;
3009         _nss_initf_group;
3010         _nss_initf_netgroup;
3011         _nss_initf_passwd;
3012         _nss_initf_shadow;
3013         nss_packed_arg_init;
3014         nss_packed_context_init;
3015         nss_packed_getkey;
3016         nss_packed_set_status;
3017         nss_search;
3018         nss_setent;
3019         _nss_XbyY_fgets;
3020         _nss_XbyY_fini;
3021         __nsw_extended_action_v1;
3022         __nsw_freeconfig_v1;
3023         __nsw_getconfig_v1;
3024         __nthreads;
3025         __openattrdirat;
3026         option_to_attr;
3027         __priv_bracket;
3028         __priv_relinquish;
3029         psecflags;
3030         pset_assign_forced;
3031         pset_bind_lwp;
3032         _psignal;
3033         pthread_attr_getdaemonstate_np;
3034         pthread_attr_setdaemonstate_np;
3035         _pthread_setcleanupinit;
3036         __putwchar_xpg5;
3037         __putwc_xpg5;
3038         rctlctl;
3039         rctllist;
3040         _realbufend;
3041         _resume;
3042         _resume_ret;
3043         _rpcsys;
3044         _sbrk_grow_aligned;
3045         scrwidth;
3046         secflag_by_name;
3047         secflag_clear;
3048         secflags_copy;
3049         secflags_difference;
3050         secflags_fullset;
3051         secflags_intersection;
3052         secflags_isempty;
3053         secflag_isset;
3054         secflags_issubset;
3055         secflags_issuperset;
3056         secflag_set;
3057         secflag_to_bit;
3058         secflag_to_str;
3059         secflags_union;
3060         psecflags_validate_delta;
3061         secflags_zero;
3062         psecflags_default;
3063         secflags_parse;
3064         secflags_to_str;
3065         psecflags_validate;
3066         semctl64;
3067         _semctl64;
3068         set_setcontext_enforcement;
3069         _setbufend;
3070         __set_errno;
3071         setprojrctl;
3072         _setregid;
3073         _setreuid;
3074         setsigacthandler;
3075         shmctl64;
3076         _shmctl64;
3077         sigflag;
3078         _signal;
3079         _sigoff;
3080         _sigon;
3081         _so_accept;
3082         _so_bind;
3083         _sockconfig;
3084         _so_connect;
3085         _so_getpeername;
3086         _so_getsockname;
3087         _so_getsockopt;
3088         _so_listen;
3089         _so_recv;
3090         _so_recvfrom;
3091         _so_recvmsg;
3092         _so_send;
3093         _so_sendmsg;
3094         _so_sendto;
3095         _so_setsockopt;
3096         _so_shutdown;
3097         _so_socket;
3098         _so_socketpair;
3099         str2group;
3100         str2passwd;
3101         str2spwd;
3102         __strptime_dontzero;
3103         stty;
3104         syscall;
3105         _sysconfig;
3106         __systemcall;
3107         thr_continue_allmutators;
3108         _thr_continue_allmutators;
3109         thr_continue_mutator;
3110         _thr_continue_mutator;
3111         thr_getstate;
3112         _thr_getstate;
3113         thr_mutators_barrier;
3114         _thr_mutators_barrier;
3115         thr_probe_setup;
3116         _thr_schedctl;
3117         thr_setmutator;
3118         _thr_setmutator;
3119         thr_setstate;
3120         _thr_setstate;
3121         thr_sighndlrinfo;
3122         _thr_sighndlrinfo;
3123         _thr_slot_offset;
3124         thr_suspend_allmutators;
3125         _thr_suspend_allmutators;
3126         thr_suspend_mutator;
3127         _thr_suspend_mutator;
3128         thr_wait_mutator;
3129         _thr_wait_mutator;
3130         __tls_get_addr;
3131         _tmem_get_base;
3132         _tmem_get_nentries;
3133         _tmem_set_cleanup;
3134         tpool_create;
3135         tpool_dispatch;
3136         tpool_destroy;
3137         tpool_wait;
3138         tpool_suspend;
3139         tpool_suspended;
3140         tpool_resume;
3141         tpool_member;
3142         _ttyname_dev;
3143         _ucred_alloc;
3144         ucred_getamask;
3145         _ucred_getamask;
3146         ucred_getasid;
3147         _ucred_getasid;
3148         ucred_getatid;
3149         _ucred_getatid;
3150         ucred_getauid;
3151         _ucred_getauid;
3152         _ulltostr;
3153         _uncached_getgrgid_r;
3154         _uncached_getgrnam_r;
3155         _uncached_getpwnam_r;
3156         _uncached_getpwuid_r;
3157         __ungetwc_xpg5;
3158         _unordered;
3159         utssys;
3160         _verrfp;
3161         _verrxfp;
3162         _vwarnfp;
3163         _vwarnxfp;
3164         _warnfp;
3165         _warnxfp;
3166         __wcsftime_xpg5;
3167         __wcstok_xpg5;
3168         wdbindf;
3169         wdchkind;
3170         wddelim;
3171         _wrtchk;
3172         _xflsbuf;
3173         _xgetwidth;
3174         zone_add_datalink;
3175         zone_boot;
3176         zone_check_datalink;
3177         zone_create;
3178         zone_destroy;
3179         zone_enter;
3180         zone_getattr;
3181         zone_get_id;
3182         zone_list;
3183         zone_list_datalink;
3184         zonept;
3185         zone_remove_datalink;
3186         zone_setattr;
3187         zone_shutdown;
3188         zone_version;
3190 $if _ELF32
3191         __divdi3;
3192         _file_set;
3193         _fprintf_c89;
3194         _fscanf_c89;
3195         _fwprintf_c89;
3196         _fwscanf_c89;
3197         _imaxabs_c89;
3198         _imaxdiv_c89;
3199         __moddi3;
3200         _printf_c89;
3201         _scanf_c89;
3202         _snprintf_c89;
3203         _sprintf_c89;
3204         _sscanf_c89;
3205         _strtoimax_c89;
3206         _strtoumax_c89;
3207         _swprintf_c89;
3208         _swscanf_c89;
3209         __udivdi3;
3210         __umoddi3;
3211         _vfprintf_c89;
3212         _vfscanf_c89;
3213         _vfwprintf_c89;
3214         _vfwscanf_c89;
3215         _vprintf_c89;
3216         _vscanf_c89;
3217         _vsnprintf_c89;
3218         _vsprintf_c89;
3219         _vsscanf_c89;
3220         _vswprintf_c89;
3221         _vswscanf_c89;
3222         _vwprintf_c89;
3223         _vwscanf_c89;
3224         _wcstoimax_c89;
3225         _wcstoumax_c89;
3226         _wprintf_c89;
3227         _wscanf_c89;
3228 $endif
3230 $if _sparc
3231         _cerror;
3232         install_utrap;
3233         _install_utrap;
3234         nop;
3235         _Q_cplx_div;
3236         _Q_cplx_div_ix;
3237         _Q_cplx_div_rx;
3238         _Q_cplx_lr_div;
3239         _Q_cplx_lr_div_ix;
3240         _Q_cplx_lr_div_rx;
3241         _Q_cplx_lr_mul;
3242         _Q_cplx_mul;
3243         _QgetRD;
3244         _xregs_clrptr;
3245 $endif
3247 $if sparc32
3248         __ashldi3;
3249         __ashrdi3;
3250         _cerror64;
3251         __cmpdi2;
3252         __floatdidf;
3253         __floatdisf;
3254         __floatundidf;
3255         __floatundisf;
3256         __lshrdi3;
3257         __muldi3;
3258         __ucmpdi2;
3259 $endif
3261 $if _x86
3262         _D_cplx_lr_div;
3263         _D_cplx_lr_div_ix;
3264         _D_cplx_lr_div_rx;
3265         _F_cplx_lr_div;
3266         _F_cplx_lr_div_ix;
3267         _F_cplx_lr_div_rx;
3268         __fltrounds;
3269         sysi86;
3270         _sysi86;
3271         _X_cplx_div;
3272         _X_cplx_div_ix;
3273         _X_cplx_div_rx;
3274         _X_cplx_lr_div;
3275         _X_cplx_lr_div_ix;
3276         _X_cplx_lr_div_rx;
3277         _X_cplx_mul;
3278         __xgetRD;
3279         __xtol;
3280         __xtoll;
3281         __xtoul;
3282         __xtoull;
3283 $endif
3285 $if i386
3286         __divrem64;
3287         ___tls_get_addr;
3288         __udivrem64;
3289 $endif
3291 # The following functions should not be exported from libc,
3292 # but /lib/libm.so.2, some older versions of the Studio
3293 # compiler/debugger components, and some ancient programs
3294 # found in /usr/dist reference them.  When we no longer
3295 # care about these old and broken binary objects, these
3296 # symbols should be deleted.
3297         _brk                                    { FLAGS = NODYNSORT };
3298         _cond_broadcast                         { FLAGS = NODYNSORT };
3299         _cond_init                              { FLAGS = NODYNSORT };
3300         _cond_signal                            { FLAGS = NODYNSORT };
3301         _cond_wait                              { FLAGS = NODYNSORT };
3302         _ecvt                                   { FLAGS = NODYNSORT };
3303         _fcvt                                   { FLAGS = NODYNSORT };
3304         _getc_unlocked                          { FLAGS = NODYNSORT };
3305         _llseek                                 { FLAGS = NODYNSORT };
3306         _pthread_attr_getdetachstate            { FLAGS = NODYNSORT };
3307         _pthread_attr_getinheritsched           { FLAGS = NODYNSORT };
3308         _pthread_attr_getschedparam             { FLAGS = NODYNSORT };
3309         _pthread_attr_getschedpolicy            { FLAGS = NODYNSORT };
3310         _pthread_attr_getscope                  { FLAGS = NODYNSORT };
3311         _pthread_attr_getstackaddr              { FLAGS = NODYNSORT };
3312         _pthread_attr_getstacksize              { FLAGS = NODYNSORT };
3313         _pthread_attr_init                      { FLAGS = NODYNSORT };
3314         _pthread_condattr_getpshared            { FLAGS = NODYNSORT };
3315         _pthread_condattr_init                  { FLAGS = NODYNSORT };
3316         _pthread_cond_init                      { FLAGS = NODYNSORT };
3317         _pthread_create                         { FLAGS = NODYNSORT };
3318         _pthread_getschedparam                  { FLAGS = NODYNSORT };
3319         _pthread_join                           { FLAGS = NODYNSORT };
3320         _pthread_key_create                     { FLAGS = NODYNSORT };
3321         _pthread_mutexattr_getprioceiling       { FLAGS = NODYNSORT };
3322         _pthread_mutexattr_getprotocol          { FLAGS = NODYNSORT };
3323         _pthread_mutexattr_getpshared           { FLAGS = NODYNSORT };
3324         _pthread_mutexattr_init                 { FLAGS = NODYNSORT };
3325         _pthread_mutex_getprioceiling           { FLAGS = NODYNSORT };
3326         _pthread_mutex_init                     { FLAGS = NODYNSORT };
3327         _pthread_sigmask                        { FLAGS = NODYNSORT };
3328         _rwlock_init                            { FLAGS = NODYNSORT };
3329         _rw_rdlock                              { FLAGS = NODYNSORT };
3330         _rw_unlock                              { FLAGS = NODYNSORT };
3331         _rw_wrlock                              { FLAGS = NODYNSORT };
3332         _sbrk_unlocked                          { FLAGS = NODYNSORT };
3333         _select                                 { FLAGS = NODYNSORT };
3334         _sema_init                              { FLAGS = NODYNSORT };
3335         _sema_post                              { FLAGS = NODYNSORT };
3336         _sema_trywait                           { FLAGS = NODYNSORT };
3337         _sema_wait                              { FLAGS = NODYNSORT };
3338         _sysfs                                  { FLAGS = NODYNSORT };
3339         _thr_create                             { FLAGS = NODYNSORT };
3340         _thr_exit                               { FLAGS = NODYNSORT };
3341         _thr_getprio                            { FLAGS = NODYNSORT };
3342         _thr_getspecific                        { FLAGS = NODYNSORT };
3343         _thr_join                               { FLAGS = NODYNSORT };
3344         _thr_keycreate                          { FLAGS = NODYNSORT };
3345         _thr_kill                               { FLAGS = NODYNSORT };
3346         _thr_main                               { FLAGS = NODYNSORT };
3347         _thr_self                               { FLAGS = NODYNSORT };
3348         _thr_setspecific                        { FLAGS = NODYNSORT };
3349         _thr_sigsetmask                         { FLAGS = NODYNSORT };
3350         _thr_stksegment                         { FLAGS = NODYNSORT };
3351         _ungetc_unlocked                        { FLAGS = NODYNSORT };
3353 # FIXME: pending a name for our OS, these symbols originally from libsocket are
3354 # marked private.
3355         ether_aton_r;
3356         ether_ntoa_r;
3357         accept4;
3358         freeifaddrs;
3359         getifaddrs;
3360         getipv4sourcefilter;
3361         getsourcefilter;
3362         setipv4sourcefilter;
3363         setsourcefilter;
3364         inet6_opt_append;
3365         inet6_opt_find;
3366         inet6_opt_finish;
3367         inet6_opt_get_val;
3368         inet6_opt_init;
3369         inet6_opt_next;
3370         inet6_opt_set_val;
3371         inet6_rth_add;
3372         inet6_rth_getaddr;
3373         inet6_rth_init;
3374         inet6_rth_reverse;
3375         inet6_rth_segments;
3376         inet6_rth_space;
3377         sockatmark;
3378         __xnet_getaddrinfo;
3379         freeaddrinfo;
3380         gai_strerror;
3381         getaddrinfo;
3382         getnameinfo;
3383         if_freenameindex;
3384         if_indextoname;
3385         if_nameindex;
3386         if_nametoindex;
3387         __xnet_bind;
3388         __xnet_connect;
3389         __xnet_getsockopt;
3390         __xnet_listen;
3391         __xnet_recvmsg;
3392         __xnet_sendmsg;
3393         __xnet_sendto;
3394         __xnet_socket;
3395         __xnet_socketpair;
3396         endnetent;
3397         endprotoent;
3398         endservent;
3399         ether_aton;
3400         ether_hostton;
3401         ether_line;
3402         ether_ntoa;
3403         ether_ntohost;
3404         getnetbyaddr;
3405         getnetbyaddr_r;
3406         getnetbyname;
3407         getnetbyname_r;
3408         getnetent;
3409         getnetent_r;
3410         getprotobyname_r;
3411         getprotobynumber_r;
3412         getprotoent_r;
3413         getservbyname_r;
3414         getservbyport_r;
3415         getservent;
3416         getservent_r;
3417         setnetent;
3418         setprotoent;
3419         setservent;
3420         socketpair;
3421         accept;
3422         bind;
3423         connect;
3424         getpeername;
3425         getprotobyname;
3426         getprotobynumber;
3427         getprotoent;
3428         getservbyname;
3429         getservbyport;
3430         getsockname;
3431         getsockopt;
3432         inet_lnaof;
3433         inet_makeaddr;
3434         inet_network;
3435         listen;
3436         recv;
3437         recvfrom;
3438         recvmsg;
3439         send;
3440         sendmsg;
3441         sendto;
3442         setsockopt;
3443         shutdown;
3444         socket;
3445 # These were private in libsocket and should stay that way in libc:
3446         _link_aton;
3447         _link_ntoa;
3448         _nss_initf_ethers;
3449         _nss_initf_net;
3450         _nss_initf_netmasks;
3451         _nss_initf_proto;
3452         _nss_initf_services;
3453         getallifaddrs;
3454         getallifs;
3455         str2ether;
3456         str2addr;
3457         str2netent;
3458         str2protoent;
3459         getnetmaskbyaddr;
3460         getnetmaskbynet;
3461         bindresvport;
3462         bootparams_getbyname;
3463         _ruserpass;
3464 # FIXME: pending a name for our OS, these symbols originally from libnsl are
3465 # marked private.
3466         inet_aton;
3467         freeipsecalgent;
3468         getipsecalgbyname;
3469         getipsecalgbynum;
3470         getipsecprotobyname;
3471         getipsecprotobynum;
3472         svc_fd_negotiate_ucred;
3473         svc_getcallerucred;
3474         clnt_send;
3475         svc_add_input;
3476         svc_remove_input;
3477         freehostent;
3478         getipnodebyaddr;
3479         getipnodebyname;
3480         inet_ntop;
3481         inet_pton;
3482         _xti_rcvreldata;
3483         _xti_rcvv;
3484         _xti_rcvvudata;
3485         _xti_sndreldata;
3486         _xti_sndv;
3487         _xti_sndvudata;
3488         _xti_sysconf;
3489         _xti_xns5_accept;
3490         _xti_xns5_snd;
3491         clnt_create_vers_timed;
3492         clnt_door_create;
3493         rpc_gss_getcred;
3494         rpc_gss_get_error;
3495         rpc_gss_get_mechanisms;
3496         rpc_gss_get_mech_info;
3497         rpc_gss_get_principal_name;
3498         rpc_gss_get_versions;
3499         rpc_gss_is_installed;
3500         rpc_gss_max_data_length;
3501         rpc_gss_mech_to_oid;
3502         rpc_gss_qop_to_num;
3503         rpc_gss_seccreate;
3504         rpc_gss_set_callback;
3505         rpc_gss_set_defaults;
3506         rpc_gss_set_svc_name;
3507         rpc_gss_svc_max_data_length;
3508         svc_door_create;
3509         _xti_accept;
3510         _xti_alloc;
3511         _xti_bind;
3512         _xti_close;
3513         _xti_connect;
3514         _xti_error;
3515         _xti_free;
3516         _xti_getinfo;
3517         _xti_getprotaddr;
3518         _xti_getstate;
3519         _xti_listen;
3520         _xti_look;
3521         _xti_open;
3522         _xti_optmgmt;
3523         _xti_rcv;
3524         _xti_rcvconnect;
3525         _xti_rcvdis;
3526         _xti_rcvrel;
3527         _xti_rcvudata;
3528         _xti_rcvuderr;
3529         _xti_snd;
3530         _xti_snddis;
3531         _xti_sndrel;
3532         _xti_sndudata;
3533         _xti_strerror;
3534         _xti_sync;
3535         _xti_unbind;
3536         clnt_create_timed;
3537         clnt_tp_create_timed;
3538         getrpcport;
3539         rpc_control;
3540         svc_done;
3541         authdes_create;
3542         auth_destroy;
3543         callrpc;
3544         clnt_broadcast;
3545         clnt_call;
3546         clnt_control;
3547         clnt_create_vers;
3548         clnt_destroy;
3549         clnt_freeres;
3550         clnt_geterr;
3551         clntraw_create;
3552         clnttcp_create;
3553         clntudp_bufcreate;
3554         clntudp_create;
3555         dbmclose;
3556         dbminit;
3557         delete;
3558         des_setparity;
3559         doconfig;
3560         endhostent;
3561         endrpcent;
3562         fetch;
3563         firstkey;
3564         gethostbyaddr_r;
3565         gethostbyname_r;
3566         gethostent;
3567         gethostent_r;
3568         get_myaddress;
3569         getrpcbyname;
3570         getrpcbyname_r;
3571         getrpcbynumber;
3572         getrpcbynumber_r;
3573         getrpcent;
3574         getrpcent_r;
3575         inet_ntoa_r;
3576         key_secretkey_is_set;
3577         nc_sperror;
3578         netdir_perror;
3579         netdir_sperror;
3580         nextkey;
3581         nis_clone_object;
3582         nis_destroy_object;
3583         nis_dir_cmp;
3584         nis_domain_of;
3585         nis_leaf_of;
3586         nis_leaf_of_r;
3587         nis_local_directory;
3588         nis_local_group;
3589         nis_local_host;
3590         nis_name_of;
3591         pmap_getmaps;
3592         pmap_getport;
3593         pmap_rmtcall;
3594         pmap_set;
3595         pmap_unset;
3596         registerrpc;
3597         __rpc_createerr;
3598         sethostent;
3599         setrpcent;
3600         store;
3601         svc_auth_reg;
3602         svc_control;
3603         svc_destroy;
3604         svc_dg_enablecache;
3605         svcfd_create;
3606         svc_exit;
3607         svc_freeargs;
3608         svc_getargs;
3609         svc_getreq;
3610         svc_getreq_common;
3611         svc_getreq_poll;
3612         svc_getrpccaller;
3613         svcraw_create;
3614         svc_register;
3615         svctcp_create;
3616         svcudp_bufcreate;
3617         svcudp_create;
3618         svc_unregister;
3619         __t_errno;
3620         t_getname;
3621         t_strerror;
3622         xdr_destroy;
3623         xdr_getpos;
3624         xdr_hyper;
3625         xdr_inline;
3626         xdr_longlong_t;
3627         xdr_quadruple;
3628         xdrrec_endofrecord;
3629         xdrrec_readbytes;
3630         xdr_setpos;
3631         xdr_sizeof;
3632         xdr_u_hyper;
3633         xdr_u_int;
3634         xdr_u_longlong_t;
3635         yp_all;
3636         yp_bind;
3637         yperr_string;
3638         yp_first;
3639         yp_get_default_domain;
3640         yp_master;
3641         yp_match;
3642         yp_next;
3643         yp_order;
3644         ypprot_err;
3645         yp_unbind;
3646         yp_update;
3647         gethostbyaddr;
3648         gethostbyname;
3649         inet_addr;
3650         inet_netof;
3651         inet_ntoa;
3652         rpc_broadcast_exp;
3653         authdes_getucred;
3654         authdes_seccreate;
3655         authnone_create;
3656         authsys_create;
3657         authsys_create_default;
3658         clnt_create;
3659         clnt_dg_create;
3660         clnt_pcreateerror;
3661         clnt_perrno;
3662         clnt_perror;
3663         clnt_raw_create;
3664         clnt_spcreateerror;
3665         clnt_sperrno;
3666         clnt_sperror;
3667         clnt_tli_create;
3668         clnt_tp_create;
3669         clnt_vc_create;
3670         endnetconfig;
3671         endnetpath;
3672         freenetconfigent;
3673         getnetconfig;
3674         getnetconfigent;
3675         getnetname;
3676         getnetpath;
3677         getpublickey;
3678         getsecretkey;
3679         host2netname;
3680         key_decryptsession;
3681         key_encryptsession;
3682         key_gendes;
3683         key_setsecret;
3684         nc_perror;
3685         netdir_free;
3686         netdir_getbyaddr;
3687         netdir_getbyname;
3688         netdir_options;
3689         netname2host;
3690         netname2user;
3691         rpcb_getaddr;
3692         rpcb_getmaps;
3693         rpcb_gettime;
3694         rpcb_rmtcall;
3695         rpc_broadcast;
3696         rpcb_set;
3697         rpcb_unset;
3698         rpc_call;
3699         rpc_reg;
3700         setnetconfig;
3701         setnetpath;
3702         svc_create;
3703         svc_dg_create;
3704         svcerr_auth;
3705         svcerr_decode;
3706         svcerr_noproc;
3707         svcerr_noprog;
3708         svcerr_progvers;
3709         svcerr_systemerr;
3710         svcerr_weakauth;
3711         svc_fd_create;
3712         svc_getreqset;
3713         svc_raw_create;
3714         svc_reg;
3715         svc_run;
3716         svc_sendreply;
3717         svc_tli_create;
3718         svc_tp_create;
3719         svc_unreg;
3720         svc_vc_create;
3721         t_accept;
3722         taddr2uaddr;
3723         t_alloc;
3724         t_bind;
3725         t_close;
3726         t_connect;
3727         t_error;
3728         t_free;
3729         t_getinfo;
3730         t_getstate;
3731         t_listen;
3732         t_look;
3733         t_open;
3734         t_optmgmt;
3735         t_rcv;
3736         t_rcvconnect;
3737         t_rcvdis;
3738         t_rcvrel;
3739         t_rcvudata;
3740         t_rcvuderr;
3741         t_snd;
3742         t_snddis;
3743         t_sndrel;
3744         t_sndudata;
3745         t_sync;
3746         t_unbind;
3747         uaddr2taddr;
3748         user2netname;
3749         xdr_accepted_reply;
3750         xdr_array;
3751         xdr_authsys_parms;
3752         xdr_bool;
3753         xdr_bytes;
3754         xdr_callhdr;
3755         xdr_callmsg;
3756         xdr_char;
3757         xdr_double;
3758         xdr_double;
3759         xdr_enum;
3760         xdr_float;
3761         xdr_free;
3762         xdr_int;
3763         xdr_long;
3764         xdrmem_create;
3765         xdr_opaque;
3766         xdr_opaque_auth;
3767         xdr_pointer;
3768         xdrrec_create;
3769         xdrrec_eof;
3770         xdrrec_skiprecord;
3771         xdr_reference;
3772         xdr_rejected_reply;
3773         xdr_replymsg;
3774         xdr_short;
3775         xdrstdio_create;
3776         xdr_string;
3777         xdr_u_char;
3778         xdr_u_long;
3779         xdr_union;
3780         xdr_u_short;
3781         xdr_vector;
3782         xdr_void;
3783         xdr_wrapstring;
3784         xprt_register;
3785         xprt_unregister;
3786 # These were private in libnsl and should stay that way in libc:
3787         clnt_create_service_timed;
3788         inet_matchaddr;
3789         _build_internal_algs;
3790         _check_daemon_lock;
3791         _clean_trash;
3792         _create_daemon_lock;
3793         _duplicate_alg;
3794         _enter_daemon_lock;
3795         _real_getipsecalgs;
3796         _real_getipsecprotos;
3797         str2hostent6;
3798         _str_to_ipsec_exec_mode;
3799         __yp_all_cflookup;
3800         key_call_ruid;
3801         key_removesecret_g_ruid;
3802         key_secretkey_is_set_g_ruid;
3803         key_setnet_g_ruid;
3804         key_setnet_ruid;
3805         _doexeclist;
3806         _dup_execstr;
3807         _endauthattr;
3808         _endauuser;
3809         _endexecattr;
3810         __endhostent6;
3811         _endprofattr;
3812         _enduserattr;
3813         _escape;
3814         _exec_cleanup;
3815         _exec_wild_id;
3816         _fgetuserattr;
3817         _free_execstr;
3818         _getauthattr;
3819         _getauthnam;
3820         _getauuserent;
3821         _getauusernam;
3822         _getexecattr;
3823         _getexecprof;
3824         __gethostent6;
3825         _getprofattr;
3826         _getprofnam;
3827         _getuserattr;
3828         _getusernam;
3829         __nis_netconfig2ep;
3830         __nis_netconfig_matches_ep;
3831         _readbufline;
3832         __rpc_bindresvport_ipv6;
3833         _setauthattr;
3834         _setauuser;
3835         _setexecattr;
3836         __sethostent6;
3837         _setprofattr;
3838         _setuserattr;
3839         _strdup_null;
3840         _strpbrk_escape;
3841         _strtok_escape;
3842         _switch_getipnodebyaddr_r;
3843         _switch_getipnodebyname_r;
3844         _uncached_getipnodebyaddr;
3845         _uncached_getipnodebyname;
3846         _unescape;
3847         __yp_first_cflookup;
3848         __yp_match_cflookup;
3849         __yp_match_rsvdport_cflookup;
3850         __yp_next_cflookup;
3851         __authenticate;
3852         calchash;
3853         cbc_crypt;
3854         __cbc_triple_crypt;
3855         check_version;
3856         __clnt_create_loopback;
3857         __des_crypt;
3858         des_setparity_g;
3859         ecb_crypt;
3860         __empty_yp_cache;
3861         firsthash;
3862         getdomainname;
3863         _get_hostserv_inetnetdir_byaddr;
3864         _get_hostserv_inetnetdir_byname;
3865         __getnetnamebyuid;
3866         __getpublickey_cached;
3867         __getpublickey_cached_g;
3868         __getpublickey_flush;
3869         __getpublickey_flush_g;
3870         getpublickey_g;
3871         getsecretkey_g;
3872         hashinc;
3873         _herrno2nss;
3874         __inet_address_count;
3875         __inet_free_local_interfaces;
3876         __inet_get_addr;
3877         __inet_get_local_interfaces;
3878         __inet_get_networka;
3879         __inet_get_uaddr;
3880         __inet_uaddr_is_local;
3881         key_call;
3882         key_decryptsession_g;
3883         key_decryptsession_pk;
3884         key_decryptsession_pk_g;
3885         key_encryptsession_g;
3886         key_encryptsession_pk;
3887         key_encryptsession_pk_g;
3888         key_gendes_g;
3889         key_get_conv;
3890         key_get_conv_g;
3891         key_removesecret_g;
3892         key_secretkey_is_set_g;
3893         key_setnet;
3894         key_setnet_g;
3895         key_setsecret_g;
3896         makdatum;
3897         __nderror;
3898         __netdir_getbyaddr_nosrv;
3899         __nis_authtype2mechalias;
3900         __nis_clnt_create;
3901         __nis_dhext_extract_pkey;
3902         __nis_get_mechanism_library;
3903         __nis_get_mechanisms;
3904         __nis_get_mechanism_symbol;
3905         nis_get_static_storage;
3906         __nis_gssprin2netname;
3907         __nis_keyalg2authtype;
3908         __nis_keyalg2mechalias;
3909         __nis_mechalias2authtype;
3910         __nis_mechname2alias;
3911         nis_read_obj;
3912         __nis_release_mechanisms;
3913         __nis_rpc_domain;
3914         __nis_translate_mechanism;
3915         nis_write_obj;
3916         __nss2herrno;
3917         nss_ioctl;
3918         order_haddrlist_af;
3919         __rpcbind_is_up;
3920         __rpc_bindresvport;
3921         rpcb_taddr2uaddr;
3922         rpcb_uaddr2taddr;
3923         __rpc_control;
3924         __rpc_dtbsize;
3925         __rpc_endconf;
3926         __rpcfd_to_nconf;
3927         __rpc_get_a_size;
3928         __rpc_getconf;
3929         __rpc_getconfip;
3930         __rpc_get_default_domain;
3931         __rpc_get_local_uid;
3932         __rpc_get_t_size;
3933         __rpc_matchserv;
3934         __rpc_negotiate_uid;
3935         __rpc_select_to_poll;
3936         __rpc_setconf;
3937         __rpc_timeval_to_msec;
3938         __rpc_tli_set_options;
3939         rtime_tli;
3940         setdomainname;
3941         __seterr_reply;
3942         str2hostent;
3943         str2servent;
3944         __svcauth_des;
3945         svc_get_local_cred;
3946         __svc_get_svcauth;
3947         __svc_set_proc_cleanup_cb;
3948         __svc_vc_dup;
3949         __svc_vc_dupcache_init;
3950         __svc_vc_dupdone;
3951         svc_xprt_alloc;
3952         svc_xprt_free;
3953         _switch_gethostbyaddr_r;
3954         _switch_gethostbyname_r;
3955         _uncached_gethostbyaddr_r;
3956         _uncached_gethostbyname_r;
3957         usingypmap;
3958         xdr_authdes_cred;
3959         xdr_authdes_verf;
3960         xdr_cryptkeyarg;
3961         xdr_cryptkeyarg2;
3962         xdr_cryptkeyarg3;
3963         xdr_cryptkeyres;
3964         xdr_cryptkeyres3;
3965         xdr_datum;
3966         xdr_des_block;
3967         xdr_deskeyarg3;
3968         xdr_deskeyarray;
3969         xdr_directory_obj;
3970         xdr_endpoint;
3971         xdr_entry_obj;
3972         xdr_getcredres;
3973         xdr_getcredres3;
3974         xdr_gid_t;
3975         xdr_int16_t;
3976         xdr_int32_t;
3977         xdr_int64_t;
3978         xdr_int8_t;
3979         xdr_keybuf;
3980         xdr_keybuf3;
3981         xdr_key_netstarg;
3982         xdr_key_netstarg3;
3983         xdr_key_netstres;
3984         xdr_key_netstres3;
3985         xdr_keynum_t;
3986         xdr_keystatus;
3987         xdr_mechtype;
3988         xdr_netbuf;
3989         xdr_netnamestr;
3990         xdr_netobj;
3991         xdr_nis_attr;
3992         xdr_nis_name;
3993         xdr_nis_object;
3994         xdr_nis_oid;
3995         xdr_nis_server;
3996         xdr_objdata;
3997         xdr_pmap;
3998         xdr_pmaplist;
3999         xdr_pmaplist_ptr;
4000         xdr_rmtcallargs;
4001         xdr_rmtcallres;
4002         xdr_rpcb;
4003         xdr_rpcb_entry;
4004         xdr_rpcb_entry_list_ptr;
4005         xdr_rpcblist;
4006         xdr_rpcblist_ptr;
4007         xdr_rpcb_rmtcallargs;
4008         xdr_rpcb_rmtcallres;
4009         xdr_rpcbs_addrlist;
4010         xdr_rpcbs_addrlist_ptr;
4011         xdr_rpcbs_proc;
4012         xdr_rpcbs_rmtcalllist;
4013         xdr_rpcbs_rmtcalllist_ptr;
4014         xdr_rpcb_stat;
4015         xdr_rpcb_stat_byvers;
4016         xdr_setkeyarg3;
4017         xdr_table_obj;
4018         xdr_uid_t;
4019         xdr_uint16_t;
4020         xdr_uint32_t;
4021         xdr_uint64_t;
4022         xdr_uint8_t;
4023         xdr_ulonglong_t;
4024         xdr_unixcred;
4025         xdr_ypall;
4026         xdr_ypbind_domain;
4027         xdr_ypbind_resp;
4028         xdr_ypbind_resptype;
4029         xdr_ypbind_setdom;
4030         xdr_yp_buf;
4031         xdr_ypdelete_args;
4032         xdr_ypdomain_wrap_string;
4033         xdr_ypmap_parms;
4034         xdr_ypmap_wrap_string;
4035         xdr_ypowner_wrap_string;
4036         xdr_yppasswd;
4037         xdr_yppushresp_xfr;
4038         xdr_ypreq_key;
4039         xdr_ypreq_newxfr;
4040         xdr_ypreq_nokey;
4041         xdr_ypreq_xfr;
4042         xdr_ypresp_key_val;
4043         xdr_ypresp_maplist;
4044         xdr_ypresp_master;
4045         xdr_ypresp_order;
4046         xdr_ypresp_val;
4047         xdr_ypupdate_args;
4048         __yp_add_binding;
4049         __yp_all_rsvdport;
4050         ypbindproc_domain_3;
4051         __yp_clnt_create_rsvdport;
4052         __yp_dobind;
4053         __yp_master_rsvdport;
4054         yp_match_rsvdport;
4055         __yp_rel_binding;
4056 # End libnsl/libsocket symbols
4057 # FIXME: new symbols for our OS, but here pending a name.
4058         errc;
4059         verrc;
4060         warnc;
4061         vwarnc;
4062         fts_close;
4063         fts_children;
4064         fts_open;
4065         fts_read;
4066         fts_set;
4067         vis;
4068         strvis;
4069         strnvis;
4070         strvisx;
4071         stravis;        
4072         unvis;
4073         strunvis;
4074         strnunvis;
4075         setmode;
4076         getmode;
4077         b64_ntop;
4078         b64_pton;
4079         strtonum;
4081     global:
4082 # FIXME: new symbols for our OS, but here pending a name.
4083         reallocarray            { FLAGS = NODIRECT };
4084         recallocarray           { FLAGS = NODIRECT };
4085         freezero                { FLAGS = NODIRECT };
4087     local:
4088         __imax_lldiv                            { FLAGS = NODYNSORT };
4089         _ti_thr_self                            { FLAGS = NODYNSORT };
4090         *;
4092 $if lf64
4093         _seekdir64              { FLAGS = NODYNSORT };
4094         _telldir64              { FLAGS = NODYNSORT };
4095 $endif
4097 $if _sparc
4098         __cerror                { FLAGS = NODYNSORT };
4099 $endif
4101 $if sparc32
4102         __cerror64              { FLAGS = NODYNSORT };
4103 $endif
4105 $if sparcv9
4106         __cleanup               { FLAGS = NODYNSORT };
4107 $endif
4109 $if i386
4110         _syscall6               { FLAGS = NODYNSORT };
4111         __systemcall6           { FLAGS = NODYNSORT };
4112 $endif
4114 $if amd64
4115         ___tls_get_addr         { FLAGS = NODYNSORT };
4116 $endif