binutils-gdb/ld/testsuite
Clément Chigot 95a20247e8 ld/testsuite: consistently add board_ldflags when linking with GCC
Currently, the functions checking if the compiler is available or if a
feature is available add both board_cflags and board_ldflags.
However, functions running the tests only retrieve board_cflags. This
can lead to unexpected errors when mandaratory flags are defined in
board_ldflags and not board_cflags.

ld/ChangeLog:

	* testsuite/ld-unique/unique.exp: Add board_ldflags when
	linking with GCC.
	* testsuite/lib/ld-lib.exp: Likewise.
2022-10-17 13:02:54 +02:00
..
config ld/testsuite: allow to force another directory for gcc linker 2022-09-22 09:23:18 +02:00
ld-aarch64 ld: aarch64: Adjust TLS relaxation condition 2022-08-02 12:10:01 +01:00
ld-alpha
ld-arc
ld-arm readelf: print 0x0 as 0, and remove trailing spaces 2022-08-13 14:11:27 +09:30
ld-auto-import
ld-avr
ld-bootstrap binutils, gdb: support zstd compressed debug sections 2022-09-26 19:50:13 -07:00
ld-bpf
ld-cdtest
ld-checks
ld-cris Trailing spaces in objdump -r header 2022-05-31 11:25:09 +09:30
ld-crx
ld-csky Trailing spaces in objdump -r header 2022-05-31 11:25:09 +09:30
ld-ctf Modify ld-ctf test files to suit ARM 2022-09-14 10:19:57 +09:30
ld-cygwin
ld-d10v
ld-discard
ld-dynamic
ld-elf ld/testsuite: force warnings when dealing with execstack tests 2022-09-28 16:19:28 +02:00
ld-elfcomm
ld-elfvers Re: egrep in binutils 2022-09-28 23:01:56 +09:30
ld-elfweak
ld-fastcall
ld-frv
ld-gc
ld-h8300
ld-i386 i386: Don't allow GOTOFF relocation against IFUNC symbol for PIC 2022-07-21 11:40:27 -07:00
ld-ia64
ld-ifunc i386: Don't allow GOTOFF relocation against IFUNC symbol for PIC 2022-07-21 11:40:27 -07:00
ld-libs
ld-linkonce
ld-loongarch-elf LoongArch: Fix R_LARCH_IRELATIVE insertion after elf_link_sort_relocs 2022-09-20 17:16:06 +08:00
ld-m68hc11
ld-m68k
ld-mep
ld-metag Trailing spaces in objdump -r header 2022-05-31 11:25:09 +09:30
ld-mips-elf BFD_RELOC_MIPS_16 2022-06-14 10:03:55 +09:30
ld-misc
ld-mmix
ld-mn10300 Trailing spaces in objdump -r header 2022-05-31 11:25:09 +09:30
ld-msp430-elf
ld-nds32
ld-nios2 Trailing spaces in objdump -r header 2022-05-31 11:25:09 +09:30
ld-or1k
ld-pdp11
ld-pe Re: Missing linking test case for pe dll using a def file 2022-08-21 07:53:12 +09:30
ld-pie
ld-plugin
ld-powerpc PowerPC32 ld test fails with --enable-targets=all 2022-07-26 22:14:20 +09:30
ld-pru Trailing spaces in objdump -r header 2022-05-31 11:25:09 +09:30
ld-riscv-elf RISC-V: re-arrange opcode table for consistent alias handling 2022-09-30 10:19:00 +02:00
ld-s12z
ld-s390
ld-scripts
ld-selective
ld-sh PR10372, SH: ld test with sim/sh/run fails always 2022-08-25 13:33:39 +09:30
ld-shared
ld-size Trailing spaces in objdump -r header 2022-05-31 11:25:09 +09:30
ld-sparc
ld-spu
ld-srec
ld-tic6x Trailing spaces in objdump -r header 2022-05-31 11:25:09 +09:30
ld-tilegx
ld-tilepro
ld-undefined
ld-unique ld/testsuite: consistently add board_ldflags when linking with GCC 2022-10-17 13:02:54 +02:00
ld-v850
ld-vax-elf
ld-visium
ld-vsb
ld-vxworks
ld-x86-64 BFD library: Use entry 0 in directory and filename tables of DWARF-5 debug info. 2022-08-30 16:01:20 +01:00
ld-xstormy16
ld-xtensa xtensa: bfd: fix TLS relocations generated for PIE 2022-09-02 09:54:49 -07:00
ld-z8k
ld-z80
lib ld/testsuite: consistently add board_ldflags when linking with GCC 2022-10-17 13:02:54 +02: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