This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Blackfin syscall change


Ok, patch checked in together with all your other patches.

-- Jeff J.

Jie Zhang wrote:
Yes, this works with the simulator. I'm preparing to submit Blackfin GDB
port to the upstream.

Jie

Jeff Johnston wrote:
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







Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]