[Patch] Add syscall.h to CR16 libgloss
Mon Aug 27 22:02:00 GMT 2012
Please find attached a patch that adds syscall.h file into the CR16 libgloss
folder. This patch is in conjunction with a corresponding patch to the sim.
The build failures as logged in this bug report have already been fixed,
however the correct newlib syscalls are not being used.
This patch should allow the regeneration of a correct nltvals.def file which
in turn should allow correct functioning of cr16-elf-run.
I'll be posting the sim patch to gdb-patches shortly. The syscall definitions
are in line with the original CR16 simulator patch submitted in 2008,
However, later changes in gdb-sim broke the cr16 build as the cr16 list in the
nltvals.def file were probably hand tweaked.
Kindly review the attached patch and let me know if these changes are OK.
2012-08-24 Kaushik Phatak <firstname.lastname@example.org>
* libgloss/cr16/sys/syscall.h New.
Thanks & Best Regards,
KPIT Cummins Infosystems Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1228 bytes
More information about the Newlib