[PATCH]: Fix ld-HC11 linker relax (Bug 1417)

Stephane Carrez stcarrez@nerim.fr
Sun Dec 1 05:25:00 GMT 2002


Hi!

I've committed this patch to fix the Savannah bug 1417:

http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1417&group_id=2424

When doing linker relaxation for HC11, I was adjusting a branch when it should not.
I've committed a testcase in ld testsuite to check/validate the fix.

	Stephane

bfd/ChangeLog
2002-12-01  Stephane Carrez  <stcarrez@nerim.fr>

	Fix PR savannah/1417:
	* elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Don't adjust
	branch if it goes to the start of the deleted region.

ld/testsuite/ChangeLog
2002-12-01  Stephane Carrez  <stcarrez@nerim.fr>

	Fix PR savannah/1417:
	* ld-m68hc11/bug-1417.s: New test.
	* ld-m68hc11/bug-1417.d: Likewise.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: binutils.diffs
URL: <https://sourceware.org/pipermail/binutils/attachments/20021201/61c7d94b/attachment.ksh>


More information about the Binutils mailing list