comparison sources/patches/gcc-core-sh2.patch @ 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 1829b36abc97
children
comparison
equal deleted inserted replaced
1711:60043af4120e 1712:7be9fee02572
11 sh64-*-netbsd* | sh64l*-*-netbsd*) 11 sh64-*-netbsd* | sh64l*-*-netbsd*)
12 tmake_file="${tmake_file} sh/t-sh sh/t-elf" 12 tmake_file="${tmake_file} sh/t-sh sh/t-elf"
13 diff -ru gcc-core/gcc/config/sh/lib1funcs.asm gcc-core.bak/gcc/config/sh/lib1funcs.asm 13 diff -ru gcc-core/gcc/config/sh/lib1funcs.asm gcc-core.bak/gcc/config/sh/lib1funcs.asm
14 --- gcc-core/gcc/config/sh/lib1funcs.asm 2006-06-13 12:44:56.000000000 -0500 14 --- gcc-core/gcc/config/sh/lib1funcs.asm 2006-06-13 12:44:56.000000000 -0500
15 +++ gcc-core.bak/gcc/config/sh/lib1funcs.asm 2014-10-16 06:28:53.842282481 -0500 15 +++ gcc-core.bak/gcc/config/sh/lib1funcs.asm 2014-10-16 06:28:53.842282481 -0500
16 @@ -3891,3 +3891,5 @@ 16 @@ -3891,3 +3891,7 @@
17 ENDFUNC(GLOBAL(udiv_qrnnd_16)) 17 ENDFUNC(GLOBAL(udiv_qrnnd_16))
18 #endif /* !__SHMEDIA__ */ 18 #endif /* !__SHMEDIA__ */
19 #endif /* L_udiv_qrnnd_16 */ 19 #endif /* L_udiv_qrnnd_16 */
20 + 20 +
21 +#ifdef __sh2__
21 +#include "lib1funcs-Os-4-200.asm" 22 +#include "lib1funcs-Os-4-200.asm"
23 +#endif
22 diff -ru gcc-core/gcc/config/sh/lib1funcs.h gcc-core.bak/gcc/config/sh/lib1funcs.h 24 diff -ru gcc-core/gcc/config/sh/lib1funcs.h gcc-core.bak/gcc/config/sh/lib1funcs.h
23 --- gcc-core/gcc/config/sh/lib1funcs.h 2006-06-13 12:44:56.000000000 -0500 25 --- gcc-core/gcc/config/sh/lib1funcs.h 2006-06-13 12:44:56.000000000 -0500
24 +++ gcc-core.bak/gcc/config/sh/lib1funcs.h 2014-10-16 06:27:44.361942821 -0500 26 +++ gcc-core.bak/gcc/config/sh/lib1funcs.h 2014-10-16 06:27:44.361942821 -0500
25 @@ -26,6 +26,9 @@ 27 @@ -26,6 +26,9 @@
26 the Free Software Foundation, 51 Franklin Street, Fifth Floor, 28 the Free Software Foundation, 51 Franklin Street, Fifth Floor,