Skip to content

Commit

Permalink
add support for armv8
Browse files Browse the repository at this point in the history
  • Loading branch information
dechaoqiu committed Sep 22, 2013
1 parent 935c0ac commit f29992c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions cputype.h
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@
#define CPU_SUBTYPE_ARM_V7F ((cpu_subtype_t) 10) /* Cortex A9 */
#define CPU_SUBTYPE_ARM_V7S ((cpu_subtype_t) 11)
#define CPU_SUBTYPE_ARM_V7K ((cpu_subtype_t) 12) /* Kirkwood40 */
#define CPU_SUBTYPE_ARM_V8 ((cpu_subtype_t) 13)

#endif /* !__ASSEMBLER__ */

Expand Down
4 changes: 4 additions & 0 deletions macho.c
Original file line number Diff line number Diff line change
Expand Up @@ -1439,6 +1439,10 @@ int select_thin_macho_by_arch(struct target_file *tf, const char *target_arch){
//armv7s
arch = "armv7s";
break;
case CPU_SUBTYPE_ARM_V8:
//armv8
arch = "armv8";
break;
}
break;
}
Expand Down

0 comments on commit f29992c

Please sign in to comment.