From: Alexandre Oliva Date: Tue, 21 Feb 2017 23:02:05 +0000 (-0300) Subject: LVU: emit dwarf loc insn before data-output pseudos X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07b92e3062b1c20c9b2502e84ffea00f634e09da;p=thirdparty%2Fbinutils-gdb.git LVU: emit dwarf loc insn before data-output pseudos --- diff --git a/gas/read.c b/gas/read.c index a26d4fe44df..dc4578dd0e7 100644 --- a/gas/read.c +++ b/gas/read.c @@ -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