mirror of
https://github.com/status-im/libbacktrace.git
synced 2026-08-27 12:11:08 +00:00
This commit is contained in:
@@ -11472,6 +11472,9 @@ pecoff) FORMAT_FILE="pecoff.lo"
|
||||
xcoff*) FORMAT_FILE="xcoff.lo"
|
||||
backtrace_supports_data=no
|
||||
;;
|
||||
macho*) FORMAT_FILE="macho.lo"
|
||||
backtrace_supports_data=no
|
||||
;;
|
||||
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
|
||||
$as_echo "$as_me: WARNING: could not determine output file type" >&2;}
|
||||
FORMAT_FILE="unknown.lo"
|
||||
|
||||
@@ -236,6 +236,9 @@ pecoff) FORMAT_FILE="pecoff.lo"
|
||||
xcoff*) FORMAT_FILE="xcoff.lo"
|
||||
backtrace_supports_data=no
|
||||
;;
|
||||
macho*) FORMAT_FILE="macho.lo"
|
||||
backtrace_supports_data=no
|
||||
;;
|
||||
*) AC_MSG_WARN([could not determine output file type])
|
||||
FORMAT_FILE="unknown.lo"
|
||||
backtrace_supported=no
|
||||
|
||||
@@ -3,3 +3,9 @@
|
||||
/\177ELF\002/ { if (NR == 1) { print "elf64"; exit } }
|
||||
/\114\001/ { if (NR == 1) { print "pecoff"; exit } }
|
||||
/\144\206/ { if (NR == 1) { print "pecoff"; exit } }
|
||||
/\xFE\xED\xFA\xCE/ { if (NR == 1) { print "macho32"; exit } }
|
||||
/\xCE\xFA\xED\xFE/ { if (NR == 1) { print "macho32"; exit } }
|
||||
/\xFE\xED\xFA\xCF/ { if (NR == 1) { print "macho64"; exit } }
|
||||
/\xCF\xFA\xED\xFE/ { if (NR == 1) { print "macho64"; exit } }
|
||||
/\xCA\xFE\xBA\xBE/ { if (NR == 1) { print "macho-fat"; exit } }
|
||||
/\xBE\xBA\xFE\xCA/ { if (NR == 1) { print "macho-fat"; exit } }
|
||||
|
||||
Reference in New Issue
Block a user