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

Jan Beulich <[email protected]>
Newsgroups gmane.comp.gnu.binutils
Message-ID <[email protected]>
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"
>  }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.