Aleksandar Simeonov writes: > * utils.h: New file that contains utilities for manipulating integers of > up to 32-bits. > * arm.cc (namespace utils): Removed common code to separate file (utils.h). > * arm.cc (utils::sign_extend): Removed. > * arm.cc (utils::has_overflow): Likewise. > * arm.cc (utils::has_signed_unsigned_overflow): Likewise. > * arm.cc (utils::bit_select): Likewise. > - Functions that are common for MIPS and ARM architectures moved to > separate file to avoid duplication of code. I implemented this in a different way. I moved the functions from arm.cc into reloc.h. I put them in a template class Bits and gave them slightly different names. Please update your sources as per the arm.cc patch below, now committed to mainline. Ian 2012-01-27 Ian Lance Taylor * reloc.h (Bits): New class with static functions, copied from namespace utils in arm.cc. * arm.cc (namespace utils): Remove. Rewrite all uses to use Bits instead.