summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-04-27 01:38:58 -0700
committerYamaArashi <shadow962@live.com>2016-04-27 01:38:58 -0700
commit0fd2209ea0d16df6b320fbac167dc20d89110cb2 (patch)
treeb492be075eb53a98cf7b7653882e89e0a93f2b23 /gcc/toplev.c
parent9dc75fe3b4be91d6066c8e870eacec954117cc08 (diff)
remove dead dwarf-2 code
Diffstat (limited to 'gcc/toplev.c')
-rwxr-xr-xgcc/toplev.c28
1 files changed, 3 insertions, 25 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index adb18fb..a01be8f 100755
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -42,7 +42,7 @@
#include "toplev.h"
#include "expr.h"
-#if defined (DWARF2_UNWIND_INFO) || defined (DWARF2_DEBUGGING_INFO)
+#if defined (DWARF2_DEBUGGING_INFO)
#include "dwarf2out.h"
#endif
@@ -2144,22 +2144,8 @@ compile_file(char *name)
warning("-ffunction-sections may affect debugging on some targets.");
#endif
- /* ??? Note: There used to be a conditional here
- to call assemble_zeros without fail if DBX_DEBUGGING_INFO is defined.
- This was to guarantee separation between gcc_compiled. and
- the first function, for the sake of dbx on Suns.
- However, having the extra zero here confused the Emacs
- code for unexec, and might confuse other programs too.
- Therefore, I took out that change.
- In future versions we should find another way to solve
- that dbx problem. -- rms, 23 May 93. */
-
- /* If dbx symbol table desired, initialize writing it
- and output the predefined types. */
-#ifdef DWARF2_UNWIND_INFO
- if (dwarf2out_do_frame())
- dwarf2out_frame_init();
-#endif
+ /* Initialize DWARF-2. */
+
#ifdef DWARF2_DEBUGGING_INFO
if (write_symbols == DWARF2_DEBUG)
TIMEVAR(symout_time, dwarf2out_init(asm_out_file, main_input_filename));
@@ -2364,10 +2350,6 @@ compile_file(char *name)
weak_finish();
-#ifdef DWARF2_UNWIND_INFO
- if (dwarf2out_do_frame())
- dwarf2out_frame_finish();
-#endif
#ifdef DWARF2_DEBUGGING_INFO
if (write_symbols == DWARF2_DEBUG)
@@ -3965,11 +3947,7 @@ larger_than_lose:;
if (exceptions_via_longjmp == 2)
{
-#ifdef DWARF2_UNWIND_INFO
- exceptions_via_longjmp = !DWARF2_UNWIND_INFO;
-#else
exceptions_via_longjmp = 1;
-#endif
}
/* Unrolling all loops implies that standard loop unrolling must also