* fix tthumbcgarm.g_flags2reg, mov reg,#imm for thumb updates the flags

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25426 3ad0048d-3df7-0310-abae-a5850022a9f2
* calculate stack correction on exit correctly if stack parameters are passed

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25427 3ad0048d-3df7-0310-abae-a5850022a9f2