[3/9] Revert "dwarf2: Use octets for .debug_line prologue"

Message ID 20191121211732.16653-4-ceggers@gmx.de
State New
Headers show
Series
  • ELF support for targets with octets_per_byte>1
Related show

Commit Message

Christian Eggers Nov. 21, 2019, 9:17 p.m.
This reverts commit 38c24f42c97af59ad83505ed735e689c63d3ca45.

	* dwarf2dbg.c (out_debug_line): Revert: Use octets for .debug_line
prologue.
---
 gas/dwarf2dbg.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--
2.16.4

Patch

diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index dbb9a68d48..48fe51291d 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -1831,7 +1831,7 @@  out_debug_line (segT line_seg)
   exp.X_op_symbol = prologue_start;
   exp.X_add_number = 0;
   emit_expr (&exp, sizeof_offset);
-  symbol_set_value_now_octets (prologue_start);
+  symbol_set_value_now (prologue_start);

   /* Parameters of the state machine.  */
   out_byte (DWARF2_LINE_MIN_INSN_LENGTH);
@@ -1856,7 +1856,7 @@  out_debug_line (segT line_seg)

   out_file_list ();

-  symbol_set_value_now_octets (prologue_end);
+  symbol_set_value_now (prologue_end);

   /* For each section, emit a statement program.  */
   for (s = all_segs; s; s = s->next)