"Do not generate .size directives" },
{"function-sections", &flag_function_sections, 1,
"place each function into its own section" },
+ {"data-sections", &flag_data_sections, 1,
+ "place data items into their own section" },
{"verbose-asm", &flag_verbose_asm, 1,
"Add extra commentry to assembler output"},
{"gnu-linker", &flag_gnu_linker, 1,
enabled by default. */
{ "-ansi", "Compile just for ANSI C" },
- {"data-sections", &flag_data_sections, 1,
- "place data items into their own section" },
{ "-fallow-single-precision",
"Do not promote floats to double if using -traditional" },
warning ("-ffunction-sections not supported for this target.");
flag_function_sections = 0;
}
+ if (flag_data_sections)
+ {
+ warning ("-fdata-sections not supported for this target.");
+ flag_data_sections = 0;
+ }
#endif
if (flag_function_sections
for (i = 0, decl = globals; i < len; i++, decl = TREE_CHAIN (decl))
vec[len - i - 1] = decl;
- if (flag_data_sections)
- {
- warning ("-fdata-sections not supported for this target.");
- flag_data_sections = 0;
- }
-
for (i = 0; i < len; i++)
{