From MAILER-DAEMON Thu Sep 10 14:58:17 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1x4jyT-0006T9-1g
	for mharc-libtool-commit@gnu.org; Thu, 10 Sep 2026 14:58:17 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1x4jyS-0006Ss-3j
 for libtool-commit@gnu.org; Thu, 10 Sep 2026 14:58:16 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1x4jyQ-0006t6-IE
 for libtool-commit@gnu.org; Thu, 10 Sep 2026 14:58:15 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 80D15C0DA3D; Thu, 10 Sep 2026 14:58:06 -0400 (EDT)
Date: Thu, 10 Sep 2026 14:58:05 -0400
To: libtool-commit@gnu.org
Subject: branch development updated: Support AOCC Fortran compiler 'aof'
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <178906668593.1175.1559784983117407852@vcs2.savannah.gnu.org>
Reply-To: ejose <ejose@amd.com>
X-Git-Host: vcs2.savannah.gnu.org
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Oldrev: 9621f6897dfac7357b8d9d86afccb1f0b33352e4
X-Git-Newrev: b8f48db5f03025ab234ec4728ee2525448513376
X-Git-Rev: b8f48db5f03025ab234ec4728ee2525448513376
X-Git-NotificationType: ref_changed_plus_diff
X-Git-Multimail-Version: 1.6.dev
Auto-Submitted: auto-generated
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Sep 2026 18:58:16 -0000

This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch development
in repository libtool.

The following commit(s) were added to refs/heads/development by this push:
     new b8f48db5 Support AOCC Fortran compiler 'aof'
b8f48db5 is described below

commit b8f48db5f03025ab234ec4728ee2525448513376
Author: ejose <ejose@amd.com>
AuthorDate: Wed Aug 12 04:14:35 2026 +0000

    Support AOCC Fortran compiler 'aof'
    
    Add aof* to the Flang Fortran compiler recognition in libtool.m4 so AOCC's Fortran driver is handled like upstream flang.
---
 NEWS          | 4 ++++
 m4/libtool.m4 | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 9d0eda9c..827c97aa 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 
 * Noteworthy changes in release ?.? (????-??-??) [?]
 
+** Changes in supported systems or compilers:
+
+  - Support AOCC Fortran compiler 'aof'.
+
 
 * Noteworthy changes in release 2.6.2 (2026-07-16) [stable]
 
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 96e6c7d0..22d0635b 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -4969,7 +4969,7 @@ m4_if([$1], [CXX], [
 	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 	_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
         ;;
-      *flang* | ftn | f18* | f95*)
+      *flang* | aof* | ftn | f18* | f95*)
         # Flang compiler.
 	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'


From MAILER-DAEMON Thu Sep 10 14:58:30 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1x4jyg-0006UK-6Y
	for mharc-libtool-commit@gnu.org; Thu, 10 Sep 2026 14:58:30 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1x4jya-0006Tp-6G
 for libtool-commit@gnu.org; Thu, 10 Sep 2026 14:58:25 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1x4jyZ-0007Gb-UD
 for libtool-commit@gnu.org; Thu, 10 Sep 2026 14:58:23 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id DBB9AC0DA3D; Thu, 10 Sep 2026 14:58:23 -0400 (EDT)
Date: Thu, 10 Sep 2026 14:58:23 -0400
To: libtool-commit@gnu.org
Subject: branch master updated: Support AOCC Fortran compiler 'aof'
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <178906670350.1999.5828209379467266169@vcs2.savannah.gnu.org>
Reply-To: ejose <ejose@amd.com>
X-Git-Host: vcs2.savannah.gnu.org
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: b9f13756ab2f32426630095ac1f0d049ce38e77d
X-Git-Newrev: 7d843c7cb86f962ae30fad43119c0a61f7f7cd55
X-Git-Rev: 7d843c7cb86f962ae30fad43119c0a61f7f7cd55
X-Git-NotificationType: ref_changed_plus_diff
X-Git-Multimail-Version: 1.6.dev
Auto-Submitted: auto-generated
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Sep 2026 18:58:26 -0000

This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch master
in repository libtool.

The following commit(s) were added to refs/heads/master by this push:
     new 7d843c7c Support AOCC Fortran compiler 'aof'
7d843c7c is described below

commit 7d843c7cb86f962ae30fad43119c0a61f7f7cd55
Author: ejose <ejose@amd.com>
AuthorDate: Wed Aug 12 04:14:35 2026 +0000

    Support AOCC Fortran compiler 'aof'
    
    Add aof* to the Flang Fortran compiler recognition in libtool.m4 so AOCC's Fortran driver is handled like upstream flang.
---
 NEWS          | 4 ++++
 m4/libtool.m4 | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 9d0eda9c..827c97aa 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 
 * Noteworthy changes in release ?.? (????-??-??) [?]
 
+** Changes in supported systems or compilers:
+
+  - Support AOCC Fortran compiler 'aof'.
+
 
 * Noteworthy changes in release 2.6.2 (2026-07-16) [stable]
 
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 96e6c7d0..22d0635b 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -4969,7 +4969,7 @@ m4_if([$1], [CXX], [
 	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 	_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
         ;;
-      *flang* | ftn | f18* | f95*)
+      *flang* | aof* | ftn | f18* | f95*)
         # Flang compiler.
 	_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
 	_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'


