Merge pull request #1476 from shenki/riscv-toolchain
riscv: Fix compilation with new binutils
This commit is contained in:
commit
3704e36c7e
|
@ -22,15 +22,15 @@ CPU_VARIANTS = ["standard", "full"]
|
|||
# GCC Flags ----------------------------------------------------------------------------------------
|
||||
|
||||
GCC_FLAGS = {
|
||||
# /-------- Base ISA
|
||||
# |/------- Hardware Multiply + Divide
|
||||
# ||/----- Atomics
|
||||
# |||/---- Compressed ISA
|
||||
# ||||/--- Single-Precision Floating-Point
|
||||
# |||||/-- Double-Precision Floating-Point
|
||||
# imacfd
|
||||
"standard": "-march=rv32imc -mabi=ilp32 ",
|
||||
"full": "-march=rv32imfc -mabi=ilp32 ",
|
||||
# /------------ Base ISA
|
||||
# | /------- Hardware Multiply + Divide
|
||||
# | |/----- Atomics
|
||||
# | ||/---- Compressed ISA
|
||||
# | |||/--- Single-Precision Floating-Point
|
||||
# | ||||/-- Double-Precision Floating-Point
|
||||
# i macfd
|
||||
"standard": "-march=rv32i2p0_mc -mabi=ilp32 ",
|
||||
"full": "-march=rv32i2p0_mfc -mabi=ilp32 ",
|
||||
}
|
||||
|
||||
# OBI / APB / Trace Layouts ------------------------------------------------------------------------
|
||||
|
|
|
@ -22,14 +22,14 @@ CPU_VARIANTS = ["standard"]
|
|||
# GCC Flags ----------------------------------------------------------------------------------------
|
||||
|
||||
GCC_FLAGS = {
|
||||
# /-------- Base ISA
|
||||
# |/------- Hardware Multiply + Divide
|
||||
# ||/----- Atomics
|
||||
# |||/---- Compressed ISA
|
||||
# ||||/--- Single-Precision Floating-Point
|
||||
# |||||/-- Double-Precision Floating-Point
|
||||
# imacfd
|
||||
"standard": "-march=rv32imc -mabi=ilp32 ",
|
||||
# /------------ Base ISA
|
||||
# | /------- Hardware Multiply + Divide
|
||||
# | |/----- Atomics
|
||||
# | ||/---- Compressed ISA
|
||||
# | |||/--- Single-Precision Floating-Point
|
||||
# | ||||/-- Double-Precision Floating-Point
|
||||
# i macfd
|
||||
"standard": "-march=rv32i2p0_mc -mabi=ilp32 ",
|
||||
}
|
||||
|
||||
# OBI / APB / Trace Layouts ------------------------------------------------------------------------
|
||||
|
|
|
@ -20,15 +20,15 @@ CPU_VARIANTS = ["minimal", "standard"]
|
|||
# GCC Flags ----------------------------------------------------------------------------------------
|
||||
|
||||
GCC_FLAGS = {
|
||||
# /-------- Base ISA
|
||||
# |/------- Hardware Multiply + Divide
|
||||
# ||/----- Atomics
|
||||
# |||/---- Compressed ISA
|
||||
# ||||/--- Single-Precision Floating-Point
|
||||
# |||||/-- Double-Precision Floating-Point
|
||||
# imacfd
|
||||
"minimal" : "-march=rv32i -mabi=ilp32 ",
|
||||
"standard" : "-march=rv32im -mabi=ilp32 ",
|
||||
# /------------ Base ISA
|
||||
# | /------- Hardware Multiply + Divide
|
||||
# | |/----- Atomics
|
||||
# | ||/---- Compressed ISA
|
||||
# | |||/--- Single-Precision Floating-Point
|
||||
# | ||||/-- Double-Precision Floating-Point
|
||||
# i macfd
|
||||
"minimal" : "-march=rv32i2p0 -mabi=ilp32 ",
|
||||
"standard" : "-march=rv32i2p0_m -mabi=ilp32 ",
|
||||
}
|
||||
|
||||
# CVA5 ----------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -26,20 +26,20 @@ CPU_VARIANTS = {
|
|||
# GCC Flags ----------------------------------------------------------------------------------------
|
||||
|
||||
GCC_FLAGS = {
|
||||
# /-------- Base ISA
|
||||
# |/------- Hardware Multiply + Divide
|
||||
# ||/----- Atomics
|
||||
# |||/---- Compressed ISA
|
||||
# ||||/--- Single-Precision Floating-Point
|
||||
# |||||/-- Double-Precision Floating-Point
|
||||
# imacfd
|
||||
"standard": "-march=rv32i -mabi=ilp32",
|
||||
"quark": "-march=rv32i -mabi=ilp32",
|
||||
"tachyon": "-march=rv32i -mabi=ilp32",
|
||||
"electron": "-march=rv32im -mabi=ilp32",
|
||||
"intermissum": "-march=rv32im -mabi=ilp32",
|
||||
"gracilis": "-march=rv32imc -mabi=ilp32",
|
||||
"petitbateau": "-march=rv32imfc -mabi=ilp32f",
|
||||
# /------------ Base ISA
|
||||
# | /------- Hardware Multiply + Divide
|
||||
# | |/----- Atomics
|
||||
# | ||/---- Compressed ISA
|
||||
# | |||/--- Single-Precision Floating-Point
|
||||
# | ||||/-- Double-Precision Floating-Point
|
||||
# i macfd
|
||||
"standard": "-march=rv32i2p0 -mabi=ilp32",
|
||||
"quark": "-march=rv32i2p0 -mabi=ilp32",
|
||||
"tachyon": "-march=rv32i2p0 -mabi=ilp32",
|
||||
"electron": "-march=rv32i2p0_m -mabi=ilp32",
|
||||
"intermissum": "-march=rv32i2p0_m -mabi=ilp32",
|
||||
"gracilis": "-march=rv32i2p0_mc -mabi=ilp32",
|
||||
"petitbateau": "-march=rv32i2p0_mfc -mabi=ilp32f",
|
||||
}
|
||||
|
||||
# FemtoRV ------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -20,14 +20,14 @@ CPU_VARIANTS = {
|
|||
# GCC Flags ----------------------------------------------------------------------------------------
|
||||
|
||||
GCC_FLAGS = {
|
||||
# /-------- Base ISA
|
||||
# |/------- Hardware Multiply + Divide
|
||||
# ||/----- Atomics
|
||||
# |||/---- Compressed ISA
|
||||
# ||||/--- Single-Precision Floating-Point
|
||||
# |||||/-- Double-Precision Floating-Point
|
||||
# imacfd
|
||||
"standard": "-march=rv32i -mabi=ilp32",
|
||||
# /------------ Base ISA
|
||||
# | /------- Hardware Multiply + Divide
|
||||
# | |/----- Atomics
|
||||
# | ||/---- Compressed ISA
|
||||
# | |||/--- Single-Precision Floating-Point
|
||||
# | ||||/-- Double-Precision Floating-Point
|
||||
# i macfd
|
||||
"standard": "-march=rv32i2p0 -mabi=ilp32",
|
||||
}
|
||||
|
||||
# FireV ------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -22,14 +22,14 @@ CPU_VARIANTS = ["standard"]
|
|||
# GCC Flags ----------------------------------------------------------------------------------------
|
||||
|
||||
GCC_FLAGS = {
|
||||
# /-------- Base ISA
|
||||
# |/------- Hardware Multiply + Divide
|
||||
# ||/----- Atomics
|
||||
# |||/---- Compressed ISA
|
||||
# ||||/--- Single-Precision Floating-Point
|
||||
# |||||/-- Double-Precision Floating-Point
|
||||
# imacfd
|
||||
"standard": "-march=rv32imc -mabi=ilp32 ",
|
||||
# /------------ Base ISA
|
||||
# | /------- Hardware Multiply + Divide
|
||||
# | |/----- Atomics
|
||||
# | ||/---- Compressed ISA
|
||||
# | |||/--- Single-Precision Floating-Point
|
||||
# | ||||/-- Double-Precision Floating-Point
|
||||
# i macfd
|
||||
"standard": "-march=rv32i2p0_mc -mabi=ilp32 ",
|
||||
}
|
||||
|
||||
# OBI <> Wishbone ----------------------------------------------------------------------------------
|
||||
|
|
|
@ -20,17 +20,17 @@ CPU_VARIANTS = ["minimal", "lite", "standard", "full"]
|
|||
# GCC Flags ----------------------------------------------------------------------------------------
|
||||
|
||||
GCC_FLAGS = {
|
||||
# /-------- Base ISA
|
||||
# |/------- Hardware Multiply + Divide
|
||||
# ||/----- Atomics
|
||||
# |||/---- Compressed ISA
|
||||
# ||||/--- Single-Precision Floating-Point
|
||||
# |||||/-- Double-Precision Floating-Point
|
||||
# imacfd
|
||||
"minimal": "-march=rv32i -mabi=ilp32",
|
||||
"lite": "-march=rv32imc -mabi=ilp32",
|
||||
"standard": "-march=rv32imc -mabi=ilp32",
|
||||
"full": "-march=rv32imc -mabi=ilp32",
|
||||
# /------------ Base ISA
|
||||
# | /------- Hardware Multiply + Divide
|
||||
# | |/----- Atomics
|
||||
# | ||/---- Compressed ISA
|
||||
# | |||/--- Single-Precision Floating-Point
|
||||
# | ||||/-- Double-Precision Floating-Point
|
||||
# i macfd
|
||||
"minimal": "-march=rv32i2p0 -mabi=ilp32",
|
||||
"lite": "-march=rv32i2p0_mc -mabi=ilp32",
|
||||
"standard": "-march=rv32i2p0_mc -mabi=ilp32",
|
||||
"full": "-march=rv32i2p0_mc -mabi=ilp32",
|
||||
}
|
||||
|
||||
# NEORV32 ------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -23,15 +23,15 @@ CPU_VARIANTS = ["minimal", "standard"]
|
|||
# GCC Flags ----------------------------------------------------------------------------------------
|
||||
|
||||
GCC_FLAGS = {
|
||||
# /-------- Base ISA
|
||||
# |/------- Hardware Multiply + Divide
|
||||
# ||/----- Atomics
|
||||
# |||/---- Compressed ISA
|
||||
# ||||/--- Single-Precision Floating-Point
|
||||
# |||||/-- Double-Precision Floating-Point
|
||||
# imacfd
|
||||
"minimal": "-march=rv32i -mabi=ilp32 ",
|
||||
"standard": "-march=rv32im -mabi=ilp32 ",
|
||||
# /------------ Base ISA
|
||||
# | /------- Hardware Multiply + Divide
|
||||
# | |/----- Atomics
|
||||
# | ||/---- Compressed ISA
|
||||
# | |||/--- Single-Precision Floating-Point
|
||||
# | ||||/-- Double-Precision Floating-Point
|
||||
# i macfd
|
||||
"minimal": "-march=rv32i2p0 -mabi=ilp32 ",
|
||||
"standard": "-march=rv32i2p0_m -mabi=ilp32 ",
|
||||
}
|
||||
|
||||
# PicoRV32 -----------------------------------------------------------------------------------------
|
||||
|
|
|
@ -20,15 +20,15 @@ CPU_VARIANTS = ["standard", "mdu"]
|
|||
# GCC Flags ----------------------------------------------------------------------------------------
|
||||
|
||||
GCC_FLAGS = {
|
||||
# /-------- Base ISA
|
||||
# |/------- Hardware Multiply + Divide
|
||||
# ||/----- Atomics
|
||||
# |||/---- Compressed ISA
|
||||
# ||||/--- Single-Precision Floating-Point
|
||||
# |||||/-- Double-Precision Floating-Point
|
||||
# imacfd
|
||||
"standard": "-march=rv32i -mabi=ilp32",
|
||||
"mdu": "-march=rv32im -mabi=ilp32",
|
||||
# /------------ Base ISA
|
||||
# | /------- Hardware Multiply + Divide
|
||||
# | |/----- Atomics
|
||||
# | ||/---- Compressed ISA
|
||||
# | |||/--- Single-Precision Floating-Point
|
||||
# | ||||/-- Double-Precision Floating-Point
|
||||
# i macfd
|
||||
"standard": "-march=rv32i2p0 -mabi=ilp32",
|
||||
"mdu": "-march=rv32i2p0_m -mabi=ilp32",
|
||||
}
|
||||
|
||||
# SERV ---------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue