19e63c7
diff -up binutils-2.37/config/intdiv0.m4.bucfg binutils-2.37/config/intdiv0.m4
19e63c7
--- binutils-2.37/config/intdiv0.m4.bucfg	2021-07-08 13:37:19.000000000 +0200
19e63c7
+++ binutils-2.37/config/intdiv0.m4	2021-07-20 23:32:54.614329820 +0200
89edae2
@@ -31,10 +31,10 @@ sigfpe_handler (sig) int sig;
89edae2
   exit (sig != SIGFPE);
89edae2
 }
89edae2
 
89edae2
-int x = 1;
89edae2
-int y = 0;
89edae2
-int z;
89edae2
-int nan;
89edae2
+volatile int x = 1;
89edae2
+volatile int y = 0;
89edae2
+volatile int z;
89edae2
+volatile int nan;
89edae2
 
89edae2
 int main ()
89edae2
 {
19e63c7
diff -up binutils-2.37/libiberty/acinclude.m4.bucfg binutils-2.37/libiberty/acinclude.m4
19e63c7
--- binutils-2.37/libiberty/acinclude.m4.bucfg	2021-07-20 23:33:34.232852534 +0200
19e63c7
+++ binutils-2.37/libiberty/acinclude.m4	2021-07-20 23:33:50.456657087 +0200
19e63c7
@@ -157,7 +157,7 @@ if test $ac_cv_os_cray = yes; then
19e63c7
 fi
19e63c7
 
19e63c7
 AC_CACHE_CHECK(stack direction for C alloca, ac_cv_c_stack_direction,
19e63c7
-[AC_TRY_RUN([find_stack_direction ()
19e63c7
+[AC_TRY_RUN([__attribute__ ((noclone,noinline)) find_stack_direction ()
19e63c7
 {
19e63c7
   static char *addr = 0;
19e63c7
   auto char dummy;
19e63c7
diff -up binutils-2.37/libiberty/aclocal.m4.bucfg binutils-2.37/libiberty/aclocal.m4
19e63c7
diff -up binutils-2.37/libiberty/configure.ac.bucfg binutils-2.37/libiberty/configure.ac