summaryrefslogtreecommitdiff
path: root/patches/binutils/2.16.1/110-psignal.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-09-11 16:18:53 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-09-11 16:18:53 (GMT)
commitdc00d94ba31866b8be47f2584d6dcab2cbed86bc (patch)
tree2bd48f0128a950812a03a129cdeeaa9dee4a4135 /patches/binutils/2.16.1/110-psignal.patch
parent01d16b6f26ab5992f3dc9603a91a890d46763d7e (diff)
binutils/binutils: fixup version strings
Recently, all binutils versions have been renamed after a GPL compliance issue was found and fixed in binutils; http://sourceware.org/ml/binutils/2011-08/msg00198.html Although legacy symlinks have been put in place, we should now use the new, real version strings. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'patches/binutils/2.16.1/110-psignal.patch')
-rw-r--r--patches/binutils/2.16.1/110-psignal.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/patches/binutils/2.16.1/110-psignal.patch b/patches/binutils/2.16.1/110-psignal.patch
deleted file mode 100644
index 98fa600..0000000
--- a/patches/binutils/2.16.1/110-psignal.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-Make psignal prototype in libiberty match that in glibc.
-
-Fixes:
-
-gcc-2.95.3-glibc-2.1.3/binutils-2.15/libiberty/strsignal.c: In function `psignal':
-gcc-2.95.3-glibc-2.1.3/binutils-2.15/libiberty/strsignal.c:563: argument `signo' doesn't match prototype
-/usr/include/signal.h:131: prototype declaration
-gcc-2.95.3-glibc-2.1.3/binutils-2.15/libiberty/strsignal.c:563: argument `message' doesn't match prototype
-/usr/include/signal.h:131: prototype declaration
-gcc-2.95.3-glibc-2.1.3/binutils-2.15/libiberty/strsignal.c:568: warning: comparison between signed and unsigned
-mprotect... make[1]: *** [strsignal.o] Error 1
-make[1]: Leaving directory `/export/hda3/dkegel/queue/jobdir.produser_cpsm17/crosstool-0.32/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.1.3/build-binutils/libiberty'
-make: *** [all-libiberty] Error 2
-
-when building on red hat 7.1
-though it's a bit of a mystery why libiberty's psignal is being compiled at
-all, since red hat 7.1's glibc supports psignal (hence the error message)
-
---- binutils-2.15/libiberty/strsignal.c.old 2005-04-18 13:57:40.000000000 -0700
-+++ binutils-2.15/libiberty/strsignal.c 2005-04-18 13:59:09.000000000 -0700
-@@ -544,7 +544,7 @@
-
- /*
-
--@deftypefn Supplemental void psignal (unsigned @var{signo}, char *@var{message})
-+@deftypefn Supplemental void psignal (int @var{signo}, const char *@var{message})
-
- Print @var{message} to the standard error, followed by a colon,
- followed by the description of the signal specified by @var{signo},
-@@ -557,9 +557,7 @@
- #ifndef HAVE_PSIGNAL
-
- void
--psignal (signo, message)
-- unsigned signo;
-- char *message;
-+psignal (int signo, const char *message)
- {
- if (signal_names == NULL)
- {