]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
libctf: get libctf-nobfd.ver from the right place with Solaris ld
authorNick Alcock <nick.alcock@oracle.com>
Wed, 16 Jul 2025 13:43:25 +0000 (14:43 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Wed, 23 Jul 2025 12:06:12 +0000 (13:06 +0100)
We generate de-commented version scripts for Solaris ld (whose
-z gnu-version-script linker option does not support comments),
but after we switched to generating libctf-nobfd.ver itself, we
failed to adjust this code to pick it up from the new location.

libctf/
PR libctf/33161
* configure.ac: Fix libctf-nobfd.ver path on Solaris.
* configure: Regenerated.

libctf/configure
libctf/configure.ac

index 4c244da01008e79da88379d77808c17598922c2a..89c99c2ddbf90f571faf830e0cef2bb033fe5f4a 100755 (executable)
@@ -17023,7 +17023,7 @@ if test -n "$decommented_version_script"; then
    # used by GNU ld.  Use cpp to strip the comments out.  (cpp exists under this
    # name on all platforms that support ld -z gnu-version-script.)
    /lib/cpp < $srcdir/libctf.ver > libctf-decommented.ver
-   /lib/cpp < $srcdir/libctf-nobfd.ver > libctf-nobfd-decommented.ver
+   /lib/cpp < libctf-nobfd.ver > libctf-nobfd-decommented.ver
    VERSION_FLAGS="$ac_cv_libctf_version_script='libctf-decommented.ver'"
    VERSION_FLAGS_NOBFD="$ac_cv_libctf_version_script='libctf-nobfd-decommented.ver'"
 elif test -z "$no_version_script"; then
index dbe311c5af3a9a5a58f27b7d20379acc09191852..40d00e8eb18824fc277ed1d4335b8b1647cde5e3 100644 (file)
@@ -301,7 +301,7 @@ if test -n "$decommented_version_script"; then
    # used by GNU ld.  Use cpp to strip the comments out.  (cpp exists under this
    # name on all platforms that support ld -z gnu-version-script.)
    /lib/cpp < $srcdir/libctf.ver > libctf-decommented.ver
-   /lib/cpp < $srcdir/libctf-nobfd.ver > libctf-nobfd-decommented.ver
+   /lib/cpp < libctf-nobfd.ver > libctf-nobfd-decommented.ver
    VERSION_FLAGS="$ac_cv_libctf_version_script='libctf-decommented.ver'"
    VERSION_FLAGS_NOBFD="$ac_cv_libctf_version_script='libctf-nobfd-decommented.ver'"
 elif test -z "$no_version_script"; then