aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-m68hc11.c
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2003-04-26 11:53:36 +0000
committerStephane Carrez <stcarrez@nerim.fr>2003-04-26 11:53:36 +0000
commitd204f4c0f9c93e87dfd814795909e19726e14223 (patch)
tree70a193810c724e61574490156dad264febce8553 /bfd/elf32-m68hc11.c
parentaaa222e7b029c17f562198fc520f485dbc3646c5 (diff)
downloadgdb-d204f4c0f9c93e87dfd814795909e19726e14223.zip
gdb-d204f4c0f9c93e87dfd814795909e19726e14223.tar.gz
gdb-d204f4c0f9c93e87dfd814795909e19726e14223.tar.bz2
PR savannah/3331:
* elf32-m68hc11.c (m68hc11_elf_relax_section): Clear prev_insn_group when we couldn't relax something. * ld-m68hc11/bug-3331.d: New test. * ld-m68hc11/bug-3331.s: New file.
Diffstat (limited to 'bfd/elf32-m68hc11.c')
-rw-r--r--bfd/elf32-m68hc11.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf32-m68hc11.c b/bfd/elf32-m68hc11.c
index ebd9d42..bb0f9e9 100644
--- a/bfd/elf32-m68hc11.c
+++ b/bfd/elf32-m68hc11.c
@@ -1073,6 +1073,7 @@ m68hc11_elf_relax_section (abfd, sec, link_info, again)
}
}
prev_insn_branch = 0;
+ prev_insn_group = 0;
}
if (free_relocs != NULL)