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