profile: arm fixes

git-svn-id: http://pentoo.googlecode.com/svn@5732 04556701-5d27-2e10-b29c-201e0903c0fa