[PATCH] Blackfin syscall change

Jeff Johnston jjohnstn@redhat.com
Wed Aug 13 03:28:00 GMT 2008


Does this work with the current simulator?  Usually, the simulator is set up
to recognize its "syscall" sequence.  If the simulator is sitting on 
RAISE 0,
then it won't work anymore.

-- Jeff J.

Jie Zhang wrote:
> This patch replaces "RAISE 0;" with "EXCPT 0;" for syscall in Blackfin
> libgloss. The syscall mechanism in libgloss is used for simulator and
> hardware board. "RAISE 0" is OK for simulator, but cannot be used for
> hardware board. Using a valid instruction will ensure predictable
> behavior of application on hardware board although currently there is no
> non-trivial implementation of syscall for hardware board. Please review
> and commit. Thanks.
>
>
> Jie
>
>



More information about the Newlib mailing list