Skip to content

Commit

Permalink
adds support for mips64el target (#1408)
Browse files Browse the repository at this point in the history
The target name for MSB Mips is misp63el in LLVM, which we didn't aniticipate.
  • Loading branch information
ivg authored Jan 19, 2022
1 parent cdc8248 commit c96cb70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bap_mips/bap_mips_target.ml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ let enable_loader () =
request_info >>| function
| Some "mips", None -> mips32bi
| Some "mips64",None -> mips64bi
| Some "mips",Some true -> mips32le
| Some "mips64",Some true -> mips64le
| Some ("mips"|"mipsel"),Some true -> mips32le
| Some ("mips64"|"mips64el"),Some true -> mips64le
| Some "mips",Some false -> mips32eb
| Some "mips64",Some false -> mips64eb
| _ -> Theory.Target.unknown
Expand Down

0 comments on commit c96cb70

Please sign in to comment.