This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 4/9] Revert "dwarf2: Use octets for dwarf2 headers"


This (partly) reverts commit 7235427998571b6d8267e7ac72a52d7b082f4c2b.

	* dwarf2dbg.c (out_debug_line): Revert: Use octets for dwarf2 headers.
	(out_debug_aranges, out_debug_info): Likewise.
---
 gas/dwarf2dbg.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index 48fe51291d..dce96033df 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -1876,7 +1876,7 @@ out_debug_line (segT line_seg)
        in the DWARF Line Number header.  */
     subseg_set (subseg_get (".debug_line_end", FALSE), 0);

-  symbol_set_value_now_octets (line_end);
+  symbol_set_value_now (line_end);
 }

 static void
@@ -1995,7 +1995,7 @@ out_debug_aranges (segT aranges_seg, segT info_seg)
   md_number_to_chars (p, 0, addr_size);
   md_number_to_chars (p + addr_size, 0, addr_size);

-  symbol_set_value_now_octets (aranges_end);
+  symbol_set_value_now (aranges_end);
 }

 /* Emit data for .debug_abbrev.  Note that this must be kept in
@@ -2110,7 +2110,7 @@ out_debug_info (segT info_seg, segT abbrev_seg, segT line_seg, segT ranges_seg,
      dwarf2 draft has no standard code for assembler.  */
   out_two (DW_LANG_Mips_Assembler);

-  symbol_set_value_now_octets (info_end);
+  symbol_set_value_now (info_end);
 }

 /* Emit the three debug strings needed in .debug_str and setup symbols
--
2.16.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]