Add _STDIO_LOADED (VMS) to list of guard symbols.
[p5sagit/p5-mst-13.2.git] / perl_exp.SH
CommitLineData
a0d0e21e 1#!/bin/sh
2
75f92628 3# Written: Nov 1994 Wayne Scott (wscott@ichips.intel.com)
4
a0d0e21e 5# Create the export list for perl.
6# Needed by AIX to do dynamic linking.
7
8# This simple program relys on 'global.sym' being up to date
9# with all of the global symbols that a dynamicly link library
10# might want to access.
11
bbb28fc1 12# All symbols have a Perl_ prefix because that's what embed.h
13# sticks in front of them.
14
a0d0e21e 15echo "Extracting perl.exp"
16
acf072ce 17rm -f perl.exp
a0d0e21e 18echo "#!" > perl.exp
19
bbb28fc1 20sed -n '/^[A-Za-z]/ s/^/Perl_/p' global.sym >> perl.exp
a0d0e21e 21
75f92628 22# also add symbols from interp.sym
23# They are only needed if -DMULTIPLICITY is not set but it
24# doesn't hurt to include them anyway.
bbb28fc1 25sed -n '/^[A-Za-z]/ p' interp.sym >> perl.exp
75f92628 26
27# extra globals not included above.
a0d0e21e 28cat <<END >> perl.exp
a5f75d66 29perl_init_i18nl14n
a0d0e21e 30perl_init_ext
31perl_alloc
32perl_construct
33perl_destruct
34perl_free
35perl_parse
36perl_run
37perl_get_sv
38perl_get_av
39perl_get_hv
40perl_get_cv
41perl_call_argv
42perl_call_pv
43perl_call_method
44perl_call_sv
45perl_requirepv
acf072ce 46safecalloc
1aef975c 47safemalloc
48saferealloc
49safefree
a0d0e21e 50END