]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libbacktrace: recognize PE bigobj objects at configure time
authorIan Lance Taylor <iant@golang.org>
Sun, 28 Sep 2025 21:42:49 +0000 (14:42 -0700)
committerIan Lance Taylor <iant@golang.org>
Sun, 28 Sep 2025 21:48:03 +0000 (14:48 -0700)
Patch from Christopher Wellons.

* filetype.awk: Recognize PE bigobj objects at configure time.

libbacktrace/filetype.awk

index 1eefa7e72f0ec32a9ce68af7a6bdbee6d39d4b34..30349046efd85c65a8c4c3199f4e43c4be7c1277 100644 (file)
@@ -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 } }