linker_inline.txt 634 B

1234567891011
  1. Linker inlining is enabled by default for both UREL and UDEB builds
  2. when building with RVCT4.0 onwards
  3. Linker inlining means that the linker is able to replace branch instructions
  4. to smaller functions, by inlining the code of the small function where the
  5. call is made. Branching is an expensive operation, and this feature allows
  6. the linker to avoid branching. The constraint to that is that target
  7. function should fit within the 4bytes of the branch instruction, which is
  8. why linker inlining shouldn’t cause any code size increase, since it’s
  9. simply replacing a 4byte branch instruction with the 4byte inlined function.