-fdata-sections

IDE Equivalent

GCC C Compiler > Optimization > Data sections

Syntax

-fdata-sections

Arguments

None

Default

OFF

Description

Places each data item in its own section. It works for the ELF object format only.

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