Project

General

Profile

Bug #4795

/usr/bin/ld manpage and help should indicate '-soname' not '--soname'

Added by Richard PALO about 6 years ago. Updated about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2014-04-22
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

$/usr/bin/ld -z help
...
    [-h name], [--soname name]
            use 'name' as internal shared object identifier
...
$ man /usr/bin/ld
...
     -h name
     --soname name

         In dynamic mode only, when  building  a  shared  object,
         records  name  in  the object's dynamic section. name is
         recorded in any dynamic objects  that  are  linked  with
         this  object  rather than the object's file system name.
         Accordingly, name is used by the runtime linker  as  the
         name  of the shared object to search for at runtime. See
         Recording a Shared Object Name in Linker  and  Libraries
         Guide.

sun ld has never supported '--soname', only '-soname' as do gnu ld and gold. These strings should be fixed.

(webrev coming)

Also available in: Atom PDF