[PATCH v2] PE/COFF: auto-promote oversized objects to bigobj

Jan Beulich jbeulich@suse.com
Mon Jun 29 10:54:13 GMT 2026


On 23.06.2026 23:39, Oleg Tolmatcev wrote:
> --- a/gas/testsuite/gas/pe/pe.exp
> +++ b/gas/testsuite/gas/pe/pe.exp
> @@ -68,6 +68,8 @@ if {[istarget "aarch64-*-pe*"] || [istarget "aarch64-*-mingw*"]} {
>  # Big obj
>  
>  
> -if ([istarget "*-*-mingw*"]) then {
> +if { [istarget "aarch64-*-*"] || [istarget "i*86-*-*"]
> +    || [istarget "x86_64-*-*"] } then {

This went too far: bfd/config.bfd confirms me observing both tests to fail on
i?86-interix, and it further suggests i?86-beospe* to also be affected. Or wait,
*-*-beos* is covered by the "target removed" switch higher up in the file, so
the individual entries later are all stale. I'll prune that, but for committing
this patch I'll also need to exclude *-*-interix* above.

Jan

>  	run_dump_test "big-obj"
> +	run_dump_test "big-obj-auto"
>  }



More information about the Binutils mailing list