aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2017-07-18 20:01:59 -0300
committerAlexandre Oliva <aoliva@redhat.com>2017-07-18 20:01:59 -0300
commit41526e95d83e88a585af92ea31aa753fbe6e4610 (patch)
tree10e92d66259724cbaba6d4bb290e953ba268e670
parent77e1b7f0719eee8be86b30ea38a7c6b914a44915 (diff)
downloadgdb-41526e95d83e88a585af92ea31aa753fbe6e4610.zip
gdb-41526e95d83e88a585af92ea31aa753fbe6e4610.tar.gz
gdb-41526e95d83e88a585af92ea31aa753fbe6e4610.tar.bz2
LVU: SH-specific flush loc insns before advancing PC
-rw-r--r--gas/config/tc-sh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c
index cb5fb24..8baae26 100644
--- a/gas/config/tc-sh.c
+++ b/gas/config/tc-sh.c
@@ -831,6 +831,8 @@ sh_elf_cons (int nbytes)
return;
}
+ dwarf2_emit_insn (0);
+
#ifdef md_cons_align
md_cons_align (nbytes);
#endif