This repository was archived by the owner on Apr 2, 2024. It is now read-only.
File tree 4 files changed +1426
-0
lines changed
4 files changed +1426
-0
lines changed Original file line number Diff line number Diff line change @@ -11472,6 +11472,9 @@ pecoff) FORMAT_FILE="pecoff.lo"
11472
11472
xcoff* ) FORMAT_FILE=" xcoff.lo"
11473
11473
backtrace_supports_data=no
11474
11474
;;
11475
+ macho* ) FORMAT_FILE=" macho.lo"
11476
+ backtrace_supports_data=no
11477
+ ;;
11475
11478
* ) { $as_echo " $as_me :${as_lineno-$LINENO } : WARNING: could not determine output file type" >&5
11476
11479
$as_echo " $as_me : WARNING: could not determine output file type" >&2 ; }
11477
11480
FORMAT_FILE=" unknown.lo"
Original file line number Diff line number Diff line change @@ -236,6 +236,9 @@ pecoff) FORMAT_FILE="pecoff.lo"
236
236
xcoff*) FORMAT_FILE="xcoff.lo"
237
237
backtrace_supports_data=no
238
238
;;
239
+ macho*) FORMAT_FILE="macho.lo"
240
+ backtrace_supports_data=no
241
+ ;;
239
242
*) AC_MSG_WARN ( [ could not determine output file type] )
240
243
FORMAT_FILE="unknown.lo"
241
244
backtrace_supported=no
Original file line number Diff line number Diff line change 3
3
/\177 ELF\002 / { if (NR == 1 ) { print " elf64" ; exit } }
4
4
/\114\001 / { if (NR == 1 ) { print " pecoff" ; exit } }
5
5
/\144\206 / { if (NR == 1 ) { print " pecoff" ; exit } }
6
+ /\xFE\xED\xFA\xCE / { if (NR == 1 ) { print " macho32" ; exit } }
7
+ /\xCE\xFA\xED\xFE / { if (NR == 1 ) { print " macho32" ; exit } }
8
+ /\xFE\xED\xFA\xCF / { if (NR == 1 ) { print " macho64" ; exit } }
9
+ /\xCF\xFA\xED\xFE / { if (NR == 1 ) { print " macho64" ; exit } }
10
+ /\xCA\xFE\xBA\xBE / { if (NR == 1 ) { print " macho-fat" ; exit } }
11
+ /\xBE\xBA\xFE\xCA / { if (NR == 1 ) { print " macho-fat" ; exit } }
You can’t perform that action at this time.
0 commit comments