aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2020-08-03 22:02:24 +0200
committerMark Wielaard <mark@klomp.org>2020-08-04 11:42:53 +0200
commit6b9a135d72c3826b9b5e2a5d35acfb777ec18dcd (patch)
tree8d49ce5f3a515c53d657750160adda825017a990 /gas/ChangeLog
parentf63d03dde00449e71e32fea3496edc69d2e7d386 (diff)
downloadgdb-6b9a135d72c3826b9b5e2a5d35acfb777ec18dcd.zip
gdb-6b9a135d72c3826b9b5e2a5d35acfb777ec18dcd.tar.gz
gdb-6b9a135d72c3826b9b5e2a5d35acfb777ec18dcd.tar.bz2
gas: Use udata for DW_AT_high_pc when emitting DWARF4
For DWARF4 DW_AT_high_pc can be expressed as constant offset from DW_AT_low_pc which saves a relocation. Use DW_FORM_udate (uleb128) to keep the constant value as small as possible. gas/ChangeLog: * dwarf2dbg.c (out_debug_abbrev): When DWARF2_VERSION >= 4, use DW_FORM_udata for DW_AT_high_pc. (out_debug_info): Use emit_leb128_expr for DW_AT_high_pc, when DWARF2_VERSION >= 4. * read.c (emit_leb128_exp): No longer static. * read.h (emit_leb128_exp): Define.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r--gas/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8895c0c..28a6b1b 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,12 @@
+2020-08-04 Mark Wielaard <mark@klomp.org>
+
+ * dwarf2dbg.c (out_debug_abbrev): When DWARF2_VERSION >= 4, use
+ DW_FORM_udata for DW_AT_high_pc.
+ (out_debug_info): Use emit_leb128_expr for DW_AT_high_pc, when
+ DWARF2_VERSION >= 4.
+ * read.c (emit_leb128_exp): No longer static.
+ * read.h (emit_leb128_exp): Define.
+
2020-08-02 Mark Wielaard <mark@klomp.org>
* gas/dwarf2dbg.c (out_dir_and_file_list): For DWARF5 emit at