File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -85,11 +85,11 @@ def to_string(value):
85
85
if value == ArchType .msp430 :
86
86
return "msp430"
87
87
if value == ArchType .ppc :
88
- return "ppc "
88
+ return "powerpc "
89
89
if value == ArchType .ppc64 :
90
- return "ppc64 "
90
+ return "powerpc64 "
91
91
if value == ArchType .ppc64le :
92
- return "ppc64le "
92
+ return "powerpc64le "
93
93
if value == ArchType .r600 :
94
94
return "r600"
95
95
if value == ArchType .amdgcn :
@@ -176,11 +176,11 @@ def from_string(string):
176
176
return ArchType .mips64el
177
177
if string == "msp430" :
178
178
return ArchType .msp430
179
- if string == "ppc" :
179
+ if string == "ppc" or string == "powerpc" :
180
180
return ArchType .ppc
181
- if string == "ppc64" :
181
+ if string == "ppc64" or string == "powerpc64" :
182
182
return ArchType .ppc64
183
- if string == "ppc64le" :
183
+ if string == "ppc64le" or string == "powerpc64le" :
184
184
return ArchType .ppc64le
185
185
if string == "r600" :
186
186
return ArchType .r600
You can’t perform that action at this time.
0 commit comments