aboutsummaryrefslogtreecommitdiff
path: root/gas/dwarf2dbg.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-12-22 20:36:02 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-12-22 20:36:02 +0000
commitad1172d4c6f24e92bc0af0d4d1d258b493b49ed7 (patch)
tree43ef4bb04e5ebeefb6e33fb076ef89da05ab4213 /gas/dwarf2dbg.c
parentbec71058e4d7f5bfa8ff09dcf7060aa87ac2b115 (diff)
downloadgdb-ad1172d4c6f24e92bc0af0d4d1d258b493b49ed7.zip
gdb-ad1172d4c6f24e92bc0af0d4d1d258b493b49ed7.tar.gz
gdb-ad1172d4c6f24e92bc0af0d4d1d258b493b49ed7.tar.bz2
2000-12-22 H.J. Lu <hjl@gnu.org>
* dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER.
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r--gas/dwarf2dbg.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index 13f487e..c24d85a 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -1197,18 +1197,11 @@ dwarf2_finish ()
return;
/* Calculate the size of an address for the target machine. */
-#ifdef BFD_ASSEMBLER
sizeof_address = bfd_arch_bits_per_address (stdoutput) / 8;
-#else
- /* FIXME. */
- sizeof_address = 4;
-#endif
/* Create and switch to the line number section. */
line_seg = subseg_new (".debug_line", 0);
-#ifdef BFD_ASSEMBLER
bfd_set_section_flags (stdoutput, line_seg, SEC_READONLY);
-#endif
/* For each subsection, chain the debug entries together. */
for (s = all_segs; s; s = s->next)
@@ -1237,11 +1230,9 @@ dwarf2_finish ()
abbrev_seg = subseg_new (".debug_abbrev", 0);
aranges_seg = subseg_new (".debug_aranges", 0);
-#ifdef BFD_ASSEMBLER
bfd_set_section_flags (stdoutput, info_seg, SEC_READONLY);
bfd_set_section_flags (stdoutput, abbrev_seg, SEC_READONLY);
bfd_set_section_flags (stdoutput, aranges_seg, SEC_READONLY);
-#endif
record_alignment (aranges_seg, ffs (2 * sizeof_address) - 1);