mirror of https://github.com/ARMmbed/mbed-os.git
IAR: Enable inline linker optimizations for develop/release profile
- add --inline option to linker flags Some routines are so small that they can fit in the space of the instruction that calls the routine. Use this option to make the linker replace the call of a routine with the body of the routine, where applicable.pull/11865/head
parent
09c24507c3
commit
683ba969b5
|
|
@ -55,6 +55,6 @@
|
|||
"asm": [],
|
||||
"c": ["--vla", "--diag_suppress=Pe546"],
|
||||
"cxx": ["--guard_calls", "--no_static_destruction"],
|
||||
"ld": ["--skip_dynamic_initialization", "--threaded_lib"]
|
||||
"ld": ["--skip_dynamic_initialization", "--threaded_lib", "--inline"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -53,6 +53,6 @@
|
|||
"asm": [],
|
||||
"c": ["--vla", "--diag_suppress=Pe546"],
|
||||
"cxx": ["--guard_calls", "--no_static_destruction"],
|
||||
"ld": ["--skip_dynamic_initialization", "--threaded_lib"]
|
||||
"ld": ["--skip_dynamic_initialization", "--threaded_lib", "--inline"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue