Skip to content

Commit c96cb70

Browse files
authored
adds support for mips64el target (#1408)
The target name for MSB Mips is misp63el in LLVM, which we didn't aniticipate.
1 parent cdc8248 commit c96cb70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/bap_mips/bap_mips_target.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ let enable_loader () =
9898
request_info >>| function
9999
| Some "mips", None -> mips32bi
100100
| Some "mips64",None -> mips64bi
101-
| Some "mips",Some true -> mips32le
102-
| Some "mips64",Some true -> mips64le
101+
| Some ("mips"|"mipsel"),Some true -> mips32le
102+
| Some ("mips64"|"mips64el"),Some true -> mips64le
103103
| Some "mips",Some false -> mips32eb
104104
| Some "mips64",Some false -> mips64eb
105105
| _ -> Theory.Target.unknown

0 commit comments

Comments
 (0)