From MAILER-DAEMON Fri Sep 11 10:59:00 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1x52iN-0002Pk-Ui
	for mharc-libtool-commit@gnu.org; Fri, 11 Sep 2026 10:58:57 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1x52iA-0002Ha-TA
 for libtool-commit@gnu.org; Fri, 11 Sep 2026 10:58:46 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1x52iA-0005Wa-Kk
 for libtool-commit@gnu.org; Fri, 11 Sep 2026 10:58:42 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 0ACCFC0DA3F; Fri, 11 Sep 2026 10:58:41 -0400 (EDT)
Date: Fri, 11 Sep 2026 10:58:41 -0400
To: libtool-commit@gnu.org
Subject: branch development updated: tests: Fix tests on macOS Tahoe 2.5.2
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <178913872125.11659.2061479921563737886@vcs2.savannah.gnu.org>
Reply-To: Erik A Johnson <JohnsonE@usc.edu>
X-Git-Host: vcs2.savannah.gnu.org
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Oldrev: b8f48db5f03025ab234ec4728ee2525448513376
X-Git-Newrev: a4feeccd610e4c6be5e151e1403169359f20b1c5
X-Git-Rev: a4feeccd610e4c6be5e151e1403169359f20b1c5
X-Git-NotificationType: ref_changed_plus_diff
X-Git-Multimail-Version: 1.6.dev
Auto-Submitted: auto-generated
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Sep 2026 14:58:48 -0000

This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch development
in repository libtool.

The following commit(s) were added to refs/heads/development by this push:
     new a4feeccd tests: Fix tests on macOS Tahoe 2.5.2
a4feeccd is described below

commit a4feeccd610e4c6be5e151e1403169359f20b1c5
Author: Erik A Johnson <JohnsonE@usc.edu>
AuthorDate: Sun Jul 26 02:07:00 2026 +0300

    tests: Fix tests on macOS Tahoe 2.5.2
    
    [GNU Libtool 2.6.2] testsuite: 156 187 failed
    
    Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=81497
    
    * tests/exceptions.at: Set LTDL_LIBRARY_PATH to current working dir.
---
 tests/exceptions.at | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/exceptions.at b/tests/exceptions.at
