[PATCH] Fix sign-extended immediates for SH on 64-bit host

Kaz Kojima kkojima@rr.iij4u.or.jp
Sat Aug 29 22:11:00 GMT 2009


Matt Fleming <matt@console-pimps.org> wrote:
> Sure! How does this patch look?

Looks fine.  I'll apply your patches with the ChangeLog below.
Thanks for fixing this issue!

Regards,
	kaz
--
[gas/ChangeLog]
2009-08-29  Matt Fleming  <matt@console-pimps.org>

	* config/tc-sh.c (md_apply_fix): Extend sign of the offset value
	for 64-bit host.

[gas/testsuite/ChangeLog]
2009-08-29  Matt Fleming  <matt@console-pimps.org>

	* gas/sh/sign-extension.d: New file.
	* gas/sh/sign-extension.s: New file.
	* gas/sh/basic.exp: Run new test.



More information about the Binutils mailing list