While here also cleanup some surrounding code; particularly drop some malloc() casts. Found with devel/coccinelle. Reviewed by: bde (previous version - all new bugs are mine)
It should become useless when gcc 3.4 will be imported, as libgcc from gcc 3.4 contains this bits for arm.