diff options
author | David Edelsohn <edelsohn@gnu.org> | 2000-11-09 21:41:11 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2000-11-09 16:41:11 -0500 |
commit | 7ca0e6d96e806cb6fd026dfda2e58449af177969 (patch) | |
tree | 4ab6bf8dba606356735a973fb895568471fd5a29 /ltconfig | |
parent | b52114d28357b7616e6c5d25cffd25a0799b2682 (diff) | |
download | gcc-7ca0e6d96e806cb6fd026dfda2e58449af177969.tar.gz |
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-x | ltconfig | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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*) |