]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: support --gsframe=no
authorSam James <sam@gentoo.org>
Thu, 3 Jul 2025 11:53:22 +0000 (12:53 +0100)
committerSam James <sam@gentoo.org>
Tue, 15 Jul 2025 00:17:09 +0000 (01:17 +0100)
commite6b2368b9556ea6298a1f0de97baeabf1b5b18fd
tree9531b03cfae343a8c6a35506de0d622cc619f72c
parent387efef5fef727cbe52099dcd5012905c4205be3
gas: support --gsframe=no

Being able to explicitly disable SFrames on the command line is useful,
especially when looking at a gas that enables SFrames by default. The
binutils testsuite will benefit from this as there's testcases that don't
expect their presence.

In summary:
* Nothing is passed       => no SFrames (no change from before)
* --gsframe is passed     => SFrames    (no change from before)
* --gsframe=yes is passed => SFrames    (previously rejected)
* --gsframe-no  is passed => no SFrames (previously rejected)

PR gas/33125
* gas/as.c (parse_args): Accept --gsframe=no, --gsframe=yes.
gas/as.c