]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[GOLD] Increase --split-stack-adjust-size
authorAlan Modra <amodra@gmail.com>
Wed, 7 Oct 2020 23:57:43 +0000 (10:27 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 8 Oct 2020 00:58:05 +0000 (11:28 +1030)
commitf9ff65d4dffbaf342dce7a8760059c27683cd962
tree23d322445609fc646df1c053ee567e1f430d9214
parent467eed626acb268c3575e171c030dc0cecf3032a
[GOLD] Increase --split-stack-adjust-size

For functions with small (< 256 bytes) stack frames, the current x86
do_calls_non_split ignores --split-stack-adjust-size and, in
combination with __morestack_non_split, supplies a non-split-stack
function with at least 0x100000 (1M) available stack.  On powerpc64, a
default of 0x4000 is not large enough to reliably work with the golang
testsuite.  This increase the default size to the defacto x86 value.

* options.h (split_stack_adjust_size): Default to 0x100000.
gold/ChangeLog
gold/options.h