mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Patch to fix strsignal for the LM32 gcc-4.5.3.
This commit is contained in:
parent
6b29f596b8
commit
98e7a7b791
@ -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.
|
||||
#
|
||||
|
11
rtems/patches/gcc-4.5.3-strsignal-1.diff
Normal file
11
rtems/patches/gcc-4.5.3-strsignal-1.diff
Normal file
@ -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)
|
||||
{
|
Loading…
x
Reference in New Issue
Block a user