binutils-gdb/ld/testsuite
Hans-Peter Nilsson 81cd0a49c9 cris: bfd: Correct default to no execstack
In the now-historical CRIS glibc port, the default stack permission
was no-exec as in "#define DEFAULT_STACK_PERMS (PF_R|PF_W)", and the
gcc port only emits the executable-stack marker when needed; when
emitting code needing it.  In other words, the binutils setting
mismatches.  It doesn't matter much, except being confusing and
defaulting to "off" is more sane.

ld:

	* testsuite/ld-elf/elf.exp (target_defaults_to_execstack): Switch to 0
	for cris*-*-*.

bfd:
	* elf32-cris.c (elf_backend_default_execstack): Define to 0.

Change-Id: I52f37598f119b19111c7a6546c00a627fca0f396
2022-05-27 01:02:46 +02:00
..
config Enable "size" as a dumpprog in ld 2022-02-05 17:37:19 +10:30
ld-aarch64
ld-alpha
ld-arc
ld-arm
ld-auto-import
ld-avr
ld-bootstrap ld: add --package-metadata 2022-05-26 12:56:12 +09:30
ld-bpf
ld-cdtest
ld-checks
ld-cris prune .note.GNU-stack warning from testsuite 2022-04-21 15:31:39 +09:30
ld-crx
ld-csky
ld-ctf libctf: impose an ordering on conflicting types 2022-04-28 11:47:12 +01:00
ld-cygwin
ld-d10v
ld-discard
ld-dynamic
ld-elf cris: bfd: Correct default to no execstack 2022-05-27 01:02:46 +02:00
ld-elfcomm
ld-elfvers
ld-elfweak
ld-fastcall
ld-frv Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
ld-gc Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
ld-h8300
ld-i386 i386: Pass -z noexecstack to linker tests 2022-04-26 09:28:24 -07:00
ld-ia64
ld-ifunc
ld-libs
ld-linkonce
ld-loongarch-elf ld:LoongArch: Add test cases to adapt to LoongArch32 and LoongArch64 2022-03-20 09:37:13 +08:00
ld-m68hc11
ld-m68k
ld-mep
ld-metag
ld-mips-elf
ld-misc
ld-mmix
ld-mn10300
ld-msp430-elf
ld-nds32
ld-nios2
ld-or1k
ld-pdp11
ld-pe Add support for COFF secidx relocations 2022-04-07 14:47:17 +01:00
ld-pie
ld-plugin LTO: Handle __real_SYM reference in IR 2022-05-04 16:26:51 -07:00
ld-powerpc PowerPC32 treatment of absolute symbols 2022-05-04 14:41:56 +09:30
ld-pru
ld-riscv-elf RISC-V: Stop reporting warnings for mismatched extension versions 2022-02-08 08:23:28 -08:00
ld-s12z
ld-s390 Revert "elf: Remove the 1-page gap before the RELRO segment" 2022-02-07 13:42:41 +10:30
ld-scripts ld testsuite xcoff XPASS 2022-04-21 15:30:50 +09:30
ld-selective
ld-sh
ld-shared
ld-size
ld-sparc
ld-spu
ld-srec
ld-tic6x Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
ld-tilegx
ld-tilepro
ld-undefined
ld-unique Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
ld-v850
ld-vax-elf
ld-visium
ld-vsb
ld-vxworks
ld-x86-64 x86: Properly handle function pointer reference 2022-04-28 09:20:30 -07:00
ld-xc16x
ld-xstormy16
ld-xtensa
ld-z8k
ld-z80
lib ld, testsuite: improve CTF-availability test 2022-03-23 13:38:16 +00:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-9303