I am seeing a strange behavior. I was using stdlib.h, and tried to use srand and rand functions. At the end of the link, I got an error about an undefined reference to _sbrk. After some searching, I found if I added:
to the bottom of ProcessorExpert.ld, it works. Now the strange thing is that my colleague is able to build the same project without having to do that, and we both have KDS 3.0.0. Is there a setting somewhere that adds libnosys without having to modify the linker file, and perhaps the setting has changed? We have been using stdlib.h for other functions with no trouble, it was just when we tried to use the random functions this showed up.