File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
lib/ToolDrivers/llvm-dlltool Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ MachineTypes getEmulation(StringRef S) {
76
76
.Case (" arm" , IMAGE_FILE_MACHINE_ARMNT)
77
77
.Case (" arm64" , IMAGE_FILE_MACHINE_ARM64)
78
78
.Case (" arm64ec" , IMAGE_FILE_MACHINE_ARM64EC)
79
+ .Case (" mipsel" , IMAGE_FILE_MACHINE_R4000)
79
80
.Default (IMAGE_FILE_MACHINE_UNKNOWN);
80
81
}
81
82
Original file line number Diff line number Diff line change 6
6
; RUN: llvm-readobj %t.a | FileCheck --check-prefix=ARM %s
7
7
; RUN: llvm-dlltool -m arm64 -d %s -l %t.a
8
8
; RUN: llvm-readobj %t.a | FileCheck --check-prefix=ARM64 %s
9
+ ; RUN: llvm-dlltool -m mipsel -d %s -l %t.a
10
+ ; RUN: llvm-readobj %t.a | FileCheck --check-prefix=MIPSEL %s
9
11
10
12
LIBRARY test.dll
11
13
EXPORTS
@@ -15,3 +17,4 @@ TestFunction
15
17
; X86_64: Format: COFF-x86-64
16
18
; ARM: Format: COFF-ARM{{$}}
17
19
; ARM64: Format: COFF-ARM64
20
+ ; MIPSEL: Format: COFF-R4000
You can’t perform that action at this time.
0 commit comments