binutils-gdb/ld/testsuite
Alan Modra 326adec374 PR26378, sections initialised only by linker scripts are always read/write
This changes the initialisation of output sections so that it is
possible to create read-only sections fed only from linker script
BYTE, SHORT, LONG or QUAD.  That currently isn't possible even for one
of the well-known ELF sections like .rodata, because once a section is
marked read/write that sticks.  On the other hand if we start
read-only, well-known ELF sections end up read/write as appropriate.
For example .tdata will still be SHF_ALLOC + SHF_WRITE + SHF_TLS.

	PR 26378
	* ldlang.c (map_input_to_output_sections): Start with a read-only
	section for data statements.
	* testsuite/ld-elf/size-2.d: Adjust to suit.
2021-01-18 23:07:40 +10:30
..
config ld: tests: add -msim when testing bfin targets 2021-01-14 01:09:48 -05:00
ld-aarch64
ld-alpha
ld-arc
ld-arm
ld-auto-import
ld-avr
ld-bootstrap
ld-bpf
ld-cdtest
ld-checks
ld-cris
ld-crx
ld-csky
ld-ctf
ld-cygwin
ld-d10v
ld-discard
ld-dynamic
ld-elf PR26378, sections initialised only by linker scripts are always read/write 2021-01-18 23:07:40 +10:30
ld-elfcomm
ld-elfvers PR26002 undefined symbol VER_NDX_GLOBAL vs. VER_NDX_LOCAL 2021-01-16 11:11:51 +10:30
ld-elfvsb
ld-elfweak
ld-fastcall
ld-frv
ld-gc
ld-h8300
ld-i386 ld/elf: Ignore section symbols when matching linkonce with comdat 2021-01-17 20:01:30 -08:00
ld-ia64
ld-ifunc ld/elf/x86: Don't compare IFUNC address in the shared object 2021-01-16 07:02:36 -08:00
ld-libs
ld-linkonce
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
ld-pie
ld-plugin PR binutils/23460: Increase the max number of open files to 20 2021-01-16 18:36:54 -08:00
ld-powerpc
ld-pru
ld-riscv-elf RISC-V: Error and warning messages tidy. 2021-01-15 17:33:59 +08:00
ld-s12z
ld-s390
ld-scripts sh-pe ld XPASSes 2021-01-08 00:32:43 +10:30
ld-selective
ld-sh
ld-shared
ld-size
ld-sparc
ld-spu
ld-srec
ld-tic6x
ld-tilegx
ld-tilepro
ld-undefined
ld-unique
ld-v850
ld-vax-elf
ld-visium
ld-vxworks
ld-x86-64 ld/x86: Add -z report-relative-reloc 2021-01-15 18:07:07 -08:00
ld-xc16x
ld-xstormy16
ld-xtensa
ld-z8k
ld-z80
lib
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