summaryrefslogtreecommitdiff
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
commitd6671bf55ebe1035c84f4691068ca3e191477981 (patch)
treeec58ffc5fbd33876a72cebc6acf6b531f4f9af14 /gas/as.h
parentd15422b776f65372eb1979ba57449547249604e7 (diff)
downloadbinutils-redhat-d6671bf55ebe1035c84f4691068ca3e191477981.tar.gz
* 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 b78b77cd74..482bdc25d5 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;