Ticket #38931: ld64-machofileabstraction_hpp.patch

File ld64-machofileabstraction_hpp.patch, 964 bytes (added by t.tensi@…, 11 years ago)

Patch for src/abstraction/MachOFileAbstraction.hpp for Mac OS Tiger

Line 
1*** MachOFileAbstraction.hpp-orig       Sun Jun 23 15:05:10 2013
2--- MachOFileAbstraction.hpp    Sun Jun 23 15:14:00 2013
3***************
4*** 40,45 ****
5--- 40,51 ----
6 
7 
8  // stuff that will eventually go away once newer cctools headers are widespread
9+ #ifndef CPU_SUBTYPE_ARM_V4T
10+       #define CPU_SUBTYPE_ARM_V4T                 ((cpu_subtype_t) 5)
11+ #endif
12+ #ifndef CPU_SUBTYPE_ARM_V6
13+       #define CPU_SUBTYPE_ARM_V6                  ((cpu_subtype_t) 6)
14+ #endif
15  #ifndef CPU_SUBTYPE_ARM_V5TEJ
16        #define CPU_SUBTYPE_ARM_V5TEJ           ((cpu_subtype_t) 7)
17  #endif
18***************
19*** 49,54 ****
20--- 55,66 ----
21  #ifndef CPU_SUBTYPE_ARM_V7
22        #define CPU_SUBTYPE_ARM_V7                      ((cpu_subtype_t) 9)
23  #endif
24+ #ifndef CPU_SUBTYPE_ARM_ALL
25+       #define CPU_SUBTYPE_ARM_ALL                 ((cpu_subtype_t) 12)
26+ #endif
27+ #ifndef CPU_TYPE_ARM
28+       #define CPU_TYPE_ARM                    ((cpu_type_t) 12)
29+ #endif
30  #ifndef ARM_THUMB_32BIT_BRANCH
31        #define ARM_THUMB_32BIT_BRANCH  7
32  #endif