File tree 8 files changed +1458
-7
lines changed
8 files changed +1458
-7
lines changed Original file line number Diff line number Diff line change @@ -11844,6 +11844,9 @@ elf*) FORMAT_FILE="elf.lo" ;;
11844
11844
pecoff) FORMAT_FILE=" pecoff.lo"
11845
11845
backtrace_supports_data=no
11846
11846
;;
11847
+ macho* ) FORMAT_FILE=" macho.lo"
11848
+ backtrace_supports_data=no
11849
+ ;;
11847
11850
* ) { $as_echo " $as_me :${as_lineno-$LINENO } : WARNING: could not determine output file type" >&5
11848
11851
$as_echo " $as_me : WARNING: could not determine output file type" >&2 ; }
11849
11852
FORMAT_FILE=" unknown.lo"
Original file line number Diff line number Diff line change @@ -231,6 +231,9 @@ elf*) FORMAT_FILE="elf.lo" ;;
231
231
pecoff) FORMAT_FILE="pecoff.lo"
232
232
backtrace_supports_data=no
233
233
;;
234
+ macho*) FORMAT_FILE="macho.lo"
235
+ backtrace_supports_data=no
236
+ ;;
234
237
*) AC_MSG_WARN ( [ could not determine output file type] )
235
238
FORMAT_FILE="unknown.lo"
236
239
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