[PATCH] elf: Set p_memsz to p_filesz for loadable PT_NOTE segment

Nick Clifton nickc@redhat.com
Wed Apr 14 10:46:59 GMT 2021


Hi H.J.

> bfd/
> 
> 	PR binutils/27708
> 	* elf.c (assign_file_positions_for_non_load_sections): Set
> 	p_memsz to p_filesz for the loadable PT_NOTE segment.
> 
> binutils/
> 
> 	PR binutils/27708
> 	* testsuite/binutils-all/x86-64/pr27708.dump: New file.
> 	* testsuite/binutils-all/x86-64/pr27708.exe.bz2: Likewise.
> 	* testsuite/binutils-all/x86-64/x86-64.exp: Run binutils/27708
> 	test.

Approved - please apply.

Cheers
   Nick



More information about the Binutils mailing list