https://gcc.gnu.org/g:143cec1646ae2e0cfdb1874defdc65e6d535e27c
commit r16-4124-g143cec1646ae2e0cfdb1874defdc65e6d535e27c Author: Ian Lance Taylor <[email protected]> Date: Sun Sep 28 14:42:49 2025 -0700 libbacktrace: recognize PE bigobj objects at configure time Patch from Christopher Wellons. * filetype.awk: Recognize PE bigobj objects at configure time. Diff: --- libbacktrace/filetype.awk | 1 + 1 file changed, 1 insertion(+) diff --git a/libbacktrace/filetype.awk b/libbacktrace/filetype.awk index 1eefa7e72f0e..30349046efd8 100644 --- a/libbacktrace/filetype.awk +++ b/libbacktrace/filetype.awk @@ -3,6 +3,7 @@ /^\177ELF\002/ { if (NR == 1) { print "elf64"; exit } } /^\114\001/ { if (NR == 1) { print "pecoff"; exit } } /^\144\206/ { if (NR == 1) { print "pecoff"; exit } } +/^\000\000\377\377/ { if (NR == 1) { print "pecoff"; exit } } /^\001\337/ { if (NR == 1) { print "xcoff32"; exit } } /^\001\367/ { if (NR == 1) { print "xcoff64"; exit } } /^\376\355\372\316/ { if (NR == 1) { print "macho"; exit } }
