h8300.c (dosize): Avoid corrupting R3 in interrupt routines.

* config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
	routines.

From-SVN: r47057
This commit is contained in:
Richard Hodson 2001-11-15 14:52:51 +00:00 committed by Kazu Hirata
parent 56c2b525b3
commit 768caa286d
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-11-15 Richard Hodson <hodsonr@dionecorp.com>
* config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
routines.
2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
* fix-header.c (read_scan_file): Update.

View File

@ -187,6 +187,7 @@ dosize (file, op, size)
subs since this shouldn't happen often. */
if ((TARGET_H8300 && size <= 4)
|| ((TARGET_H8300H || TARGET_H8300S) && size <= 8)
|| (TARGET_H8300 && interrupt_handler)
|| (TARGET_H8300 && current_function_needs_context
&& ! strcmp (op, "sub")))
{