https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88745

--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Ian Lance Taylor from comment #3)
> filetype.awk is just an AWK script.  See
> https://www.gnu.org/software/gawk/manual/gawk.html.  A Mach-O file starts
> with 0xfeedface (32-bit Mach-O) or 0xfeedfacf (64-bit Mach-O) in either
> big-endian or little-endian order.

Does the endianness actually matter? Neither the elf nor pecoff cases seem to
be duplicated for their opposite endiannesses... Also are the octal escape
sequences necessary?

Reply via email to