summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rtems/config/tools/rtems-gcc-4.5.3-newlib-2.0.0-1.cfg5
-rw-r--r--rtems/patches/gcc-4.5.3-strsignal-1.diff11
2 files changed, 16 insertions, 0 deletions
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
@@ -24,6 +24,11 @@
%endif
#
+# Libiberty strsignal fix
+#
+Patch2: gcc-4.5.3-strsignal-1.diff
+
+#
# The gcc/newlib build instructions. We use 4.5 Release 1.
#
%include %{_configdir}/gcc-4.5-1.cfg
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)
+ {