summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2013-03-09 10:48:36 +1100
committerChris Johns <chrisj@rtems.org>2013-03-09 10:48:36 +1100
commit98e7a7b79198bfa8bc8b6abdf123449347abe29d (patch)
tree60f89aaf2e09c181ebc980c93e22fe5ba8d5fb51
parentAdd the --list-deps option to the set builder command. (diff)
downloadrtems-source-builder-98e7a7b79198bfa8bc8b6abdf123449347abe29d.tar.bz2
Patch to fix strsignal for the LM32 gcc-4.5.3.
-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)
+ {