[PATCH]: Fix savannah/3331: Invalid group relaxation, bset uses an invalid address (HC11)

Stephane Carrez stcarrez@nerim.fr
Sat Apr 26 11:59:00 GMT 2003


Hi!

I've committed this patch to fix an invalid relaxation that is activated on HC11,
this bug is registered in Savannah:

Bug #3331:  Invalid group relaxation, bset uses an invalid address
    http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3331&group_id=2424

I also added a testcase in the LD testsuite to show/check the fix.

	Stephane

2003-04-26  Stephane Carrez  <stcarrez@nerim.fr>

	PR savannah/3331:
	* elf32-m68hc11.c (m68hc11_elf_relax_section): Clear prev_insn_group
	when we couldn't relax something.

2003-04-26  Stephane Carrez  <stcarrez@nerim.fr>

	* ld-m68hc11/bug-3331.d: New test.
	* ld-m68hc11/bug-3331.s: New file.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug.diffs
URL: <https://sourceware.org/pipermail/binutils/attachments/20030426/08328d8a/attachment.ksh>


More information about the Binutils mailing list