binutils-gdb/binutils/testsuite
Alan Modra 1781a9d0f3 nds32_elf_get_relocated_section_contents
nds32_elf_get_relocated_section_contents uses nds32_get_section_contents
to read sections contents, but nds32_get_section_contents has the wrong
behaviour as it calls bfd_malloc_and_get_section.  That function always
mallocs its output buffer, whereas get_relocated_section_contents must
support an already allocated buffer.

bfd/
	* elf32-nds32.c (nds32_get_section_contents): Replace
	bfd_malloc_and_get_section with bfd_get_full_section_contents.
	(nds32_elf_relax_delete_blanks): Init contents.
	(nds32_elf_relax_section, nds32_relax_fp_as_gp): Likewise.
binutils/
	* testsuite/binutils-all/compress.exp: Remove nds32 xfails.
	* testsuite/binutils-all/objdump.exp: Likewise.
2021-02-15 13:34:08 +10:30
..
binutils-all nds32_elf_get_relocated_section_contents 2021-02-15 13:34:08 +10:30
config Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
lib Remove arm-symbianelf 2021-02-09 23:36:16 +10:30
ChangeLog-0411
ChangeLog-1215
ChangeLog-9303
gentestdlls.c Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30