File tree 3 files changed +22
-1
lines changed
3 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 1
1
name = " ObjectFile"
2
2
uuid = " d8793406-e978-5875-9003-1fc021f44a92"
3
3
authors = [
" Elliot Saba <[email protected] >" ]
4
- version = " 0.4.2 "
4
+ version = " 0.4.3 "
5
5
6
6
[deps ]
7
7
Reexport = " 189a3867-3050-52da-a836-e630ba90ab69"
Original file line number Diff line number Diff line change @@ -67,6 +67,8 @@ function elf_machine_to_arch(machine::UInt16)
67
67
return " aarch64"
68
68
elseif machine ∈ (EM_PPC64,)
69
69
return " ppc64le"
70
+ elseif machine ∈ (EM_RISCV,)
71
+ return " riscv64"
70
72
end
71
73
end
72
74
Original file line number Diff line number Diff line change 220
220
const EM_BA2 = 202 # Beyond BA2 CPU architecture
221
221
const EM_XCORE = 203 # XMOS xCORE processor family
222
222
const EM_MCHP_PIC = 204 # Microchip 8-bit PIC(r) family
223
+ # 205-209 Reserved
224
+ const EM_KM32 = 210 # KM211 KM32
225
+ const EM_KMX32 = 211 # KM211 KMX32
226
+ const EM_EMX16 = 212 # KM211 KMX16
227
+ const EM_EMX8 = 213 # KM211 KMX8
228
+ const EM_KVARC = 214 # KM211 KVARC
229
+ const EM_CDP = 215 # Paneve CDP
230
+ const EM_COGE = 216 # Cognitive Smart Memory Processor
231
+ const EM_COOL = 217 # Bluechip CoolEngine
232
+ const EM_NORC = 218 # Nanoradio Optimized RISC
233
+ const EM_CSR_KALIMBA = 219 # CSR Kalimba
234
+ const EM_Z80 = 220 # Zilog Z80
235
+ const EM_VISIUM = 221 # Controls and Data Services VISIUMcore
236
+ const EM_FT32 = 222 # FTDI Chip FT32
237
+ const EM_MOXIE = 223 # Moxie processor
238
+ const EM_AMDGPU = 224 # AMD GPU
239
+ # 225-242 Reserved
240
+ const EM_RISCV = 243 # RISC-V
241
+ const EM_BPF = 247 # Linux BPF -- in-kernel virtual machine
223
242
end
224
243
225
244
# Special Section Indices
You can’t perform that action at this time.
0 commit comments