diff options
author | Guido van Rossum <guido@python.org> | 2005-09-14 18:09:42 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2005-09-14 18:09:42 (GMT) |
commit | 8ee3e5aa9306a00573817e237bed4a482473e818 (patch) | |
tree | 6d5dc937d3b495c5295fe6c5c4b3e212ab5509c0 /Modules/makexp_aix | |
parent | 539c662f10b41d15f658cabfa03cc02902862adc (diff) | |
download | cpython-8ee3e5aa9306a00573817e237bed4a482473e818.zip cpython-8ee3e5aa9306a00573817e237bed4a482473e818.tar.gz cpython-8ee3e5aa9306a00573817e237bed4a482473e818.tar.bz2 |
- Changes donated by Elemental Security to make it work on AIX 5.3
with IBM's 64-bit compiler (SF patch #1284289). This also closes SF
bug #105470: test_pwd fails on 64bit system (Opteron).
Diffstat (limited to 'Modules/makexp_aix')
-rwxr-xr-x | Modules/makexp_aix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Modules/makexp_aix b/Modules/makexp_aix index 9d3bccb..cb349c2 100755 --- a/Modules/makexp_aix +++ b/Modules/makexp_aix @@ -70,6 +70,12 @@ echo "*" >> $expFileName # left with just the symbol name. # 7. Eliminate all entries containing two colons, like Class::method # -/usr/ccs/bin/nm -Bex $inputFiles \ + +# Use -X32_64 if it appears to be implemented in this version of 'nm'. +NM=/usr/ccs/bin/nm +xopt=-X32_64 +$NM -e $xopt $1 >/dev/null 2>&1 || xopt="" + +$NM -Bex $xopt $inputFiles \ | sed -e '/ [^BDT] /d' -e '/\./d' -e 's/.* [BDT] //' -e '/::/d' \ | sort | uniq >> $expFileName |