diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-10-17 22:36:25 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-10-17 22:36:25 +0000 |
commit | 235c6a672fe6e74eb2587827e56561a8117f493f (patch) | |
tree | 56bff557bec654f4017b6bbbeaa38bcf4047a805 /ld/ld.1 | |
parent | 11fa66365b119213e1ba42c533fed9cee0b8c73f (diff) | |
download | gdb-235c6a672fe6e74eb2587827e56561a8117f493f.zip gdb-235c6a672fe6e74eb2587827e56561a8117f493f.tar.gz gdb-235c6a672fe6e74eb2587827e56561a8117f493f.tar.bz2 |
* emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Move
directory searching code into gld${EMULATION_NAME}_search_dir.
(gld${EMULATION_NAME}_search_dir): New static function, extracted
from gld${EMULATION_NAME}_find_so.
(global_needed, global_found): New static variables.
(gld${EMULATION_NAME}_after_open): New static function.
(gld${EMULATION_NAME}_search_needed): New static function.
(gld${EMULATION_NAME}_try_needed): New static function.
(gld${EMULATION_NAME}_check_needed): New static function.
(ld_${EMULATION_NAME}_emulation): Use new after_open function.
* ld.texinfo, ld.1: Mention -rpath-link on SunOS.
Diffstat (limited to 'ld/ld.1')
-rw-r--r-- | ld/ld.1 | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -729,8 +729,8 @@ options which may be on NFS mounted filesystems. .TP .B \-rpath\-link\ \fIdirectory -When using ELF, one shared library may require another. This happens -when an +When using ELF or SunOS, one shared library may require another. This +happens when an .B ld\ \-shared link includes a shared library as one of the input files. @@ -757,8 +757,12 @@ Omits all symbol information from the output file. .TP .B \-shared -Create a shared library. This is currently only supported on ELF -platforms. +Create a shared library. This is currently only supported on ELF and +SunOS platforms (on SunOS it is not required, as the linker will +automatically create a shared library when there are undefined symbols +and the +.B \-e +option is not used). .TP .B \-sort\-common |