Patch : m68hc12 gas movb/movw un-relax

Nick Clifton nickc@redhat.com
Wed Jan 21 11:24:00 GMT 2004


Hi Tom,

> This is a patch for gas on the m68hc11-elf.  Built on RH 8 and tested with
> m68hc11-sim.

Thanks very much for submitting this, and thanks even more for
including a new test to check the patch.

> I do not believe I have write permissions so could someone else check this
> in?

I have done so - one point though.  In the future please could you
submit the ChangeLog entries as plain text rather than context diffs
as they very rarely apply cleanly.

Cheers
        Nick

bfd/ChangeLog
2004-01-11  Tom Rix  <tcrix@worldnet.att.net>

	* reloc.c: New 5 bit reloc, BFD_RELOC_M68HC12_5B, for m68hc12 movb/movw.
	* bfd-in2.h, libbfd.h: Rebuilt.

gas/ChangeLog
2004-01-11  Tom Rix   <tcrix@worldnet.att.net>

	* config/tc-m68hc11.c (build_indexed_byte): movb and movw can not
	be relaxed, use fixup. 
	(md_apply_fix3): Use 5 bit reloc from movb and movw fixup.

gas/testsuite/ChangeLog
2004-01-11 Tom Rix   <tcrix@worldnet.att.net>

	* gas/m68hc11/movb.s: Add m68hc12 movb and movw dump test.
	* gas/m68hc11/movb.d: Likewise.
	* gas/m68hc11/m68hc11.exp: Likewise.  Add more movb failure tests.

    Applied.



More information about the Binutils mailing list