Commit | Line | Data |
549a6b10 |
1 | # |
2 | # Create the export list for perl. |
3 | # |
4 | # Needed by WIN32 for creating perl.dll and by AIX for creating libperl.a |
5 | # when -Dusershrplib is in effect. |
6 | # |
22c35a8c |
7 | # reads global.sym, pp.sym, perlvars.h, intrpvar.h, thrdvar.h, config.h |
0a753a76 |
8 | |
549a6b10 |
9 | my $PLATFORM; |
10 | my $CCTYPE; |
910dfcc8 |
11 | |
12 | while (@ARGV) |
d55594ae |
13 | { |
14 | my $flag = shift; |
15 | $define{$1} = 1 if ($flag =~ /^-D(\w+)$/); |
549a6b10 |
16 | $CCTYPE = $1 if ($flag =~ /^CCTYPE=(\w+)$/); |
17 | $PLATFORM = $1 if ($flag =~ /^PLATFORM=(\w+)$/); |
d55594ae |
18 | } |
19 | |
549a6b10 |
20 | my @PLATFORM = qw(aix win32); |
21 | my %PLATFORM; |
22 | @PLATFORM{@PLATFORM} = (); |
23 | |
24 | defined $PLATFORM || die "PLATFORM undefined, must be one of: @PLATFORM\n"; |
25 | exists $PLATFORM{$PLATFORM} || die "PLATFORM must be one of: @PLATFORM\n"; |
26 | |
27 | my $config_sh = "config.sh"; |
28 | my $config_h = "config.h"; |
29 | my $thrdvar_h = "thrdvar.h"; |
30 | my $intrpvar_h = "intrpvar.h"; |
31 | my $perlvars_h = "perlvars.h"; |
32 | my $global_sym = "global.sym"; |
33 | my $pp_sym = "pp.sym"; |
34 | my $globvar_sym = "globvar.sym"; |
35 | my $perlio_sym = "perlio.sym"; |
36 | |
37 | if ($PLATFORM eq 'aix') { |
38 | # Nothing for now. |
39 | } elsif ($PLATFORM eq 'win32') { |
40 | $CCTYPE = "MSVC" unless defined $CCTYPE; |
41 | foreach ($thrdvar_h, $intrpvar_h, $perlvars_h, $global_sym, $pp_sym, $globvar_sym) { |
42 | s!^!..\\!; |
43 | } |
44 | } |
45 | |
46 | unless ($PLATFORM eq 'win32') { |
47 | open(CFG,$config_sh) || die "Cannot open $config_sh: $!\n"; |
48 | while (<CFG>) |
49 | { |
50 | if (/^(?:ccflags|optimize)='(.+)'$/) { |
51 | $_ = $1; |
52 | $define{$1} = 1 while /-D(\w+)/g; |
53 | } |
54 | } |
55 | close(CFG); |
56 | } |
57 | |
58 | open(CFG,$config_h) || die "Cannot open $config_h: $!\n"; |
bbc8f9de |
59 | while (<CFG>) |
60 | { |
61 | $define{$1} = 1 if /^\s*#\s*define\s+(MYMALLOC)\b/; |
924b3ec4 |
62 | $define{$1} = 1 if /^\s*#\s*define\s+(USE_THREADS)\b/; |
549a6b10 |
63 | $define{$1} = 1 if /^\s*#\s*define\s+(USE_PERLIO)\b/; |
b86a2fa7 |
64 | $define{$1} = 1 if /^\s*#\s*define\s+(MULTIPLICITY)\b/; |
bbc8f9de |
65 | } |
66 | close(CFG); |
67 | |
549a6b10 |
68 | if ($PLATFORM eq 'win32') { |
69 | warn join(' ',keys %define)."\n"; |
70 | if ($define{PERL_OBJECT}) { |
71 | print "LIBRARY PerlCore\n"; |
72 | print "DESCRIPTION 'Perl interpreter'\n"; |
73 | print "EXPORTS\n"; |
51371543 |
74 | # output_symbol("perl_alloc"); |
549a6b10 |
75 | output_symbol("perl_get_host_info"); |
76 | output_symbol("perl_alloc_using"); |
51371543 |
77 | # output_symbol("perl_construct"); |
78 | # output_symbol("perl_destruct"); |
79 | # output_symbol("perl_free"); |
80 | # output_symbol("perl_parse"); |
81 | # output_symbol("perl_run"); |
82 | # output_symbol("RunPerl"); |
51371543 |
83 | # exit(0); |
51371543 |
84 | } |
85 | else { |
549a6b10 |
86 | if ($CCTYPE ne 'GCC') { |
87 | print "LIBRARY Perl\n"; |
88 | print "DESCRIPTION 'Perl interpreter, export autogenerated'\n"; |
89 | } |
90 | else { |
91 | $define{'PERL_GLOBAL_STRUCT'} = 1; |
92 | $define{'MULTIPLICITY'} = 1; |
93 | } |
94 | print "EXPORTS\n"; |
95 | } |
96 | } elsif ($PLATFORM eq 'aix') { |
97 | print "#!\n"; |
ac4c12e7 |
98 | } |
bbc8f9de |
99 | |
22239a37 |
100 | my %skip; |
101 | my %export; |
102 | |
51371543 |
103 | sub skip_symbols { |
104 | my $list = shift; |
105 | foreach my $symbol (@$list) { |
106 | $skip{$symbol} = 1; |
107 | } |
22239a37 |
108 | } |
109 | |
51371543 |
110 | sub emit_symbols { |
111 | my $list = shift; |
112 | foreach my $symbol (@$list) { |
113 | my $skipsym = $symbol; |
114 | # XXX hack |
115 | if ($define{PERL_OBJECT}) { |
116 | $skipsym =~ s/^Perl_[GIT](\w+)_ptr$/PL_$1/; |
117 | } |
118 | emit_symbol($symbol) unless exists $skip{$skipsym}; |
119 | } |
22239a37 |
120 | } |
121 | |
549a6b10 |
122 | if ($PLATFORM eq 'win32') { |
22239a37 |
123 | skip_symbols [qw( |
db15561c |
124 | PL_statusvalue_vms |
125 | PL_archpat_auto |
126 | PL_cryptseen |
127 | PL_DBcv |
128 | PL_generation |
db15561c |
129 | PL_lastgotoprobe |
130 | PL_linestart |
131 | PL_modcount |
132 | PL_pending_ident |
133 | PL_sortcxix |
134 | PL_sublex_info |
135 | PL_timesbuf |
4f63d024 |
136 | main |
137 | Perl_ErrorNo |
138 | Perl_GetVars |
a6c40364 |
139 | Perl_do_exec3 |
0a753a76 |
140 | Perl_do_ipcctl |
141 | Perl_do_ipcget |
142 | Perl_do_msgrcv |
143 | Perl_do_msgsnd |
144 | Perl_do_semop |
145 | Perl_do_shmio |
0a753a76 |
146 | Perl_dump_fds |
d55594ae |
147 | Perl_init_thread_intern |
0a753a76 |
148 | Perl_my_bzero |
149 | Perl_my_htonl |
150 | Perl_my_ntohl |
151 | Perl_my_swap |
152 | Perl_my_chsize |
0a753a76 |
153 | Perl_same_dirent |
68dc0745 |
154 | Perl_setenv_getix |
0a753a76 |
155 | Perl_unlnk |
0a753a76 |
156 | Perl_watch |
0a753a76 |
157 | Perl_safexcalloc |
158 | Perl_safexmalloc |
159 | Perl_safexfree |
160 | Perl_safexrealloc |
68dc0745 |
161 | Perl_my_memcmp |
8b10511d |
162 | Perl_my_memset |
db15561c |
163 | PL_cshlen |
164 | PL_cshname |
165 | PL_opsave |
22239a37 |
166 | )]; |
549a6b10 |
167 | } elsif ($PLATFORM eq 'aix') { |
168 | skip_symbols([qw( |
169 | Perl_dump_fds |
170 | Perl_ErrorNo |
171 | Perl_GetVars |
172 | Perl_my_bcopy |
173 | Perl_my_bzero |
174 | Perl_my_chsize |
175 | Perl_my_htonl |
176 | Perl_my_memcmp |
177 | Perl_my_memset |
178 | Perl_my_ntohl |
179 | Perl_my_swap |
180 | Perl_safexcalloc |
181 | Perl_safexfree |
182 | Perl_safexmalloc |
183 | Perl_safexrealloc |
184 | Perl_same_dirent |
185 | Perl_unlnk |
186 | PL_cryptseen |
187 | PL_opsave |
188 | PL_statusvalue_vms |
189 | PL_sys_intern |
190 | )]); |
191 | } |
0a753a76 |
192 | |
51371543 |
193 | if ($define{'PERL_OBJECT'}) { |
194 | skip_symbols [qw( |
195 | Perl_getenv_len |
196 | Perl_my_popen |
197 | Perl_my_pclose |
198 | )]; |
199 | } |
200 | else { |
201 | skip_symbols [qw( |
202 | PL_Dir |
203 | PL_Env |
204 | PL_LIO |
205 | PL_Mem |
206 | PL_Proc |
207 | PL_Sock |
208 | PL_StdIO |
209 | )]; |
210 | } |
c69f112c |
211 | |
bbc8f9de |
212 | if ($define{'MYMALLOC'}) |
213 | { |
22239a37 |
214 | emit_symbols [qw( |
9423c6fc |
215 | Perl_dump_mstats |
22239a37 |
216 | Perl_malloc |
f2517201 |
217 | Perl_mfree |
22239a37 |
218 | Perl_realloc |
219 | Perl_calloc)]; |
bbc8f9de |
220 | } |
32fcaa0b |
221 | else |
222 | { |
223 | skip_symbols [qw( |
df31f264 |
224 | Perl_dump_mstats |
4f63d024 |
225 | Perl_malloc |
226 | Perl_mfree |
227 | Perl_realloc |
228 | Perl_calloc |
32fcaa0b |
229 | Perl_malloced_size)]; |
230 | } |
bbc8f9de |
231 | |
d55594ae |
232 | unless ($define{'USE_THREADS'}) |
233 | { |
22239a37 |
234 | skip_symbols [qw( |
db15561c |
235 | PL_thr_key |
236 | PL_sv_mutex |
46124e9e |
237 | PL_strtab_mutex |
db15561c |
238 | PL_svref_mutex |
239 | PL_malloc_mutex |
5ff3f7a4 |
240 | PL_cred_mutex |
db15561c |
241 | PL_eval_mutex |
242 | PL_eval_cond |
243 | PL_eval_owner |
244 | PL_threads_mutex |
245 | PL_nthreads |
246 | PL_nthreads_cond |
247 | PL_threadnum |
248 | PL_threadsv_names |
249 | PL_thrsv |
22c35a8c |
250 | PL_vtbl_mutex |
eb480a0b |
251 | Perl_getTHR |
252 | Perl_setTHR |
d55594ae |
253 | Perl_condpair_magic |
32f822de |
254 | Perl_new_struct_thread |
32f822de |
255 | Perl_per_thread_magicals |
d4cce5f1 |
256 | Perl_thread_create |
257 | Perl_find_threadsv |
d55594ae |
258 | Perl_unlock_condpair |
d55594ae |
259 | Perl_magic_mutexfree |
95906810 |
260 | )]; |
910dfcc8 |
261 | } |
c5be433b |
262 | unless ($define{'USE_THREADS'} or $define{'PERL_IMPLICIT_CONTEXT'} |
263 | or $define{'PERL_OBJECT'}) |
264 | { |
4f63d024 |
265 | skip_symbols [qw( |
266 | Perl_croak_nocontext |
267 | Perl_die_nocontext |
c5be433b |
268 | Perl_deb_nocontext |
4f63d024 |
269 | Perl_form_nocontext |
270 | Perl_warn_nocontext |
c5be433b |
271 | Perl_warner_nocontext |
4f63d024 |
272 | Perl_newSVpvf_nocontext |
273 | Perl_sv_catpvf_nocontext |
274 | Perl_sv_setpvf_nocontext |
275 | Perl_sv_catpvf_mg_nocontext |
276 | Perl_sv_setpvf_mg_nocontext |
277 | )]; |
278 | } |
d4cce5f1 |
279 | |
910dfcc8 |
280 | unless ($define{'FAKE_THREADS'}) |
281 | { |
db15561c |
282 | skip_symbols [qw(PL_curthr)]; |
d55594ae |
283 | } |
284 | |
22239a37 |
285 | sub readvar |
286 | { |
287 | my $file = shift; |
51371543 |
288 | my $proc = shift || sub { "PL_$_[2]" }; |
549a6b10 |
289 | open(VARS,$file) || die "Cannot open $file: $!\n"; |
22239a37 |
290 | my @syms; |
291 | while (<VARS>) |
292 | { |
293 | # All symbols have a Perl_ prefix because that's what embed.h |
294 | # sticks in front of them. |
51371543 |
295 | push(@syms, &$proc($1,$2,$3)) if (/\bPERLVAR(A?I?C?)\(([IGT])(\w+)/); |
22239a37 |
296 | } |
297 | close(VARS); |
298 | return \@syms; |
299 | } |
300 | |
d4cce5f1 |
301 | if ($define{'USE_THREADS'} || $define{'MULTIPLICITY'}) |
d55594ae |
302 | { |
549a6b10 |
303 | my $thrd = readvar($thrdvar_h); |
22239a37 |
304 | skip_symbols $thrd; |
d55594ae |
305 | } |
306 | |
d4cce5f1 |
307 | if ($define{'MULTIPLICITY'}) |
d55594ae |
308 | { |
549a6b10 |
309 | my $interp = readvar($intrpvar_h); |
22239a37 |
310 | skip_symbols $interp; |
311 | } |
312 | |
313 | if ($define{'PERL_GLOBAL_STRUCT'}) |
314 | { |
549a6b10 |
315 | my $global = readvar($perlvars_h); |
22239a37 |
316 | skip_symbols $global; |
852c2e52 |
317 | emit_symbols [qw(Perl_GetVars)]; |
db15561c |
318 | emit_symbols [qw(PL_Vars PL_VarsPtr)] unless $CCTYPE eq 'GCC'; |
d4cce5f1 |
319 | } |
d55594ae |
320 | |
36c15d3f |
321 | unless ($define{'DEBUGGING'}) |
322 | { |
22239a37 |
323 | skip_symbols [qw( |
fea7140c |
324 | Perl_deb |
325 | Perl_deb_growlevel |
326 | Perl_debop |
327 | Perl_debprofdump |
328 | Perl_debstack |
329 | Perl_debstackptrs |
22239a37 |
330 | Perl_runops_debug |
331 | Perl_sv_peek |
3836fe67 |
332 | PL_block_type |
22c35a8c |
333 | PL_watchaddr |
334 | PL_watchok)]; |
36c15d3f |
335 | } |
336 | |
549a6b10 |
337 | if ($PLATFORM eq 'win32' && $define{'HAVE_DES_FCRYPT'}) |
26618a56 |
338 | { |
339 | emit_symbols [qw(win32_crypt)]; |
340 | } |
341 | |
22c35a8c |
342 | # functions from *.sym files |
343 | |
549a6b10 |
344 | my @syms = ($global_sym, $pp_sym, $globvar_sym); |
345 | |
346 | if ($define{'USE_PERLIO'}) |
22239a37 |
347 | { |
549a6b10 |
348 | push @syms, $perlio_sym; |
349 | } |
350 | |
351 | for my $syms (@syms) |
352 | { |
353 | open (GLOBAL, "<$syms") || die "failed to open $syms: $!\n"; |
22c35a8c |
354 | while (<GLOBAL>) |
355 | { |
356 | next if (!/^[A-Za-z]/); |
357 | # Functions have a Perl_ prefix |
358 | # Variables have a PL_ prefix |
359 | chomp($_); |
4f63d024 |
360 | my $symbol = ($syms =~ /var\.sym$/i ? "PL_" : ""); |
22c35a8c |
361 | $symbol .= $_; |
362 | emit_symbol($symbol) unless exists $skip{$symbol}; |
363 | } |
364 | close(GLOBAL); |
22239a37 |
365 | } |
0a753a76 |
366 | |
22c35a8c |
367 | # variables |
0a753a76 |
368 | |
51371543 |
369 | if ($define{'PERL_OBJECT'}) { |
43cd9f80 |
370 | for my $f ($perlvars_h, $intrpvar_h, $thrdvar_h) { |
51371543 |
371 | my $glob = readvar($f, sub { "Perl_" . $_[1] . $_[2] . "_ptr" }); |
372 | emit_symbols $glob; |
373 | } |
374 | } |
375 | else { |
376 | unless ($define{'PERL_GLOBAL_STRUCT'}) { |
549a6b10 |
377 | my $glob = readvar($perlvars_h); |
51371543 |
378 | emit_symbols $glob; |
379 | } |
380 | unless ($define{'MULTIPLICITY'}) { |
549a6b10 |
381 | my $glob = readvar($intrpvar_h); |
51371543 |
382 | emit_symbols $glob; |
383 | } |
384 | |
385 | unless ($define{'MULTIPLICITY'} || $define{'USE_THREADS'}) { |
549a6b10 |
386 | my $glob = readvar($thrdvar_h); |
51371543 |
387 | emit_symbols $glob; |
388 | } |
389 | } |
0a753a76 |
390 | |
549a6b10 |
391 | sub try_symbol { |
392 | my $symbol = shift; |
22239a37 |
393 | |
549a6b10 |
394 | return if $symbol !~ /^[A-Za-z]/; |
395 | return if $symbol =~ /^\#/; |
396 | $symbol =~s/\r//g; |
397 | chomp($symbol); |
43cd9f80 |
398 | return if exists $skip{$symbol}; |
549a6b10 |
399 | emit_symbol($symbol); |
3e3baf6d |
400 | } |
0a753a76 |
401 | |
549a6b10 |
402 | while (<DATA>) { |
403 | try_symbol($_); |
ac4c12e7 |
404 | } |
405 | |
549a6b10 |
406 | if ($PLATFORM eq 'win32') { |
407 | foreach my $symbol (qw( |
d28b3ca3 |
408 | boot_DynaLoader |
549a6b10 |
409 | Perl_getTHR |
410 | Perl_init_os_extras |
411 | Perl_setTHR |
d55594ae |
412 | Perl_thread_create |
549a6b10 |
413 | Perl_win32_init |
414 | RunPerl |
43cd9f80 |
415 | GetPerlInterpreter |
416 | SetPerlInterpreter |
68dc0745 |
417 | win32_errno |
96e4d5b1 |
418 | win32_environ |
68dc0745 |
419 | win32_stdin |
420 | win32_stdout |
96e4d5b1 |
421 | win32_stderr |
68dc0745 |
422 | win32_ferror |
423 | win32_feof |
424 | win32_strerror |
425 | win32_fprintf |
426 | win32_printf |
427 | win32_vfprintf |
96e4d5b1 |
428 | win32_vprintf |
68dc0745 |
429 | win32_fread |
430 | win32_fwrite |
431 | win32_fopen |
432 | win32_fdopen |
433 | win32_freopen |
434 | win32_fclose |
435 | win32_fputs |
436 | win32_fputc |
437 | win32_ungetc |
438 | win32_getc |
439 | win32_fileno |
440 | win32_clearerr |
441 | win32_fflush |
442 | win32_ftell |
443 | win32_fseek |
444 | win32_fgetpos |
445 | win32_fsetpos |
446 | win32_rewind |
447 | win32_tmpfile |
448 | win32_abort |
449 | win32_fstat |
96e4d5b1 |
450 | win32_stat |
68dc0745 |
451 | win32_pipe |
452 | win32_popen |
453 | win32_pclose |
e24c7c18 |
454 | win32_rename |
68dc0745 |
455 | win32_setmode |
96e4d5b1 |
456 | win32_lseek |
457 | win32_tell |
68dc0745 |
458 | win32_dup |
459 | win32_dup2 |
96e4d5b1 |
460 | win32_open |
461 | win32_close |
462 | win32_eof |
68dc0745 |
463 | win32_read |
464 | win32_write |
3e3baf6d |
465 | win32_spawnvp |
5aabfad6 |
466 | win32_mkdir |
467 | win32_rmdir |
468 | win32_chdir |
c90c0ff4 |
469 | win32_flock |
eb62e965 |
470 | win32_execv |
6890e559 |
471 | win32_execvp |
54310121 |
472 | win32_htons |
473 | win32_ntohs |
474 | win32_htonl |
475 | win32_ntohl |
476 | win32_inet_addr |
477 | win32_inet_ntoa |
478 | win32_socket |
479 | win32_bind |
480 | win32_listen |
481 | win32_accept |
482 | win32_connect |
483 | win32_send |
484 | win32_sendto |
485 | win32_recv |
486 | win32_recvfrom |
487 | win32_shutdown |
3a25acb4 |
488 | win32_closesocket |
54310121 |
489 | win32_ioctlsocket |
490 | win32_setsockopt |
491 | win32_getsockopt |
492 | win32_getpeername |
493 | win32_getsockname |
494 | win32_gethostname |
495 | win32_gethostbyname |
496 | win32_gethostbyaddr |
497 | win32_getprotobyname |
498 | win32_getprotobynumber |
499 | win32_getservbyname |
500 | win32_getservbyport |
501 | win32_select |
502 | win32_endhostent |
503 | win32_endnetent |
504 | win32_endprotoent |
505 | win32_endservent |
506 | win32_getnetent |
507 | win32_getnetbyname |
508 | win32_getnetbyaddr |
509 | win32_getprotoent |
510 | win32_getservent |
511 | win32_sethostent |
512 | win32_setnetent |
513 | win32_setprotoent |
514 | win32_setservent |
ad2e33dc |
515 | win32_getenv |
ac5c734f |
516 | win32_putenv |
84902520 |
517 | win32_perror |
518 | win32_setbuf |
519 | win32_setvbuf |
520 | win32_flushall |
521 | win32_fcloseall |
522 | win32_fgets |
523 | win32_gets |
524 | win32_fgetc |
525 | win32_putc |
526 | win32_puts |
527 | win32_getchar |
528 | win32_putchar |
529 | win32_malloc |
530 | win32_calloc |
531 | win32_realloc |
532 | win32_free |
f3986ebb |
533 | win32_sleep |
534 | win32_times |
535 | win32_alarm |
65e48ea9 |
536 | win32_open_osfhandle |
537 | win32_get_osfhandle |
f998180f |
538 | win32_ioctl |
ad0751ec |
539 | win32_utime |
b2af26b1 |
540 | win32_uname |
22fae026 |
541 | win32_wait |
f55ee38a |
542 | win32_waitpid |
543 | win32_kill |
22fae026 |
544 | win32_str_os_error |
ce2e26e5 |
545 | win32_opendir |
546 | win32_readdir |
547 | win32_telldir |
548 | win32_seekdir |
549 | win32_rewinddir |
550 | win32_closedir |
8ac9c18d |
551 | win32_longpath |
0cb96387 |
552 | win32_os_id |
549a6b10 |
553 | )) { |
554 | try_symbol($symbol); |
555 | } |
556 | } |
22239a37 |
557 | |
549a6b10 |
558 | # Now all symbols should be defined because |
559 | # next we are going to output them. |
560 | |
561 | foreach my $symbol (sort keys %export) |
562 | { |
563 | output_symbol($symbol); |
564 | } |
565 | |
566 | sub emit_symbol { |
567 | my $symbol = shift; |
568 | chomp($symbol); |
569 | $export{$symbol} = 1; |
570 | } |
571 | |
572 | sub output_symbol { |
573 | my $symbol = shift; |
574 | if ($PLATFORM eq 'win32') { |
575 | print "\t$symbol\n"; |
576 | $symbol = "_$symbol" if $CCTYPE eq 'BORLAND'; |
577 | # XXX: binary compatibility between compilers is an exercise |
578 | # in frustration :-( |
579 | # if ($CCTYPE eq "BORLAND") { |
580 | # # workaround Borland quirk by exporting both the straight |
581 | # # name and a name with leading underscore. Note the |
582 | # # alias *must* come after the symbol itself, if both |
583 | # # are to be exported. (Linker bug?) |
584 | # print "\t_$symbol\n"; |
585 | # print "\t$symbol = _$symbol\n"; |
586 | # } |
587 | # elsif ($CCTYPE eq 'GCC') { |
588 | # # Symbols have leading _ whole process is $%@"% slow |
589 | # # so skip aliases for now |
590 | # nprint "\t$symbol\n"; |
591 | # } |
592 | # else { |
593 | # # for binary coexistence, export both the symbol and |
594 | # # alias with leading underscore |
595 | # print "\t$symbol\n"; |
596 | # print "\t_$symbol = $symbol\n"; |
597 | # } |
598 | } elsif ($PLATFORM eq 'aix') { |
599 | print "$symbol\n"; |
600 | } |
601 | } |
602 | |
603 | 1; |
604 | __DATA__ |
605 | # extra globals not included above. |
606 | perl_alloc |
607 | perl_construct |
608 | perl_destruct |
609 | perl_free |
610 | perl_parse |
611 | perl_run |