• Home
  • Raw
  • Download

Lines Matching +full:- +full:wl

8 #   DESCRIPTION:    Creates a shareable .o from a set of pre-compiled
18 # (*) -o [OutputFileName] -o shr.o
19 # (*) -e [EntryPointLabel] -e init[OutputBaseName]
20 # (*) -bE:[ExportFile] -bE:[OutputBaseName].exp
21 # (*) -bI:[ImportFile] -bI:./python.exp
22 # -bM:[ModuleType] -bM:SRE
23 # -bhalt:[Number] -bhalt:4
24 # -T[Number] -T512
25 # -H[Number] -H512
26 # -lm
28 # The compiler specific ("-lc" or "-lc_r", "-lpthreads",...)
32 # the pre-compiled .o file(s).
35 # shared modules for the Python interpreter, the -e and
36 # -bI default values match Python's conventions. In
50 # HISTORY: Oct-1996 -- Support added for multiple .o files --
51 # -- and optional arguments processing. --
55 # Aug-6-1996 -- Take care of the compiler specific --
56 # -- args by leaving CC to invoke "ld". --
59 # Jul-1-1996 -- Make sure to use /usr/ccs/bin/ld --
60 # -- Use makexp_aix for the export list. --
63 # Manus Hand (mhand@csn.net) -- Initial code -- 6/24/96
68 if test ! -n "$*"; then
73 test -x "${makexp}" || makexp="@abs_srcdir@/makexp_aix"
79 if test ! -x "$whichcc"; then
84 if test ! -n "$*"; then
89 # Can be overridden by providing a -bI: argument.
93 while test -n "$1"
96 -e | -Wl,-e)
97 if test -z "$2"; then
98 echo "ld_so_aix: The -e flag needs a parameter; exiting."; exit 2
103 -e* | -Wl,-e*)
104 entry=`echo $1 | sed -e "s/-Wl,//" -e "s/-e//"`
106 -o)
107 if test -z "$2"; then
108 echo "ld_so_aix: The -o flag needs a parameter; exiting."; exit 2
113 -o*)
114 objfile=`echo $1 | sed "s/-o//"`
116 -bI:* | -Wl,-bI:*)
117 impfile=`echo $1 | sed -e "s/-Wl,//" -e "s/-bI://"`
119 -bE:* | -Wl,-bE:*)
120 expfile=`echo $1 | sed -e "s/-Wl,//" -e "s/-bE://"`
126 -bM:* | -Wl,-bM:* | -H* | -Wl,-H* | -T* | -Wl,-T* | -lm)
139 if test -z "$objs"; then
142 elif test ! -r "$impfile" -a -z "$ldsocoremode"; then
147 # If -o wasn't specified, assume "-o shr.o"
148 if test -z "$objfile"; then
154 # If -bE: wasn't specified, assume "-bE:$filename.exp"
155 if test -z "$expfile"; then
160 # Can be overridden by providing a -e argument.
161 if test -z "$entry"; then
166 #echo " -> output file : $objfile"
167 #echo " -> import file : $impfile"
168 #echo " -> export file : $expfile"
169 #echo " -> entry point : $entry"
170 #echo " -> object files: $objs"
171 #echo " -> CC arguments: $args"
173 if test -z "$ldsocoremode"; then
174 CCOPT="-Wl,-e$entry -Wl,-bE:$expfile -Wl,-bI:$impfile -Wl,-bhalt:4"
176 CCOPT="-Wl,-bnoentry -Wl,-bE:$expfile -Wl,-bhalt:4"
178 CCOPT="$CCOPT -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 -Wl,-brtl -Wl,-bnortllib -lm -o $objfile"
193 rm -f $expfile