]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
LVU: emit dwarf loc insn before data-output pseudos
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 21 Feb 2017 23:02:05 +0000 (20:02 -0300)
committerAlexandre Oliva <aoliva@redhat.com>
Tue, 21 Feb 2017 23:02:05 +0000 (20:02 -0300)
gas/read.c

index a26d4fe44df8f8544c950a2bdd01632c0a14cf73..dc4578dd0e74b54bec3237e73006e74e4b6e8706 100644 (file)
@@ -778,6 +778,8 @@ do_align (unsigned int n, char *fill, unsigned int len, unsigned int max)
   md_flush_pending_output ();
 #endif
 
+  dwarf2_emit_insn (0);
+
 #ifdef md_do_align
   md_do_align (n, fill, len, max, just_record_alignment);
 #endif
@@ -2198,6 +2200,8 @@ s_fill (int ignore ATTRIBUTE_UNUSED)
   md_flush_pending_output ();
 #endif
 
+  dwarf2_emit_insn (0);
+
 #ifdef md_cons_align
   md_cons_align (1);
 #endif
@@ -2848,6 +2852,8 @@ s_org (int ignore ATTRIBUTE_UNUSED)
   md_flush_pending_output ();
 #endif
 
+  dwarf2_emit_insn (0);
+
   /* The m68k MRI assembler has a different meaning for .org.  It
      means to create an absolute section at a given address.  We can't
      support that--use a linker script instead.  */
@@ -3318,6 +3324,8 @@ s_space (int mult)
   md_flush_pending_output ();
 #endif
 
+  dwarf2_emit_insn (0);
+
 #ifdef md_cons_align
   md_cons_align (1);
 #endif
@@ -3967,6 +3975,8 @@ cons_worker (int nbytes,  /* 1=.byte, 2=.word, 4=.long.  */
   md_flush_pending_output ();
 #endif
 
+  dwarf2_emit_insn (0);
+
   if (flag_mri)
     stop = mri_comment_field (&stopc);
 
@@ -4959,6 +4969,8 @@ float_cons (/* Clobbers input_line-pointer, checks end-of-line.  */
   md_flush_pending_output ();
 #endif
 
+  dwarf2_emit_insn (0);
+
 #ifdef md_cons_align
   md_cons_align (1);
 #endif
@@ -5382,6 +5394,8 @@ s_leb128 (int sign)
   md_flush_pending_output ();
 #endif
 
+  dwarf2_emit_insn (0);
+
   do
     {
       expression (&exp);
@@ -5451,6 +5465,8 @@ stringer (int bits_appendzero)
   md_flush_pending_output ();
 #endif
 
+  dwarf2_emit_insn (0);
+
 #ifdef md_cons_align
   md_cons_align (1);
 #endif
@@ -5845,6 +5861,8 @@ s_incbin (int x ATTRIBUTE_UNUSED)
   md_flush_pending_output ();
 #endif
 
+  dwarf2_emit_insn (0);
+
 #ifdef md_cons_align
   md_cons_align (1);
 #endif