Commit 257441db by Catherine Moore Committed by Catherine Moore

fix bad patch.

From-SVN: r22665
parent 789eb4f5
Wed Sep 30 10:13:39 1998 Catherine Moore <clm@cygnus.com>
* toplev.c: Fix last patch.
Tue Sep 29 20:03:18 1998 Jim Wilson <wilson@cygnus.com> Tue Sep 29 20:03:18 1998 Jim Wilson <wilson@cygnus.com>
* loop.c (get_condition): Fix typo in May 9 change. * loop.c (get_condition): Fix typo in May 9 change.
......
...@@ -892,6 +892,8 @@ lang_independent_options f_options[] = ...@@ -892,6 +892,8 @@ lang_independent_options f_options[] =
"Do not generate .size directives" }, "Do not generate .size directives" },
{"function-sections", &flag_function_sections, 1, {"function-sections", &flag_function_sections, 1,
"place each function into its own section" }, "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, {"verbose-asm", &flag_verbose_asm, 1,
"Add extra commentry to assembler output"}, "Add extra commentry to assembler output"},
{"gnu-linker", &flag_gnu_linker, 1, {"gnu-linker", &flag_gnu_linker, 1,
...@@ -936,8 +938,6 @@ documented_lang_options[] = ...@@ -936,8 +938,6 @@ documented_lang_options[] =
enabled by default. */ enabled by default. */
{ "-ansi", "Compile just for ANSI C" }, { "-ansi", "Compile just for ANSI C" },
{"data-sections", &flag_data_sections, 1,
"place data items into their own section" },
{ "-fallow-single-precision", { "-fallow-single-precision",
"Do not promote floats to double if using -traditional" }, "Do not promote floats to double if using -traditional" },
...@@ -2707,6 +2707,11 @@ compile_file (name) ...@@ -2707,6 +2707,11 @@ compile_file (name)
warning ("-ffunction-sections not supported for this target."); warning ("-ffunction-sections not supported for this target.");
flag_function_sections = 0; flag_function_sections = 0;
} }
if (flag_data_sections)
{
warning ("-fdata-sections not supported for this target.");
flag_data_sections = 0;
}
#endif #endif
if (flag_function_sections if (flag_function_sections
...@@ -2815,12 +2820,6 @@ compile_file (name) ...@@ -2815,12 +2820,6 @@ compile_file (name)
for (i = 0, decl = globals; i < len; i++, decl = TREE_CHAIN (decl)) for (i = 0, decl = globals; i < len; i++, decl = TREE_CHAIN (decl))
vec[len - i - 1] = 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++) for (i = 0; i < len; i++)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment