[PATCH]: Fix HC12 assembler for PC-relative operands (Bug Savannah/1825)

Stephane Carrez stcarrez@nerim.fr
Sun Dec 8 12:54:00 GMT 2002


Hi!

I've committed this patch to finish the fix of HC12 assembler bug for PC-relative
addressing modes.  It introduces a specific relax to recognize PC-relative offsets.

	Stephane

2002-12-08  Stephane Carrez  <stcarrez@nerim.fr>

	Fix Bug savannah/1825:
	* config/tc-m68hc11.c (STATE_INDEXED_PCREL): New relax code.
	(md_relax_table): Define specific relax for PC-rel offsets.
	(build_indexed_byte): Use a STATE_INDEXED_PCREL relax code.
	(m68hc11_relax_frag): Handle the new relax code.
	(md_convert_frag): Likewise.
	(md_estimate_size_before_relax): Likewise.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tc-m68hc11.c.diffs
URL: <https://sourceware.org/pipermail/binutils/attachments/20021208/13d92e8a/attachment.ksh>


More information about the Binutils mailing list