RISC-V: Add gdb sim and newlib nano support. Fix a few misc minor bugs.

This commit is contained in:
Jim Wilson
2017-12-26 12:30:27 -08:00
parent 28d5b98038
commit 9588ff7555
4 changed files with 111 additions and 6 deletions

10
libgloss/riscv/sim.specs Normal file
View File

@ -0,0 +1,10 @@
# Spec file for gdb simulator.
%rename lib sim_lib
%rename link sim_link
*lib:
--start-group -lc -lsim --end-group
*link:
%(sim_link) %:replace-outfile(-lgloss -lsim)