index b1f7408c..42363ba2 100644
--- a/tests/exceptions.at
+++ b/tests/exceptions.at
@@ -395,6 +395,8 @@ AT_CHECK([$LIBTOOL --mode=link --tag=CXX $CXX $CXXFLAGS $LDFLAGS -o main$EXEEXT
 	 [main.$OBJEXT l/liba.la l/libcommon.la -dlopen m/module.la $LIBLTDL -export-dynamic],
 	 [], [ignore], [ignore])
 
+LTDL_LIBRARY_PATH=`pwd`
+export LTDL_LIBRARY_PATH
 LT_AT_NOINST_EXEC_CHECK([./main], [-dlopen m/module.la], [], [ignore], [ignore])
 
 AT_CHECK([$LIBTOOL --mode=install cp l/libcommon.la $libdir],


From MAILER-DAEMON Sat Sep 12 11:30:47 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1x5Pgl-0008Ny-Kn
	for mharc-libtool-commit@gnu.org; Sat, 12 Sep 2026 11:30:47 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1x5Pgh-0008Nq-VS
 for libtool-commit@gnu.org; Sat, 12 Sep 2026 11:30:46 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1x5Pgh-0008GH-MW
 for libtool-commit@gnu.org; Sat, 12 Sep 2026 11:30:43 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 160D9C0DEC0; Sat, 12 Sep 2026 11:30:40 -0400 (EDT)
Date: Sat, 12 Sep 2026 11:30:40 -0400
To: libtool-commit@gnu.org
Subject: branch development updated: ltmain: Pass through -fno-lto and
 -ffixed=*
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <178922704025.22399.10138285271813948174@vcs2.savannah.gnu.org>
Reply-To: Marc <m@pyc.ac>
X-Git-Host: vcs2.savannah.gnu.org
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Oldrev: a4feeccd610e4c6be5e151e1403169359f20b1c5
X-Git-Newrev: ef972c6d188d7bdfb9cf791748c0b9afcb97156e
X-Git-Rev: ef972c6d188d7bdfb9cf791748c0b9afcb97156e
X-Git-NotificationType: ref_changed_plus_diff
X-Git-Multimail-Version: 1.6.dev
Auto-Submitted: auto-generated
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 12 Sep 2026 15:30:46 -0000

This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch development
in repository libtool.

The following commit(s) were added to refs/heads/development by this push:
     new ef972c6d ltmain: Pass through -fno-lto and -ffixed=*
ef972c6d is described below

commit ef972c6d188d7bdfb9cf791748c0b9afcb97156e
Author: Marc <m@pyc.ac>
AuthorDate: Thu Sep 10 21:19:40 2026 +0200

    ltmain: Pass through -fno-lto and -ffixed=*
    
    Reported: https://lists.gnu.org/archive/html/libtool-patches/2026-09/msg00000.html
    
    * build-aux/ltmain.in: Pass through -fno-lto and -ffixed=*.
    * NEWS: Update.
---
 NEWS                | 5 +++++
 build-aux/ltmain.in | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/NEWS b/NEWS
index 827c97aa..b702d93b 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,11 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 
 * Noteworthy changes in release ?.? (????-??-??) [?]
 
+** New features:
+
+  - Pass through -fno-lto and -ffixed=* to disable link-time optimization
+    and reserve registers.
+
 ** Changes in supported systems or compilers:
 
   - Support AOCC Fortran compiler 'aof'.
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index af2f7560..0cf5aaf0 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -5666,6 +5666,8 @@ func_mode_link ()
       # --sysroot=*          for sysroot support
       # --target=*           for target architecture support
       # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
+      # -fno-lto             disable link-time optimization
+      # -ffixed=*            reserve registers
       # -specs=*             GCC specs files
       # -stdlib=*            select c++ std lib with clang
       # -fdiagnostics-color* simply affects output
@@ -5687,6 +5689,7 @@ func_mode_link ()
       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
       -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*|--target=*| \
       -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-no-canonical-prefixes| \
+      -fno-lto|-ffixed=*| \
       -stdlib=*|-resource-dir=*|-rtlib=*|--unwindlib=*| \
       -specs=*|-fsanitize=*|-fno-sanitize*|-shared-libsan|-static-libsan| \
       -ffile-prefix-map=*|-fdebug-prefix-map=*|-fmacro-prefix-map=*|-fprofile-prefix-map=*| \


From MAILER-DAEMON Sat Sep 12 12:43:34 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1x5QpB-0000sZ-P6
	for mharc-libtool-commit@gnu.org; Sat, 12 Sep 2026 12:43:34 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1x5Qoz-0000p1-Cn
 for libtool-commit@gnu.org; Sat, 12 Sep 2026 12:43:21 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1x5Qoy-0001wi-Qu
 for libtool-commit@gnu.org; Sat, 12 Sep 2026 12:43:21 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 3BC3EC0DEC0; Sat, 12 Sep 2026 12:43:20 -0400 (EDT)
Date: Sat, 12 Sep 2026 12:43:19 -0400
To: libtool-commit@gnu.org
Subject: branch master updated: ltmain: Pass through -fno-lto and -ffixed=*
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <178923139982.27416.6528618131201694663@vcs2.savannah.gnu.org>
Reply-To: Marc <m@pyc.ac>
X-Git-Host: vcs2.savannah.gnu.org
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 7d843c7cb86f962ae30fad43119c0a61f7f7cd55
X-Git-Newrev: 4f47d5565ff3324c3d300a2ae318c9f9981af227
X-Git-Rev: 4f47d5565ff3324c3d300a2ae318c9f9981af227
X-Git-NotificationType: ref_changed_plus_diff
X-Git-Multimail-Version: 1.6.dev
Auto-Submitted: auto-generated
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 12 Sep 2026 16:43:27 -0000

This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch master
in repository libtool.

The following commit(s) were added to refs/heads/master by this push:
     new 4f47d556 ltmain: Pass through -fno-lto and -ffixed=*
4f47d556 is described below

commit 4f47d5565ff3324c3d300a2ae318c9f9981af227
Author: Marc <m@pyc.ac>
AuthorDate: Thu Sep 10 21:19:40 2026 +0200

    ltmain: Pass through -fno-lto and -ffixed=*
    
    Reported: https://lists.gnu.org/archive/html/libtool-patches/2026-09/msg00000.html
    
    * build-aux/ltmain.in: Pass through -fno-lto and -ffixed=*.
    * NEWS: Update.
---
 NEWS                | 5 +++++
 build-aux/ltmain.in | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/NEWS b/NEWS
index 827c97aa..b702d93b 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,11 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 
 * Noteworthy changes in release ?.? (????-??-??) [?]
 
+** New features:
+
+  - Pass through -fno-lto and -ffixed=* to disable link-time optimization
+    and reserve registers.
+
 ** Changes in supported systems or compilers:
 
   - Support AOCC Fortran compiler 'aof'.
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index af2f7560..0cf5aaf0 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -5666,6 +5666,8 @@ func_mode_link ()
       # --sysroot=*          for sysroot support
       # --target=*           for target architecture support
       # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
+      # -fno-lto             disable link-time optimization
+      # -ffixed=*            reserve registers
       # -specs=*             GCC specs files
       # -stdlib=*            select c++ std lib with clang
       # -fdiagnostics-color* simply affects output
@@ -5687,6 +5689,7 @@ func_mode_link ()
       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
       -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*|--target=*| \
       -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-no-canonical-prefixes| \
+      -fno-lto|-ffixed=*| \
       -stdlib=*|-resource-dir=*|-rtlib=*|--unwindlib=*| \
       -specs=*|-fsanitize=*|-fno-sanitize*|-shared-libsan|-static-libsan| \
       -ffile-prefix-map=*|-fdebug-prefix-map=*|-fmacro-prefix-map=*|-fprofile-prefix-map=*| \


