aboutsummaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2000-11-29 21:42:41 +0000
committerRichard Henderson <rth@redhat.com>2000-11-29 21:42:41 +0000
commit220e750f6ff8264ad573f43c0883ece78f53642f (patch)
tree15bd4b7605aaf794ca598ba141fa1164b044c763 /gas/as.h
parentb13291a97978585d2167e4bb047493c34f3df5ca (diff)
downloadgdb-220e750f6ff8264ad573f43c0883ece78f53642f.zip
gdb-220e750f6ff8264ad573f43c0883ece78f53642f.tar.gz
gdb-220e750f6ff8264ad573f43c0883ece78f53642f.tar.bz2
* dwarf2dbg.c: Rewrite from scratch. Queue all debugging output
until dwarf2_finish; use relaxation to get cross-fragment offsets; thread multiple subsegments properly; handle multiple code sections properly; emit proper compilation unit info for assembler generated debugging. * as.h (enum _relax_state): Add rs_dwarf2dbg. * dwarf2dbg.h (struct dwarf2_line_info): Remove filename. (dwarf2dbg_estimate_size_before_relax): Declare. (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare. * write.c: Include dwarf2dbg.h. (cvt_frag_to_fill): Handle rs_dwarf2dbg. (relax_segment): Likewise.
Diffstat (limited to 'gas/as.h')
-rw-r--r--gas/as.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/as.h b/gas/as.h
index b78b77c..482bdc2 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -387,7 +387,10 @@ enum _relax_state {
rs_leb128,
/* Exception frame information which we may be able to optimize. */
- rs_cfa
+ rs_cfa,
+
+ /* Cross-fragment dwarf2 line number optimization. */
+ rs_dwarf2dbg
};
typedef enum _relax_state relax_stateT;