[PATCH] port newlib for or1k/rtems (avoiding GPL licence problem)

Hesham Moustafa heshamelmatary at gmail.com
Tue Apr 29 03:20:31 UTC 2014


Hi,

In the last few days, I have been working on porting newlib for
or1k/rtems. Joel and Chris mentioned that the previous newlib port has
some GPL code which conflicts with RTEMS; that's why I used this patch
[1] as a starting point. I had to do some changes and additions over
the patch including: configuration files, renaming, setjmp.S
modifications due to ABI changes, and others.

The new newlib patch [2] is against the latest newlib cvs source. It's
too big to be sent via mailing list. Also I have made some minor
changes to gcc port [3] (by help of Joel), to make gcc/newlib building
process works normally.

No libgloss stuff is being used. Please take a look, I would
appreciate your feedback.

[1] http://www.doc.ic.ac.uk/~jab00/or32-newlib/newlib-patch
[2] https://github.com/heshamelmatary/or1k-rtems/blob/master/patches/newlib-cvs-or1k-rtems-29-4-2014.diff
[3] https://github.com/heshamelmatary/or1k-rtems/blob/master/patches/gcc-4.8.2-or1k-rtems-29-4-2014.diff



More information about the devel mailing list