Ferocion: fix corruption of r0 when resuming Thumb mode
commit517e812de3782a6b592cb69416d1327a9b94ac9f
authorNicolas Pitre <nico@fluxnic.net>
Fri, 23 Oct 2009 03:23:44 +0000 (22 23:23 -0400)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 23 Oct 2009 04:21:09 +0000 (22 21:21 -0700)
tree4bcd3948a521b438f1355da487a5a7c3bb77042a
parentf593ff0a3dd08052648da61a75f5ad5a35945194
Ferocion: fix corruption of r0 when resuming Thumb mode

The wrong variable (pc instead of r0) was used.  Furthermore, someone
did cover this error by stupidly silencing the compiler warning that
occurred before a dummy void reference to r0 was added to the code.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/target/feroceon.c