Mercurial > hg > aboriginal
changeset 1712:7be9fee02572 draft
Don't let the sh2 patch break sh4.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 01 Dec 2014 19:12:39 -0600 |
parents | 60043af4120e |
children | 8929051f09f4 |
files | sources/patches/gcc-core-sh2.patch |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/patches/gcc-core-sh2.patch Mon Nov 24 14:45:21 2014 -0600 +++ b/sources/patches/gcc-core-sh2.patch Mon Dec 01 19:12:39 2014 -0600 @@ -13,12 +13,14 @@ diff -ru gcc-core/gcc/config/sh/lib1funcs.asm gcc-core.bak/gcc/config/sh/lib1funcs.asm --- gcc-core/gcc/config/sh/lib1funcs.asm 2006-06-13 12:44:56.000000000 -0500 +++ gcc-core.bak/gcc/config/sh/lib1funcs.asm 2014-10-16 06:28:53.842282481 -0500 -@@ -3891,3 +3891,5 @@ +@@ -3891,3 +3891,7 @@ ENDFUNC(GLOBAL(udiv_qrnnd_16)) #endif /* !__SHMEDIA__ */ #endif /* L_udiv_qrnnd_16 */ + ++#ifdef __sh2__ +#include "lib1funcs-Os-4-200.asm" ++#endif diff -ru gcc-core/gcc/config/sh/lib1funcs.h gcc-core.bak/gcc/config/sh/lib1funcs.h --- gcc-core/gcc/config/sh/lib1funcs.h 2006-06-13 12:44:56.000000000 -0500 +++ gcc-core.bak/gcc/config/sh/lib1funcs.h 2014-10-16 06:27:44.361942821 -0500