If you are compiling with the
which in RVCT 4.0 is enabled by default at
it is possible for the compiler to perform automatic inlining for
calls to functions that are defined in other translation units.
disabled by default in ARM Compiler 4.1 and later, regardless of
the optimization level.
--multifile, both translation units
must be compiled in the same invocation of the compiler.