binutils-gdb/ld/testsuite/ld-pe/image_size.d
H.J. Lu 50572669e4 bfd/
2003-03-22  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/4210
	* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the virtual
	address and virtual size of the last section for the image
	size.

ld/testsuite/

2003-03-22  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/4210
	* ld-pe/image_size.d: New file.
	* ld-pe/image_size.s: Likewise.
	* ld-pe/image_size.t: Likewise.

	* ld-pe/pe.exp: Run image_size.
2007-03-22 15:52:29 +00:00

10 lines
141 B
Makefile

#name: PE-COFF SizeOfImage
#ld: -T image_size.t
#objdump: -p
#target: i*86-*-mingw32
.*: file format .*
#...
SizeOfImage 00004000
#...