binutils-gdb/ld/testsuite
Alan Modra 6f9dbcd42f PR21287, Inconsistent section type for .init_array and .init_array.42
PR21287 notes that .init_array is correctly given a type of
SHT_INIT_ARRAY while .init_array.nnn gets SHT_PROGBITS.  This patch
fixes that problem, and properly drops warnings from the compiler that
would cause the testsuite to fail.  My a44d0bd78 change to check
ld_compile status, necessary to pick up compile errors, also meant
warnings were not ignored.

bfd/
	PR 21287
	* elf.c (special_sections_f): Match .fini_array and .fini_array.*.
	(special_sections_i): Likewise for .init_array.
	(special_sections_p): Likewise for .preinit_array.
ld/
	PR 21287
	* testsuite/ld-elf/init-fini-arrays.d: Match INIT_ARRAY and FINI_ARRAY.
	* testsuite/ld-elf/init-fini-arrays.s: Use %init_array and %fini_array
	section types.
	* testsuite/lib/ld-lib.exp (default_ld_compile): Trim assembler
	warnings about "ignoring incorrect section type".
	(run_ld_link_exec_tests, run_cc_link_tests): Delete old comment.
2017-04-10 15:11:35 +09:30
..
config
ld-aarch64 Rename R_AARCH64_TLSDESC_LD64_LO12_NC to R_AARCH64_TLSDESC_LD64_LO12 and R_AARCH64_TLSDESC_ADD_LO12_NC to R_AARCH64_TLSDESC_ADD_LO12. 2017-03-13 09:58:04 +00:00
ld-alpha Align eh_frame FDEs according to their encoding 2017-03-05 14:49:54 +10:30
ld-arc
ld-arm
ld-auto-import
ld-avr
ld-bootstrap
ld-cdtest
ld-checks ld-checks: tweak overflow checks. 2017-03-15 10:23:19 +01:00
ld-cris Fix for PR ld/16044: elf32-cris.c h->plt.refcount inconsistency 2017-03-28 23:43:09 +02:00
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf PR21287, Inconsistent section type for .init_array and .init_array.42 2017-04-10 15:11:35 +09:30
ld-elfcomm
ld-elfvers
ld-elfvsb Clean elfvsb files left over from previous runs 2017-04-10 15:10:58 +09:30
ld-elfweak
ld-fastcall
ld-frv
ld-gc
ld-h8300
ld-i386 ld: Support ELF GNU program properties 2017-04-03 08:08:27 -07:00
ld-ia64
ld-ifunc Fix compile time warning message in linker testsuite test. 2017-02-21 11:00:21 +00:00
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-metag
ld-mips-elf Align eh_frame FDEs according to their encoding 2017-03-05 14:49:54 +10:30
ld-misc
ld-mmix
ld-mn10300
ld-nds32
ld-nios2
ld-pe pe/coff: handle weak defined symbol for gc-sections. 2017-04-07 10:03:17 +02:00
ld-pie
ld-plugin ld: Add additional checking for warnings/errors in testsuite 2017-02-16 13:06:12 +00:00
ld-powerpc PowerPC addpcis fix 2017-02-28 11:59:47 +10:30
ld-pru
ld-s390
ld-scripts Testsuite fixes for hppa64-hpux 2017-02-25 19:13:34 +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, testsuite] Append $board_cflags in one more place in ld-unique/unique.exp 2017-02-01 12:57:25 +00:00
ld-v850
ld-vax-elf
ld-versados
ld-visium
ld-vxworks
ld-x86-64 Use NOPIE_CFLAGS and NOPIE_LDFLAGS to disable PIE 2017-04-07 08:53:43 -07:00
ld-xc16x
ld-xstormy16
ld-xtensa
ld-z8k
lib PR21287, Inconsistent section type for .init_array and .init_array.42 2017-04-10 15:11:35 +09:30
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