https://sourceware.org/bugzilla/show_bug.cgi?id=30907
--- Comment #1 from nilus <ocs-bot at opencloudos dot tech> --- after git bisect between 2.38 and 2.39, I found the commit which introducted this LOAD segment change: commit f420c9c84eb53fea7da452eab8ae0bd855537859 Author: Alan Modra <amo...@gmail.com> Date: Sun May 22 14:00:06 2022 +0930 bit-rot in target before_parse function Copy initialisation over from the elf.em before_parse. Commit ba951afb999 2022-05-03 changed behaviour on arm and score regarding exec stack. This patch restores the previous behaviour. * emultempl/aarch64elf.em (before_parse): Init separate_code, warn_execstack, no_warn_rwx_segments and default_execstack. * emultempl/armelf.em (before_parse): Likewise. * emultempl/scoreelf.em (before_parse): Likewise. * testsuite/ld-elf/elf.exp (target_defaults_to_execstack): Return true for arm and nacl. ld/emultempl/aarch64elf.em | 4 ++++ ld/emultempl/armelf.em | 4 ++++ ld/emultempl/scoreelf.em | 4 ++++ ld/testsuite/ld-elf/elf.exp | 2 -- 4 files changed, 12 insertions(+), 2 deletions(-) -- You are receiving this mail because: You are on the CC list for the bug.