From 18ff9f4f1bddd11c341a37177885ac89fcccedd9 Mon Sep 17 00:00:00 2001 From: obrien Date: Fri, 12 Apr 2002 19:33:52 +0000 Subject: Import of Binutils from the FSF 2.12 branch. (this fixes several linker problems and coredumps) These bits are taken from the FSF anoncvs repo on 10-April-2002 13:24 Zulu --- contrib/binutils/gas/write.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/binutils/gas/write.c') diff --git a/contrib/binutils/gas/write.c b/contrib/binutils/gas/write.c index 9b20f90..f4dc2ae 100644 --- a/contrib/binutils/gas/write.c +++ b/contrib/binutils/gas/write.c @@ -2923,7 +2923,7 @@ number_to_chars_bigendian (buf, val, n) valueT val; int n; { - if ((size_t) n > sizeof (val) || n <= 0) + if (n <= 0) abort (); while (n--) { @@ -2938,7 +2938,7 @@ number_to_chars_littleendian (buf, val, n) valueT val; int n; { - if ((size_t) n > sizeof (val) || n <= 0) + if (n <= 0) abort (); while (n--) { -- cgit v1.1