PE image base fallout

Jan Beulich jbeulich@suse.com
Fri Mar 12 07:28:44 GMT 2021


On 12.03.2021 01:22, Alan Modra via Binutils wrote:
> Fixes x86_64-w64-mingw32 tests that failed with the recent diagnosis
> for out of range RVA, and a couple of other gc-sections tests that failed
> for other reasons.
> 
> 	* testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
> 	arrange to define __main for some run_dump_test tests.
> 	* testsuite/ld-gc/pr13683.d: Accept more symbols.
> 	* testsuite/ld-gc/pr14265.d: Likewise, and ordering.
> 	* testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
> 	* testsuite/ld-srec/srec.exp: Likewise.
> 	* testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.

Thanks for taking care of these, yet I wonder how I would have
noticed. Besides the -mingw32 and -mingw64 (cross) testing that
I had already done on 32-bit and 64-bit Linux respectively, I've
just now done a x86_64-w64-mingw32 (cross) run without it
triggering any test failures. I therefore suspect there are more
build options that are needed to expose these failures?

Jan


More information about the Binutils mailing list