summaryrefslogtreecommitdiff
path: root/gas/as.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-05-27 16:52:49 +0000
committerRichard Henderson <rth@redhat.com>2003-05-27 16:52:49 +0000
commita4447b93785ea7fd86d583bb892f3cb5f6db71d3 (patch)
treed33b904ec977b697a1bfcf3c0bc0897ed800edfa /gas/as.c
parentb7d6ed970a277da806f01110c032f0e19eab2368 (diff)
* dw2gencfi.c, dw2gencfi.h: Rewrite from scratch.
* as.c (main): Always call cfi_finish. * config/tc-i386.c (x86_dwarf2_return_column): New. (x86_cie_data_alignment): New. (md_begin): Set them. (tc_x86_cfi_init): Remove. (tc_x86_regname_to_dw2regnum): Fix 32-bit register numbers; return int, not unsigned long; don't as_bad here. (tc_x86_frame_initial_instructions): Streamline; use updated api. * config/tc-i386.h (tc_cfi_init): Remove. (DWARF2_DEFAULT_RETURN_COLUMN): New. (DWARF2_CIE_DATA_ALIGNMENT): New. * gas/cfi/cfi-i386.d: Update for dw2gencfi rewrite. * gas/cfi/cfi-x86_64.d: Likewise. * gas/cfi/cfi-i386-2.d: New. * gas/cfi/cfi-i386-2.s: New.
Diffstat (limited to 'gas/as.c')
-rw-r--r--gas/as.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/as.c b/gas/as.c
index ff3c9835f6..27a0089fce 100644
--- a/gas/as.c
+++ b/gas/as.c
@@ -911,9 +911,9 @@ main (argc, argv)
assembly debugging or on behalf of the compiler, emit it now. */
dwarf2_finish ();
-#ifdef TARGET_USE_CFIPOP
+ /* If we constructed dwarf2 .eh_frame info, either via .cfi
+ directives from the user or by the backend, emit it now. */
cfi_finish ();
-#endif
if (seen_at_least_1_file ()
&& (flag_always_generate_output || had_errors () == 0))