[PATCH] Blackfin syscall change
Fri Aug 15 14:38:00 GMT 2008
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.
> 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.
More information about the Newlib