aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/m68k/apollo68.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/m68k/apollo68.h')
-rw-r--r--gcc/config/m68k/apollo68.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/m68k/apollo68.h b/gcc/config/m68k/apollo68.h
index e2be431..a7989b0 100644
--- a/gcc/config/m68k/apollo68.h
+++ b/gcc/config/m68k/apollo68.h
@@ -161,7 +161,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
returned that way. */
#define RETURN_IN_MEMORY(type) \
- (GET_MODE_SIZE (TYPE_MODE (type)) > UNITS_PER_WORD)
+ (TYPE_MODE (type) == BLKmode \
+ || GET_MODE_SIZE (TYPE_MODE (type)) > UNITS_PER_WORD)
/* In order to link with Apollo libraries, we can't prefix external
symbols with an underscore. */