diff --git a/rtems/config/tools/rtems-gcc-4.5.3-newlib-2.0.0-1.cfg b/rtems/config/tools/rtems-gcc-4.5.3-newlib-2.0.0-1.cfg index 5b3bf02..4936600 100644 --- a/rtems/config/tools/rtems-gcc-4.5.3-newlib-2.0.0-1.cfg +++ b/rtems/config/tools/rtems-gcc-4.5.3-newlib-2.0.0-1.cfg @@ -23,6 +23,11 @@ %define enable_obsolete 0 %endif +# +# Libiberty strsignal fix +# +Patch2: gcc-4.5.3-strsignal-1.diff + # # The gcc/newlib build instructions. We use 4.5 Release 1. # diff --git a/rtems/patches/gcc-4.5.3-strsignal-1.diff b/rtems/patches/gcc-4.5.3-strsignal-1.diff new file mode 100644 index 0000000..ddf3b7f --- /dev/null +++ b/rtems/patches/gcc-4.5.3-strsignal-1.diff @@ -0,0 +1,11 @@ +--- gcc-4.5.3/libiberty/strsignal.c.orig 2013-03-08 22:24:00.000000000 +0000 ++++ gcc-4.5.3/libiberty/strsignal.c 2013-03-08 22:24:53.000000000 +0000 +@@ -551,7 +551,7 @@ + #ifndef HAVE_PSIGNAL + + void +-psignal (int signo, char *message) ++psignal (int signo, const char *message) + { + if (signal_names == NULL) + {