Index: rtems/config/tools/rtems-gcc-4.8.3-newlib-2.5.0.20170818-1.cfg
===================================================================
--- rtems/config/tools/rtems-gcc-4.8.3-newlib-2.5.0.20170818-1.cfg	(revision e960835cb745857d4bbaea29f97a5b44cb530d49)
+++ rtems/config/tools/rtems-gcc-4.8.3-newlib-2.5.0.20170818-1.cfg	(revision 4f364ef763f6c08bf9ba7ac3ede2a4288fdd517c)
@@ -5,3 +5,8 @@
 %hash sha512 newlib-2.5.0.20170818.tar.gz 41382f722232593a9a2bf7de09dc51a26ad51bf8ad06259b0fd38a13cfcd577688e836446d7e88b7741eeec316cfa137ff9b4e16cca846b11bb70948ff1b8c16
 
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=7b2c3621901dbb0a3535f8056a2eadb9095a5ad2
+%hash sha512 newlib-cygwin-git-7b2c3621901dbb0a3535f8056a2eadb9095a5ad2.patch de14e30ad11716b15edf18fd6cbd593316c7586136dcf7993c97bd1a0a90b75bcccf2dd05963dcc5d30d2fb81d90e5ba999db0df9da7b6cdcca29ccbdc677619
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=524eb4dc2913e5b8f73b4b450c3c96bb40f5006d
+%hash sha512 newlib-cygwin-git-524eb4dc2913e5b8f73b4b450c3c96bb40f5006d.patch 968928c7007c7cdde0a467ef2004ddd7878f8c012f6ffeb2c328cd8a0ebd4d6457e2913b15a96ebce98aecfaeeb427236fd6301cedeb5173818b98cfbc1cb680
+
 %include tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg
Index: rtems/config/tools/rtems-gcc-4.9.2-newlib-2.5.0.20170818-1.cfg
===================================================================
--- rtems/config/tools/rtems-gcc-4.9.2-newlib-2.5.0.20170818-1.cfg	(revision e960835cb745857d4bbaea29f97a5b44cb530d49)
+++ rtems/config/tools/rtems-gcc-4.9.2-newlib-2.5.0.20170818-1.cfg	(revision 4f364ef763f6c08bf9ba7ac3ede2a4288fdd517c)
@@ -5,3 +5,8 @@
 %hash sha512 newlib-2.5.0.20170818.tar.gz 41382f722232593a9a2bf7de09dc51a26ad51bf8ad06259b0fd38a13cfcd577688e836446d7e88b7741eeec316cfa137ff9b4e16cca846b11bb70948ff1b8c16
 
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=7b2c3621901dbb0a3535f8056a2eadb9095a5ad2
+%hash sha512 newlib-cygwin-git-7b2c3621901dbb0a3535f8056a2eadb9095a5ad2.patch de14e30ad11716b15edf18fd6cbd593316c7586136dcf7993c97bd1a0a90b75bcccf2dd05963dcc5d30d2fb81d90e5ba999db0df9da7b6cdcca29ccbdc677619
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=524eb4dc2913e5b8f73b4b450c3c96bb40f5006d
+%hash sha512 newlib-cygwin-git-524eb4dc2913e5b8f73b4b450c3c96bb40f5006d.patch 968928c7007c7cdde0a467ef2004ddd7878f8c012f6ffeb2c328cd8a0ebd4d6457e2913b15a96ebce98aecfaeeb427236fd6301cedeb5173818b98cfbc1cb680
+
 %include tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg
Index: rtems/config/tools/rtems-gcc-4.9.3-newlib-2.5.0.20170818-1.cfg
===================================================================
--- rtems/config/tools/rtems-gcc-4.9.3-newlib-2.5.0.20170818-1.cfg	(revision e960835cb745857d4bbaea29f97a5b44cb530d49)
+++ rtems/config/tools/rtems-gcc-4.9.3-newlib-2.5.0.20170818-1.cfg	(revision 4f364ef763f6c08bf9ba7ac3ede2a4288fdd517c)
@@ -5,3 +5,8 @@
 %hash sha512 newlib-2.5.0.20170818.tar.gz 41382f722232593a9a2bf7de09dc51a26ad51bf8ad06259b0fd38a13cfcd577688e836446d7e88b7741eeec316cfa137ff9b4e16cca846b11bb70948ff1b8c16
 
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=7b2c3621901dbb0a3535f8056a2eadb9095a5ad2
+%hash sha512 newlib-cygwin-git-7b2c3621901dbb0a3535f8056a2eadb9095a5ad2.patch de14e30ad11716b15edf18fd6cbd593316c7586136dcf7993c97bd1a0a90b75bcccf2dd05963dcc5d30d2fb81d90e5ba999db0df9da7b6cdcca29ccbdc677619
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=524eb4dc2913e5b8f73b4b450c3c96bb40f5006d
+%hash sha512 newlib-cygwin-git-524eb4dc2913e5b8f73b4b450c3c96bb40f5006d.patch 968928c7007c7cdde0a467ef2004ddd7878f8c012f6ffeb2c328cd8a0ebd4d6457e2913b15a96ebce98aecfaeeb427236fd6301cedeb5173818b98cfbc1cb680
+
 %include tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg
