Win9x + GCC update from Benjamin Stuhl <sho_pi@hotmail.com>
[p5sagit/p5-mst-13.2.git] / makedef.pl
CommitLineData
549a6b10 1#
2# Create the export list for perl.
3#
3cfae81b 4# Needed by WIN32 and OS/2 for creating perl.dll
5# and by AIX for creating libperl.a when -Dusershrplib is in effect.
549a6b10 6#
22c35a8c 7# reads global.sym, pp.sym, perlvars.h, intrpvar.h, thrdvar.h, config.h
3cfae81b 8# On OS/2 reads miniperl.map as well
0a753a76 9
549a6b10 10my $PLATFORM;
11my $CCTYPE;
910dfcc8 12
4cb71bb6 13my %bincompat5005 =
14 (Perl_call_argv => "perl_call_argv",
15 Perl_call_method => "perl_call_method",
16 Perl_call_pv => "perl_call_pv",
17 Perl_call_sv => "perl_call_sv",
18 Perl_get_av => "perl_get_av",
19 Perl_get_cv => "perl_get_cv",
20 Perl_get_hv => "perl_get_hv",
21 Perl_get_sv => "perl_get_sv",
22 Perl_init_i18nl10n => "perl_init_i18nl10n",
23 Perl_init_i18nl14n => "perl_init_i18nl14n",
24 Perl_new_collate => "perl_new_collate",
25 Perl_new_ctype => "perl_new_ctype",
26 Perl_new_numeric => "perl_new_numeric",
27 Perl_require_pv => "perl_require_pv",
28 Perl_safesyscalloc => "Perl_safecalloc",
29 Perl_safesysfree => "Perl_safefree",
30 Perl_safesysmalloc => "Perl_safemalloc",
31 Perl_safesysrealloc => "Perl_saferealloc",
32 Perl_set_numeric_local => "perl_set_numeric_local",
62457c2b 33 Perl_set_numeric_standard => "perl_set_numeric_standard",
34 Perl_malloc => "malloc",
35 Perl_mfree => "free",
36 Perl_realloc => "realloc",
37 Perl_calloc => "calloc",);
4cb71bb6 38
39my $bincompat5005 = join("|", keys %bincompat5005);
40
7766f137 41while (@ARGV) {
42 my $flag = shift;
43 $define{$1} = 1 if ($flag =~ /^-D(\w+)$/);
44 $define{$1} = $2 if ($flag =~ /^-D(\w+)=(.+)$/);
45 $CCTYPE = $1 if ($flag =~ /^CCTYPE=(\w+)$/);
46 $PLATFORM = $1 if ($flag =~ /^PLATFORM=(\w+)$/);
47}
d55594ae 48
3cfae81b 49my @PLATFORM = qw(aix win32 os2);
549a6b10 50my %PLATFORM;
51@PLATFORM{@PLATFORM} = ();
52
53defined $PLATFORM || die "PLATFORM undefined, must be one of: @PLATFORM\n";
54exists $PLATFORM{$PLATFORM} || die "PLATFORM must be one of: @PLATFORM\n";
55
56my $config_sh = "config.sh";
57my $config_h = "config.h";
58my $thrdvar_h = "thrdvar.h";
59my $intrpvar_h = "intrpvar.h";
60my $perlvars_h = "perlvars.h";
61my $global_sym = "global.sym";
62my $pp_sym = "pp.sym";
63my $globvar_sym = "globvar.sym";
64my $perlio_sym = "perlio.sym";
65
66if ($PLATFORM eq 'aix') {
67 # Nothing for now.
7766f137 68}
69elsif ($PLATFORM eq 'win32') {
549a6b10 70 $CCTYPE = "MSVC" unless defined $CCTYPE;
71 foreach ($thrdvar_h, $intrpvar_h, $perlvars_h, $global_sym, $pp_sym, $globvar_sym) {
72 s!^!..\\!;
73 }
74}
75
76unless ($PLATFORM eq 'win32') {
77 open(CFG,$config_sh) || die "Cannot open $config_sh: $!\n";
7766f137 78 while (<CFG>) {
549a6b10 79 if (/^(?:ccflags|optimize)='(.+)'$/) {
80 $_ = $1;
81 $define{$1} = 1 while /-D(\w+)/g;
82 }
3cfae81b 83 if ($PLATFORM eq 'os2') {
84 $CONFIG_ARGS = $1 if /^(?:config_args)='(.+)'$/;
85 $ARCHNAME = $1 if /^(?:archname)='(.+)'$/;
86 }
549a6b10 87 }
88 close(CFG);
89}
90
91open(CFG,$config_h) || die "Cannot open $config_h: $!\n";
7766f137 92while (<CFG>) {
93 $define{$1} = 1 if /^\s*#\s*define\s+(MYMALLOC)\b/;
94 $define{$1} = 1 if /^\s*#\s*define\s+(USE_THREADS)\b/;
95 $define{$1} = 1 if /^\s*#\s*define\s+(USE_PERLIO)\b/;
96 $define{$1} = 1 if /^\s*#\s*define\s+(MULTIPLICITY)\b/;
97 $define{$1} = 1 if /^\s*#\s*define\s+(PERL_BINCOMPAT_5005)\b/;
98}
bbc8f9de 99close(CFG);
100
549a6b10 101if ($PLATFORM eq 'win32') {
102 warn join(' ',keys %define)."\n";
103 if ($define{PERL_OBJECT}) {
3075ddba 104 print "LIBRARY Perl56\n";
549a6b10 105 print "DESCRIPTION 'Perl interpreter'\n";
106 print "EXPORTS\n";
51371543 107# output_symbol("perl_alloc");
549a6b10 108 output_symbol("perl_get_host_info");
7766f137 109 output_symbol("perl_alloc_override");
51371543 110# output_symbol("perl_construct");
111# output_symbol("perl_destruct");
112# output_symbol("perl_free");
113# output_symbol("perl_parse");
114# output_symbol("perl_run");
115# output_symbol("RunPerl");
51371543 116# exit(0);
51371543 117 }
118 else {
5db10396 119 print "LIBRARY Perl\n";
120 print "DESCRIPTION 'Perl interpreter, export autogenerated'\n";
549a6b10 121 print "EXPORTS\n";
122 }
7766f137 123}
124elsif ($PLATFORM eq 'os2') {
3cfae81b 125 ($v = $]) =~ s/(\d\.\d\d\d)(\d\d)$/$1_$2/;
126 $v .= '-thread' if $ARCHNAME =~ /-thread/;
127 #$sum = 0;
128 #for (split //, $v) {
129 # $sum = ($sum * 33) + ord;
130 # $sum &= 0xffffff;
131 #}
132 #$sum += $sum >> 5;
133 #$sum &= 0xffff;
134 #$sum = printf '%X', $sum;
135 ($dll = $define{PERL_DLL}) =~ s/\.dll$//i;
136 # print STDERR "'$dll' <= '$define{PERL_DLL}'\n";
137 print <<"---EOP---";
138LIBRARY '$dll' INITINSTANCE TERMINSTANCE
139DESCRIPTION '\@#perl5-porters\@perl.org:$v#\@ Perl interpreter, configured as $CONFIG_ARGS'
140STACKSIZE 32768
141CODE LOADONCALL
142DATA LOADONCALL NONSHARED MULTIPLE
143EXPORTS
144---EOP---
7766f137 145}
146elsif ($PLATFORM eq 'aix') {
549a6b10 147 print "#!\n";
ac4c12e7 148}
bbc8f9de 149
22239a37 150my %skip;
151my %export;
152
51371543 153sub skip_symbols {
154 my $list = shift;
155 foreach my $symbol (@$list) {
156 $skip{$symbol} = 1;
157 }
22239a37 158}
159
51371543 160sub emit_symbols {
161 my $list = shift;
162 foreach my $symbol (@$list) {
163 my $skipsym = $symbol;
164 # XXX hack
165 if ($define{PERL_OBJECT}) {
166 $skipsym =~ s/^Perl_[GIT](\w+)_ptr$/PL_$1/;
167 }
168 emit_symbol($symbol) unless exists $skip{$skipsym};
169 }
22239a37 170}
171
549a6b10 172if ($PLATFORM eq 'win32') {
7766f137 173 skip_symbols [qw(
174 PL_statusvalue_vms
175 PL_archpat_auto
176 PL_cryptseen
177 PL_DBcv
178 PL_generation
179 PL_lastgotoprobe
180 PL_linestart
181 PL_modcount
182 PL_pending_ident
183 PL_sortcxix
184 PL_sublex_info
185 PL_timesbuf
186 main
187 Perl_ErrorNo
188 Perl_GetVars
189 Perl_do_exec3
190 Perl_do_ipcctl
191 Perl_do_ipcget
192 Perl_do_msgrcv
193 Perl_do_msgsnd
194 Perl_do_semop
195 Perl_do_shmio
196 Perl_dump_fds
197 Perl_init_thread_intern
198 Perl_my_bzero
199 Perl_my_htonl
200 Perl_my_ntohl
201 Perl_my_swap
202 Perl_my_chsize
203 Perl_same_dirent
204 Perl_setenv_getix
205 Perl_unlnk
206 Perl_watch
207 Perl_safexcalloc
208 Perl_safexmalloc
209 Perl_safexfree
210 Perl_safexrealloc
211 Perl_my_memcmp
212 Perl_my_memset
213 PL_cshlen
214 PL_cshname
215 PL_opsave
216 Perl_do_exec
217 Perl_getenv_len
218 Perl_my_pclose
219 Perl_my_popen
220 )];
221}
222elsif ($PLATFORM eq 'aix') {
549a6b10 223 skip_symbols([qw(
7766f137 224 Perl_dump_fds
225 Perl_ErrorNo
226 Perl_GetVars
227 Perl_my_bcopy
228 Perl_my_bzero
229 Perl_my_chsize
230 Perl_my_htonl
231 Perl_my_memcmp
232 Perl_my_memset
233 Perl_my_ntohl
234 Perl_my_swap
235 Perl_safexcalloc
236 Perl_safexfree
237 Perl_safexmalloc
238 Perl_safexrealloc
239 Perl_same_dirent
240 Perl_unlnk
241 PL_cryptseen
242 PL_opsave
243 PL_statusvalue_vms
244 PL_sys_intern
245 )]);
246}
247elsif ($PLATFORM eq 'os2') {
3cfae81b 248 emit_symbols([qw(
7766f137 249 ctermid
250 get_sysinfo
251 Perl_OS2_init
252 OS2_Perl_data
253 dlopen
254 dlsym
255 dlerror
256 my_tmpfile
257 my_tmpnam
258 my_flock
259 malloc_mutex
260 threads_mutex
261 nthreads
262 nthreads_cond
263 os2_cond_wait
264 os2_stat
265 pthread_join
266 pthread_create
267 pthread_detach
268 XS_Cwd_change_drive
269 XS_Cwd_current_drive
270 XS_Cwd_extLibpath
271 XS_Cwd_extLibpath_set
272 XS_Cwd_sys_abspath
273 XS_Cwd_sys_chdir
274 XS_Cwd_sys_cwd
275 XS_Cwd_sys_is_absolute
276 XS_Cwd_sys_is_relative
277 XS_Cwd_sys_is_rooted
278 XS_DynaLoader_mod2fname
279 XS_File__Copy_syscopy
280 Perl_Register_MQ
281 Perl_Deregister_MQ
282 Perl_Serve_Messages
283 Perl_Process_Messages
284 init_PMWIN_entries
285 PMWIN_entries
286 Perl_hab_GET
287 )]);
3cfae81b 288}
289
7766f137 290unless ($define{'DEBUGGING'}) {
291 skip_symbols [qw(
292 Perl_deb
293 Perl_deb_growlevel
294 Perl_debop
295 Perl_debprofdump
296 Perl_debstack
297 Perl_debstackptrs
298 Perl_runops_debug
299 Perl_sv_peek
300 PL_block_type
301 PL_watchaddr
302 PL_watchok
303 )];
304}
305
306if ($define{'PERL_IMPLICIT_SYS'}) {
307 skip_symbols [qw(
308 Perl_getenv_len
309 Perl_my_popen
310 Perl_my_pclose
311 )];
312}
313else {
314 skip_symbols [qw(
315 PL_Mem
316 PL_MemShared
317 PL_MemParse
318 PL_Env
319 PL_StdIO
320 PL_LIO
321 PL_Dir
322 PL_Sock
323 PL_Proc
324 )];
325}
326
327if ($define{'MYMALLOC'}) {
328 emit_symbols [qw(
329 Perl_dump_mstats
330 Perl_malloc
331 Perl_mfree
332 Perl_realloc
333 Perl_calloc
334 )];
1feb2720 335 if ($define{'USE_THREADS'} || $define{'USE_ITHREADS'}) {
336 emit_symbols [qw(
337 PL_malloc_mutex
338 )];
339 }
51371543 340}
341else {
7766f137 342 skip_symbols [qw(
343 PL_malloc_mutex
344 Perl_dump_mstats
345 Perl_malloc
346 Perl_mfree
347 Perl_realloc
348 Perl_calloc
349 Perl_malloced_size
350 )];
351}
352
353unless ($define{'USE_THREADS'}) {
354 skip_symbols [qw(
355 PL_thr_key
356 PL_sv_mutex
357 PL_strtab_mutex
358 PL_svref_mutex
7766f137 359 PL_cred_mutex
360 PL_eval_mutex
361 PL_eval_cond
362 PL_eval_owner
363 PL_threads_mutex
364 PL_nthreads
365 PL_nthreads_cond
366 PL_threadnum
367 PL_threadsv_names
368 PL_thrsv
369 PL_vtbl_mutex
370 Perl_getTHR
371 Perl_setTHR
372 Perl_condpair_magic
373 Perl_new_struct_thread
374 Perl_per_thread_magicals
375 Perl_thread_create
376 Perl_find_threadsv
377 Perl_unlock_condpair
378 Perl_magic_mutexfree
379 )];
380}
381
382unless ($define{'USE_ITHREADS'}) {
383 skip_symbols [qw(
384 PL_ptr_table
385 Perl_dirp_dup
386 Perl_cx_dup
387 Perl_si_dup
388 Perl_any_dup
389 Perl_ss_dup
390 Perl_fp_dup
391 Perl_gp_dup
392 Perl_he_dup
393 Perl_mg_dup
394 Perl_re_dup
395 Perl_sv_dup
396 Perl_sys_intern_dup
397 Perl_ptr_table_fetch
398 Perl_ptr_table_new
399 Perl_ptr_table_split
400 Perl_ptr_table_store
401 perl_clone
402 perl_clone_using
403 )];
404}
405
406unless ($define{'PERL_IMPLICIT_CONTEXT'}) {
407 skip_symbols [qw(
408 Perl_croak_nocontext
409 Perl_die_nocontext
410 Perl_deb_nocontext
411 Perl_form_nocontext
412 Perl_mess_nocontext
413 Perl_warn_nocontext
414 Perl_warner_nocontext
415 Perl_newSVpvf_nocontext
416 Perl_sv_catpvf_nocontext
417 Perl_sv_setpvf_nocontext
418 Perl_sv_catpvf_mg_nocontext
419 Perl_sv_setpvf_mg_nocontext
420 )];
421}
422
423unless ($define{'PERL_IMPLICIT_SYS'}) {
424 skip_symbols [qw(
425 perl_alloc_using
014822e4 426 perl_clone_using
7766f137 427 )];
428}
429
430unless ($define{'FAKE_THREADS'}) {
431 skip_symbols [qw(PL_curthr)];
432}
433
434sub readvar {
435 my $file = shift;
436 my $proc = shift || sub { "PL_$_[2]" };
437 open(VARS,$file) || die "Cannot open $file: $!\n";
438 my @syms;
439 while (<VARS>) {
440 # All symbols have a Perl_ prefix because that's what embed.h
441 # sticks in front of them.
442 push(@syms, &$proc($1,$2,$3)) if (/\bPERLVAR(A?I?C?)\(([IGT])(\w+)/);
443 }
444 close(VARS);
445 return \@syms;
446}
447
448if ($define{'USE_THREADS'} || $define{'MULTIPLICITY'}) {
449 my $thrd = readvar($thrdvar_h);
450 skip_symbols $thrd;
451}
452
453if ($define{'MULTIPLICITY'}) {
454 my $interp = readvar($intrpvar_h);
455 skip_symbols $interp;
456}
457
458if ($define{'PERL_GLOBAL_STRUCT'}) {
459 my $global = readvar($perlvars_h);
460 skip_symbols $global;
461 emit_symbol('Perl_GetVars');
462 emit_symbols [qw(PL_Vars PL_VarsPtr)] unless $CCTYPE eq 'GCC';
463}
36c15d3f 464
22c35a8c 465# functions from *.sym files
466
549a6b10 467my @syms = ($global_sym, $pp_sym, $globvar_sym);
468
7766f137 469if ($define{'USE_PERLIO'}) {
549a6b10 470 push @syms, $perlio_sym;
7766f137 471}
472
473for my $syms (@syms) {
474 open (GLOBAL, "<$syms") || die "failed to open $syms: $!\n";
475 while (<GLOBAL>) {
476 next if (!/^[A-Za-z]/);
477 # Functions have a Perl_ prefix
478 # Variables have a PL_ prefix
479 chomp($_);
480 my $symbol = ($syms =~ /var\.sym$/i ? "PL_" : "");
481 $symbol .= $_;
482 emit_symbol($symbol) unless exists $skip{$symbol};
483 }
484 close(GLOBAL);
485}
0a753a76 486
22c35a8c 487# variables
0a753a76 488
51371543 489if ($define{'PERL_OBJECT'}) {
43cd9f80 490 for my $f ($perlvars_h, $intrpvar_h, $thrdvar_h) {
51371543 491 my $glob = readvar($f, sub { "Perl_" . $_[1] . $_[2] . "_ptr" });
492 emit_symbols $glob;
493 }
494}
495else {
496 unless ($define{'PERL_GLOBAL_STRUCT'}) {
549a6b10 497 my $glob = readvar($perlvars_h);
51371543 498 emit_symbols $glob;
499 }
500 unless ($define{'MULTIPLICITY'}) {
549a6b10 501 my $glob = readvar($intrpvar_h);
51371543 502 emit_symbols $glob;
503 }
51371543 504 unless ($define{'MULTIPLICITY'} || $define{'USE_THREADS'}) {
549a6b10 505 my $glob = readvar($thrdvar_h);
51371543 506 emit_symbols $glob;
507 }
508}
0a753a76 509
549a6b10 510sub try_symbol {
511 my $symbol = shift;
22239a37 512
549a6b10 513 return if $symbol !~ /^[A-Za-z]/;
514 return if $symbol =~ /^\#/;
515 $symbol =~s/\r//g;
516 chomp($symbol);
43cd9f80 517 return if exists $skip{$symbol};
549a6b10 518 emit_symbol($symbol);
3e3baf6d 519}
0a753a76 520
549a6b10 521while (<DATA>) {
522 try_symbol($_);
ac4c12e7 523}
524
549a6b10 525if ($PLATFORM eq 'win32') {
526 foreach my $symbol (qw(
7766f137 527 boot_DynaLoader
528 Perl_getTHR
529 Perl_init_os_extras
530 Perl_setTHR
531 Perl_thread_create
532 Perl_win32_init
533 RunPerl
534 GetPerlInterpreter
535 SetPerlInterpreter
536 win32_errno
537 win32_environ
538 win32_stdin
539 win32_stdout
540 win32_stderr
541 win32_ferror
542 win32_feof
543 win32_strerror
544 win32_fprintf
545 win32_printf
546 win32_vfprintf
547 win32_vprintf
548 win32_fread
549 win32_fwrite
550 win32_fopen
551 win32_fdopen
552 win32_freopen
553 win32_fclose
554 win32_fputs
555 win32_fputc
556 win32_ungetc
557 win32_getc
558 win32_fileno
559 win32_clearerr
560 win32_fflush
561 win32_ftell
562 win32_fseek
563 win32_fgetpos
564 win32_fsetpos
565 win32_rewind
566 win32_tmpfile
567 win32_abort
568 win32_fstat
569 win32_stat
570 win32_pipe
571 win32_popen
572 win32_pclose
573 win32_rename
574 win32_setmode
575 win32_lseek
576 win32_tell
577 win32_dup
578 win32_dup2
579 win32_open
580 win32_close
581 win32_eof
582 win32_read
583 win32_write
584 win32_spawnvp
585 win32_mkdir
586 win32_rmdir
587 win32_chdir
588 win32_flock
589 win32_execv
590 win32_execvp
591 win32_htons
592 win32_ntohs
593 win32_htonl
594 win32_ntohl
595 win32_inet_addr
596 win32_inet_ntoa
597 win32_socket
598 win32_bind
599 win32_listen
600 win32_accept
601 win32_connect
602 win32_send
603 win32_sendto
604 win32_recv
605 win32_recvfrom
606 win32_shutdown
607 win32_closesocket
608 win32_ioctlsocket
609 win32_setsockopt
610 win32_getsockopt
611 win32_getpeername
612 win32_getsockname
613 win32_gethostname
614 win32_gethostbyname
615 win32_gethostbyaddr
616 win32_getprotobyname
617 win32_getprotobynumber
618 win32_getservbyname
619 win32_getservbyport
620 win32_select
621 win32_endhostent
622 win32_endnetent
623 win32_endprotoent
624 win32_endservent
625 win32_getnetent
626 win32_getnetbyname
627 win32_getnetbyaddr
628 win32_getprotoent
629 win32_getservent
630 win32_sethostent
631 win32_setnetent
632 win32_setprotoent
633 win32_setservent
634 win32_getenv
635 win32_putenv
636 win32_perror
637 win32_setbuf
638 win32_setvbuf
639 win32_flushall
640 win32_fcloseall
641 win32_fgets
642 win32_gets
643 win32_fgetc
644 win32_putc
645 win32_puts
646 win32_getchar
647 win32_putchar
648 win32_malloc
649 win32_calloc
650 win32_realloc
651 win32_free
652 win32_sleep
653 win32_times
654 win32_access
655 win32_alarm
656 win32_chmod
657 win32_open_osfhandle
658 win32_get_osfhandle
659 win32_ioctl
660 win32_link
661 win32_unlink
662 win32_utime
663 win32_uname
664 win32_wait
665 win32_waitpid
666 win32_kill
667 win32_str_os_error
668 win32_opendir
669 win32_readdir
670 win32_telldir
671 win32_seekdir
672 win32_rewinddir
673 win32_closedir
674 win32_longpath
675 win32_os_id
676 win32_getpid
677 win32_crypt
678 win32_dynaload
679 ))
680 {
549a6b10 681 try_symbol($symbol);
682 }
683}
3cfae81b 684elsif ($PLATFORM eq 'os2') {
7766f137 685 open MAP, 'miniperl.map' or die 'Cannot read miniperl.map';
686 /^\s*[\da-f:]+\s+(\w+)/i and $mapped{$1}++ foreach <MAP>;
687 close MAP or die 'Cannot close miniperl.map';
688
689 @missing = grep { !exists $mapped{$_} and !exists $bincompat5005{$_} }
690 keys %export;
691 delete $export{$_} foreach @missing;
3cfae81b 692}
22239a37 693
549a6b10 694# Now all symbols should be defined because
695# next we are going to output them.
696
7766f137 697foreach my $symbol (sort keys %export) {
698 output_symbol($symbol);
699}
549a6b10 700
701sub emit_symbol {
7766f137 702 my $symbol = shift;
703 chomp($symbol);
704 $export{$symbol} = 1;
549a6b10 705}
706
707sub output_symbol {
708 my $symbol = shift;
4cb71bb6 709 $symbol = $bincompat5005{$symbol}
710 if $define{PERL_BINCOMPAT_5005} and $symbol =~ /^($bincompat5005)$/;
549a6b10 711 if ($PLATFORM eq 'win32') {
549a6b10 712 $symbol = "_$symbol" if $CCTYPE eq 'BORLAND';
520c758a 713 print "\t$symbol\n";
549a6b10 714# XXX: binary compatibility between compilers is an exercise
715# in frustration :-(
716# if ($CCTYPE eq "BORLAND") {
717# # workaround Borland quirk by exporting both the straight
718# # name and a name with leading underscore. Note the
719# # alias *must* come after the symbol itself, if both
720# # are to be exported. (Linker bug?)
721# print "\t_$symbol\n";
722# print "\t$symbol = _$symbol\n";
723# }
724# elsif ($CCTYPE eq 'GCC') {
725# # Symbols have leading _ whole process is $%@"% slow
726# # so skip aliases for now
727# nprint "\t$symbol\n";
728# }
729# else {
730# # for binary coexistence, export both the symbol and
731# # alias with leading underscore
732# print "\t$symbol\n";
733# print "\t_$symbol = $symbol\n";
734# }
7766f137 735 }
736 elsif ($PLATFORM eq 'os2') {
3cfae81b 737 print qq( "$symbol"\n);
7766f137 738 }
739 elsif ($PLATFORM eq 'aix') {
549a6b10 740 print "$symbol\n";
741 }
742}
743
7441;
745__DATA__
746# extra globals not included above.
747perl_alloc
7766f137 748perl_alloc_using
014822e4 749perl_clone
750perl_clone_using
549a6b10 751perl_construct
752perl_destruct
753perl_free
754perl_parse
755perl_run