]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Generic configury support for shared libs on VxWorks
authorOlivier Hainque <hainque@adacore.com>
Mon, 7 Aug 2023 11:07:33 +0000 (13:07 +0200)
committerAlan Modra <amodra@gmail.com>
Sat, 12 Aug 2023 00:55:05 +0000 (10:25 +0930)
commitf34b00a4362dd9bd6a05ca796d40e42656291d23
treea7a0c4dd97ae65b0a81299bdaf61ef00da48a3d5
parent5006459c397a5d7b9acd5e857ff1d74dfb7b8c0e
Generic configury support for shared libs on VxWorks

This change adds the configury bits to activate the build of
shared libs on VxWorks ports configured with --enable-shared,
for libraries variants where this is generally supported (rtp,
code model !large - currently not compatible with -fPIC).

Set lt_cv_deplibs_check_method in libtool.m4, so the build of
libraries know how to establish dependencies.  This is useful in
configurations such as aarch64 where proper support of LSE relies
on accurate dependency information between libstdc++ and libgcc_s
to begin with.

* libtool.m4 (*vxworks*): When enable_shared, set dynamic_linker
and friends for rtp !large. Assume the linker has the required
abilities and set lt_cv_deplibs_check_method.
libtool.m4