-ffunction-sections

IDE Equivalent

GCC C Compiler > Optimization > Function sections

Syntax

-ffunction-sections

Arguments

None

Default

OFF

Description

If the target supports arbitrary sections, places each function into its own section in the output file.

For more complete information about compiler optimizations, see our Optimization Notice.