[PATCH] Run PE image_size test on more platforms.
Dave Korn
dave.korn.cygwin@googlemail.com
Thu Apr 2 16:44:00 GMT 2009
Hi all,
The ld testcase "PE-COFF SizeOfImage" is currently restricted to targets
matching "i*86-*-mingw32". That's needlessly restrictive; it really just
verifies that if you have headers, a text section, a data section, and 0x1000
bytes padding, and all sections are aligned to 0x1000, the total size is
0x4000, and that should be true most places.
It certainly does pass on the other Windows desktop platforms, so this patch
extends it to Cygwin and 64-bit MinGW. Ok?
ld/testsuite/ChangeLog
* ld-pe/image_size.d (#target): Also run test on Cygwin and x86_64
MinGW targets.
cheers,
DaveK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extra-image-size-tests.diff
Type: text/x-c
Size: 517 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20090402/6e0b4a06/attachment.bin>
More information about the Binutils
mailing list