summaryrefslogtreecommitdiff
path: root/ltconfig
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-09 21:41:11 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2000-11-09 21:41:11 +0000
commita6fdcbb2354d94f60ee40aba178a367a19985e5d (patch)
tree4ab6bf8dba606356735a973fb895568471fd5a29 /ltconfig
parentf78cf493057d08da63ac3237c13b0cf14ccdda50 (diff)
downloadgcc-a6fdcbb2354d94f60ee40aba178a367a19985e5d.tar.gz
* ltcf-c.sh (aix4): Improve shared library configuration; require
exporting symbols. * ltcf-cxx.sh (aix4): Define. * ltconfig (aix4): Define library and soname specs appropriate for AIX. Define command to create export symbols list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37347 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'ltconfig')
-rwxr-xr-xltconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/ltconfig b/ltconfig
index fb0bf8b8b18..a79434264e4 100755
--- a/ltconfig
+++ b/ltconfig
@@ -949,8 +949,10 @@ aix4*)
# collect2, so additional links can be useful in future.
# We preserve .a as extension for shared libraries though AIX4.2
# and later linker supports .so
- library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.a'
+ library_names_spec='${libname}${release}.a $libname.a'
shlibpath_var=LIBPATH
+ soname_spec='${libname}${release}.so$major.o'
+ export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
;;
amigaos*)