README.md
1.12 KB
GNU binutils for RISC-V and Sparc/LEON
This project contains
- scripts for downloading and building patched GNU binutils
- patches for RISC-V and Sparc architectures with new instructions
binutils version
This package uses binutils v2.37.
SPARC
Building ''''''''
Run script './run_sparc.sh all' to build binutils for Sparc/LEON target. Binutils will be prepared in subdirectory 'install-sparc'.
Using '''''
- add directory 'install-sparc/bin' to PATH or copy directory 'install-sparc'
- all tools from binutils starts with prefix 'sparc-daiteq-elf-'
- new assembler instructions can be used with options '--has-swar','--has-fhalf','--has-fcplx','--has-fpack'
RISC-V
Building ''''''''
Run script './run_riscv.sh all' to build binutils for RISC-V target. Binutils will be prepared in subdirectory 'install-riscv'.
Using '''''
- add directory 'install-riscv/bin' to PATH or copy directory 'install-riscv'
- all tools from binutils starts with prefix 'riscv64-daiteq-elf-'
- currently all new assembler instructions are enabled without any special RV extension