Index: rtems/config/tools/rtems-gcc-6.3.0-newlib-2.5.0.20170818-1.cfg
===================================================================
--- rtems/config/tools/rtems-gcc-6.3.0-newlib-2.5.0.20170818-1.cfg	(revision e960835cb745857d4bbaea29f97a5b44cb530d49)
+++ rtems/config/tools/rtems-gcc-6.3.0-newlib-2.5.0.20170818-1.cfg	(revision 4f364ef763f6c08bf9ba7ac3ede2a4288fdd517c)
@@ -25,4 +25,9 @@
 %hash sha512 ubsan.c-109382498fda534d7a8de790e1ebfe39fdb7e231.patch 0b2eb2e9c195f7495b10f2a65bf2363f391065352385703b1a1fbd5f5005a629481b268f3483c4030512d1cd47f81f72ddff9899ded904866d8bcdd6e6ffa756
 
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=7b2c3621901dbb0a3535f8056a2eadb9095a5ad2
+%hash sha512 newlib-cygwin-git-7b2c3621901dbb0a3535f8056a2eadb9095a5ad2.patch de14e30ad11716b15edf18fd6cbd593316c7586136dcf7993c97bd1a0a90b75bcccf2dd05963dcc5d30d2fb81d90e5ba999db0df9da7b6cdcca29ccbdc677619
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=524eb4dc2913e5b8f73b4b450c3c96bb40f5006d
+%hash sha512 newlib-cygwin-git-524eb4dc2913e5b8f73b4b450c3c96bb40f5006d.patch 968928c7007c7cdde0a467ef2004ddd7878f8c012f6ffeb2c328cd8a0ebd4d6457e2913b15a96ebce98aecfaeeb427236fd6301cedeb5173818b98cfbc1cb680
+
 %define with_threads 1
 %define with_plugin  0
Index: rtems/config/tools/rtems-gcc-7.1.0-newlib-2.5.0.20170818-1.cfg
===================================================================
--- rtems/config/tools/rtems-gcc-7.1.0-newlib-2.5.0.20170818-1.cfg	(revision e960835cb745857d4bbaea29f97a5b44cb530d49)
+++ rtems/config/tools/rtems-gcc-7.1.0-newlib-2.5.0.20170818-1.cfg	(revision 4f364ef763f6c08bf9ba7ac3ede2a4288fdd517c)
@@ -31,4 +31,9 @@
 %hash sha512 0001-config-sparc-sparc.opt-mfix-ut700-New-option.patch 45a9460680a7367df5d68560c72bdc313f576a7bfbbf25142663299cb7affbf0657a738119e428e0fa1864e4be17b188fcfabbe431a90d4af37cf0bb0505cc4c
 
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=7b2c3621901dbb0a3535f8056a2eadb9095a5ad2
+%hash sha512 newlib-cygwin-git-7b2c3621901dbb0a3535f8056a2eadb9095a5ad2.patch de14e30ad11716b15edf18fd6cbd593316c7586136dcf7993c97bd1a0a90b75bcccf2dd05963dcc5d30d2fb81d90e5ba999db0df9da7b6cdcca29ccbdc677619
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=524eb4dc2913e5b8f73b4b450c3c96bb40f5006d
+%hash sha512 newlib-cygwin-git-524eb4dc2913e5b8f73b4b450c3c96bb40f5006d.patch 968928c7007c7cdde0a467ef2004ddd7878f8c012f6ffeb2c328cd8a0ebd4d6457e2913b15a96ebce98aecfaeeb427236fd6301cedeb5173818b98cfbc1cb680
+
 %define with_threads 1
 %define with_plugin  0
Index: rtems/config/tools/rtems-gcc-7.2.0-newlib-2.5.0.20170818-1.cfg
===================================================================
--- rtems/config/tools/rtems-gcc-7.2.0-newlib-2.5.0.20170818-1.cfg	(revision e960835cb745857d4bbaea29f97a5b44cb530d49)
+++ rtems/config/tools/rtems-gcc-7.2.0-newlib-2.5.0.20170818-1.cfg	(revision 4f364ef763f6c08bf9ba7ac3ede2a4288fdd517c)
@@ -29,4 +29,9 @@
 %hash sha512 gcc-7ea9ebdb77b6a9b7060ad2362318e0e12b9058ae.patch 9fbd0a9d1568c1b5536f449a9f8bd7ab63f20007119831aa16d3878f1a3e8fc631e2e36b59d39e5e609c54a61e2f84ccb80c43a35eb40d2caa3065e6a2b840df
 
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=7b2c3621901dbb0a3535f8056a2eadb9095a5ad2
+%hash sha512 newlib-cygwin-git-7b2c3621901dbb0a3535f8056a2eadb9095a5ad2.patch de14e30ad11716b15edf18fd6cbd593316c7586136dcf7993c97bd1a0a90b75bcccf2dd05963dcc5d30d2fb81d90e5ba999db0df9da7b6cdcca29ccbdc677619
+%patch add newlib -p1 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=patch;h=524eb4dc2913e5b8f73b4b450c3c96bb40f5006d
+%hash sha512 newlib-cygwin-git-524eb4dc2913e5b8f73b4b450c3c96bb40f5006d.patch 968928c7007c7cdde0a467ef2004ddd7878f8c012f6ffeb2c328cd8a0ebd4d6457e2913b15a96ebce98aecfaeeb427236fd6301cedeb5173818b98cfbc1cb680
+
 %define with_threads 1
 %define with_plugin  0
