libbacktrace: recognize PE bigobj objects at configure time

Patch from Christopher Wellons.

	* filetype.awk: Recognize PE bigobj objects at configure time.
This commit is contained in:
Ian Lance Taylor
2025-09-28 14:42:49 -07:00
parent dd645f6b9e
commit 143cec1646

View 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 } }