You copied the Doc URL to your clipboard.

ARM Compiler armlink User Guide : --max_veneer_passes=value


Specifies a limit to the number of veneer generation passes the linker attempts to make when certain conditions are met.



Where value is the maximum number of veneer passes the linker is to attempt. The minimum value you can specify is one.


The linker applies this limit when both the following conditions are met:

  • section that is sufficiently large has a relocation that requires a veneer.

  • The linker cannot place the veneer close enough to the call site.

The linker attempts to diagnose the failure if the maximum number of veneer generation passes you specify is exceeded, and displays a warning message. You can downgrade this warning message using --diag_remark.


The default number of passes is 10.