EmcraftSystems / linux-emcraft

uClinux for Cortex-M3 and Cortex-M4, version 2.6.33
http://www.emcraft.com
Other
266 stars 209 forks source link

Avoid undefined Thumb-2 instructions using PC #7

Closed mayur-who closed 2 years ago

mayur-who commented 10 years ago

The ADD and AND instructions using PC as one of the registers is not supported by the Thumb-2 instruction set. This patch adds the THUMB() variants in the compressed/head.S file.