File tree Expand file tree Collapse file tree 8 files changed +1458
-7
lines changed Expand file tree Collapse file tree 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" ;;
1184411844pecoff) FORMAT_FILE=" pecoff.lo"  
1184511845        backtrace_supports_data=no 
1184611846	;; 
11847+ macho* ) FORMAT_FILE=" macho.lo"  
11848+         backtrace_supports_data=no 
11849+         ;; 
1184711850* ) { $as_echo  " $as_me :${as_lineno-$LINENO } : WARNING: could not determine output file type"   >&5 
1184811851$as_echo  " $as_me : WARNING: could not determine output file type"   >&2 ; }
1184911852   FORMAT_FILE=" unknown.lo"  
Original file line number Diff line number Diff line change @@ -231,6 +231,9 @@ elf*) FORMAT_FILE="elf.lo" ;;
231231pecoff) FORMAT_FILE="pecoff.lo"
232232        backtrace_supports_data=no
233233	;;
234+ macho*) FORMAT_FILE="macho.lo"
235+         backtrace_supports_data=no
236+         ;;
234237*) AC_MSG_WARN ( [ could not determine output file type] ) 
235238   FORMAT_FILE="unknown.lo"
236239   backtrace_supported=no
Original file line number Diff line number Diff line change 33/\177 ELF\002  / { if  (NR  ==  1 ) { print  " elf64"  ; exit  } }
44/\114\001  /    { if  (NR  ==  1 ) { print  " pecoff"  ; exit  } }
55/\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