From: Ian Lance Taylor Date: Sun, 28 Sep 2025 21:42:49 +0000 (-0700) Subject: libbacktrace: recognize PE bigobj objects at configure time X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=143cec1646ae2e0cfdb1874defdc65e6d535e27c;p=thirdparty%2Fgcc.git libbacktrace: recognize PE bigobj objects at configure time Patch from Christopher Wellons. * filetype.awk: Recognize PE bigobj objects at configure time. --- diff --git a/libbacktrace/filetype.awk b/libbacktrace/filetype.awk index 1eefa7e72f0..30349046efd 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 } }