Commit 768caa28 by Richard Hodson Committed by Kazu Hirata

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

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

From-SVN: r47057
parent 56c2b525
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> 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
* fix-header.c (read_scan_file): Update. * fix-header.c (read_scan_file): Update.
......
...@@ -187,6 +187,7 @@ dosize (file, op, size) ...@@ -187,6 +187,7 @@ dosize (file, op, size)
subs since this shouldn't happen often. */ subs since this shouldn't happen often. */
if ((TARGET_H8300 && size <= 4) if ((TARGET_H8300 && size <= 4)
|| ((TARGET_H8300H || TARGET_H8300S) && size <= 8) || ((TARGET_H8300H || TARGET_H8300S) && size <= 8)
|| (TARGET_H8300 && interrupt_handler)
|| (TARGET_H8300 && current_function_needs_context || (TARGET_H8300 && current_function_needs_context
&& ! strcmp (op, "sub"))) && ! strcmp (op, "sub")))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment