aboutsummaryrefslogtreecommitdiff
path: root/ltconfig
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2000-11-09 21:41:11 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2000-11-09 16:41:11 -0500
commit7ca0e6d96e806cb6fd026dfda2e58449af177969 (patch)
tree4ab6bf8dba606356735a973fb895568471fd5a29 /ltconfig
parentb52114d28357b7616e6c5d25cffd25a0799b2682 (diff)
downloadgcc-7ca0e6d96e806cb6fd026dfda2e58449af177969.zip
gcc-7ca0e6d96e806cb6fd026dfda2e58449af177969.tar.gz
gcc-7ca0e6d96e806cb6fd026dfda2e58449af177969.tar.bz2
ltcf-c.sh (aix4): Improve shared library configuration; require exporting symbols.
* 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. From-SVN: r37347
Diffstat (limited to 'ltconfig')
-rwxr-xr-xltconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/ltconfig b/ltconfig
index fb0bf8b..a794342 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*)