[PATCH]: Fix overflow in gas .relax instruction (68hc11)

Stephane Carrez stcarrez@nerim.fr
Sat Sep 6 20:44:00 GMT 2003


Hi!

The .relax instruction is used on 68hc11/hc12 to mark a group of insns for specific
relaxation. Its operand is a label that marks the end of the group. The fixup that
was used for this label was using 1 byte but it should really use 2 (savannah bug 4358).
Committed on mainline.

	Stephane

2003-09-06  Stephane Carrez  <stcarrez@nerim.fr>

	PR savannah/4358:
	* config/tc-m68hc11.c (s_m68hc11_relax): Use 2 for size to avoid
	overflow complain.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tc-m68hc11.c.diffs
URL: <https://sourceware.org/pipermail/binutils/attachments/20030906/d4cf213b/attachment.ksh>


More information about the Binutils mailing list