/usr/bin/ld manpage and help should indicate '-soname' not '--soname'
$/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.
Updated by Electric Monk 8 months ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 3b5bbfc55d79c42ba1d3c6de2178627cbfcccff8 Author: Richard PALO <richard@NetBSD.org> Date: 2022-01-31T23:46:46.000Z 4795 /usr/bin/ld manpage and help should indicate '-soname' not '--soname' Reviewed by: Robert Mustacchi <email@example.com> Reviewed by: Yuri Pankov <firstname.lastname@example.org> Reviewed by: Gordon Ross <Gordon.W.Ross@gmail.com> Approved by: Dan McDonald <email@example.com>