binutils-gdb/ld/testsuite
Alan Modra 160a943ff8 COFF build-id writes uninitialised data to file
1) The first write in write_build_id wrote rubbish past the struct
external_IMAGE_DEBUG_DIRECTORY, which was later overwritten with
correct data.  No user visible problem there, except that tools like
valgrind complain.
2) The size for the pdb name was incorrectly calculated.

	* emultempl/pe.em (write_build_id): Write the debug directory,
	not the entire section contents.
	(setup_build_id): Add size for the base name of pdb_name, not
	the full path.
	* emultempl/pep.em: Likewise.
	* testsuite/ld-pe/pdb2-section-contrib.d: Update.
2022-12-23 10:35:38 +10:30
..
config ld/testsuite: allow to force another directory for gcc linker 2022-09-22 09:23:18 +02:00
ld-aarch64 bfd: linker: merge .sframe sections 2022-11-15 15:49:47 -08:00
ld-alpha
ld-arc
ld-arm enable-non-contiguous-regions warnings 2022-12-21 17:56:27 +10:30
ld-auto-import
ld-avr
ld-bootstrap ld bootstrap test in build dir with path containing symlinks 2022-12-18 19:11:32 +10:30
ld-bpf
ld-cdtest
ld-checks
ld-cris
ld-crx
ld-csky
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 Correct ordering problem in comm-data.exp 2022-11-30 18:41:40 +10:30
ld-elfcomm
ld-elfvers ld/testsuite: skip tests related to -shared when disabled 2022-11-07 13:16:41 +01:00
ld-elfweak ld/testsuite: skip tests related to -shared when disabled 2022-11-07 13:16:41 +01:00
ld-fastcall
ld-frv
ld-gc
ld-h8300
ld-i386
ld-ia64
ld-ifunc
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
ld-mips-elf
ld-misc
ld-mmix
ld-mn10300
ld-msp430-elf Use bfd_rename_section in msp430.em 2022-11-28 17:29:11 +10:30
ld-nds32
ld-nios2
ld-or1k
ld-pdp11
ld-pe COFF build-id writes uninitialised data to file 2022-12-23 10:35:38 +10:30
ld-pie
ld-plugin Revert "ld: Add .note.GNU-stack to ld-plugin/dummy.s" 2022-12-03 10:43:29 -08:00
ld-powerpc enable-non-contiguous-regions warnings 2022-12-21 17:56:27 +10:30
ld-pru
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 IBM zSystems: Issue error for *DBL relocs on misaligned symbols 2022-10-19 09:03:17 +02:00
ld-scripts section-select: Fix exclude-file-3 2022-11-30 17:15:08 +01:00
ld-selective
ld-sframe bfd: linker: merge .sframe sections 2022-11-15 15:49:47 -08:00
ld-sh
ld-shared ld/testsuite: skip tests related to -shared when disabled 2022-11-07 13:16:41 +01:00
ld-size ld/testsuite: skip ld-size when -shared is not supported 2022-11-10 13:19:15 +01:00
ld-sparc
ld-spu
ld-srec
ld-tic6x
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 ld, gold: remove support for -z bndplt (MPX prefix) 2022-12-14 08:48:13 +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 bfd: linker: merge .sframe sections 2022-11-15 15:49:47 -08: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