Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(8)

Side by Side Diff: Modules/ld_so_aix.in

Issue 15550: Trailing white spaces
Patch Set: Created 7 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Modules/_decimal/README.txt ('k') | Modules/Setup.dist » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # 2 #
3 # ======================================================================== 3 # ========================================================================
4 # FILE: ld_so_aix 4 # FILE: ld_so_aix
5 # TYPE: executable, uses makexp_aix 5 # TYPE: executable, uses makexp_aix
6 # SYSTEM: AIX 6 # SYSTEM: AIX
7 # 7 #
8 # DESCRIPTION: Creates a shareable .o from a set of pre-compiled 8 # DESCRIPTION: Creates a shareable .o from a set of pre-compiled
9 # (unshared) .o files 9 # (unshared) .o files
10 # 10 #
11 # USAGE: ld_so_aix [CC] [arguments] 11 # USAGE: ld_so_aix [CC] [arguments]
12 # 12 #
13 # ARGUMENTS: Same as for "ld". The following arguments are processed 13 # ARGUMENTS: Same as for "ld". The following arguments are processed
14 # or supplied by this script (those marked with an asterisk 14 # or supplied by this script (those marked with an asterisk
15 # can be overriden from command line): 15 # can be overriden from command line):
16 # 16 #
17 # Argument Default value 17 # Argument Default value
18 # (*) -o [OutputFileName] -o shr.o 18 # (*) -o [OutputFileName] -o shr.o
(...skipping 20 matching lines...) Expand all
39 # expect an entry point of "initmath"). 39 # expect an entry point of "initmath").
40 # 2. The script accepts multiple .o or .a input files and 40 # 2. The script accepts multiple .o or .a input files and
41 # creates a single (shared) output file. The export list 41 # creates a single (shared) output file. The export list
42 # that is created is based on the output file's basename 42 # that is created is based on the output file's basename
43 # with the suffix ".exp". 43 # with the suffix ".exp".
44 # 3. The resulting shared object file is left in the 44 # 3. The resulting shared object file is left in the
45 # current directory. 45 # current directory.
46 # 4. Uncommenting the "echo" lines gives detailed output 46 # 4. Uncommenting the "echo" lines gives detailed output
47 # about the commands executed in the script. 47 # about the commands executed in the script.
48 # 48 #
49 # 49 #
50 # HISTORY: Oct-1996 -- Support added for multiple .o files -- 50 # HISTORY: Oct-1996 -- Support added for multiple .o files --
51 # -- and optional arguments processing. -- 51 # -- and optional arguments processing. --
52 # Chris Myers (myers@tc.cornell.edu), Keith Kwok 52 # Chris Myers (myers@tc.cornell.edu), Keith Kwok
53 # (kkwok@tc.cornell.edu) and Vladimir Marangozov 53 # (kkwok@tc.cornell.edu) and Vladimir Marangozov
54 # 54 #
55 # Aug-6-1996 -- Take care of the compiler specific -- 55 # Aug-6-1996 -- Take care of the compiler specific --
56 # -- args by leaving CC to invoke "ld". -- 56 # -- args by leaving CC to invoke "ld". --
57 # Vladimir Marangozov 57 # Vladimir Marangozov
58 # 58 #
59 # Jul-1-1996 -- Make sure to use /usr/ccs/bin/ld -- 59 # Jul-1-1996 -- Make sure to use /usr/ccs/bin/ld --
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 -bM:* | -Wl,-bM:* | -H* | -Wl,-H* | -T* | -Wl,-T* | -lm) 125 -bM:* | -Wl,-bM:* | -H* | -Wl,-H* | -T* | -Wl,-T* | -lm)
126 ;; 126 ;;
127 *) 127 *)
128 args="$args $1" 128 args="$args $1"
129 ;; 129 ;;
130 esac 130 esac
131 shift 131 shift
132 done 132 done
133 133
134 if test "$objfile" = "libpython@VERSION@@ABIFLAGS@.so"; then 134 if test "$objfile" = "libpython@VERSION@@ABIFLAGS@.so"; then
135 ldsocoremode="true" 135 ldsocoremode="true"
136 fi 136 fi
137 137
138 if test -z "$objs"; then 138 if test -z "$objs"; then
139 echo "ld_so_aix: No input files; exiting." 139 echo "ld_so_aix: No input files; exiting."
140 exit 2 140 exit 2
141 elif test ! -r "$impfile" -a -z "$ldsocoremode"; then 141 elif test ! -r "$impfile" -a -z "$ldsocoremode"; then
142 echo "ld_so_aix: Import file '$impfile' not found or not readable; exiting." 142 echo "ld_so_aix: Import file '$impfile' not found or not readable; exiting."
143 exit 2 143 exit 2
144 fi 144 fi
145 145
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 # Perform the link. 185 # Perform the link.
186 #echo $CC $CCOPT $CCARGS 186 #echo $CC $CCOPT $CCARGS
187 $CC $CCOPT $CCARGS 187 $CC $CCOPT $CCARGS
188 retval=$? 188 retval=$?
189 189
190 # Delete the module's export list file. 190 # Delete the module's export list file.
191 # Comment this line if you need it. 191 # Comment this line if you need it.
192 rm -f $expfile 192 rm -f $expfile
193 193
194 exit $retval 194 exit $retval
OLDNEW
« no previous file with comments | « Modules/_decimal/README.txt ('k') | Modules/Setup.dist » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+