delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/08/30/14:38:32

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
bh=eCOjy999NPDlMPOLUl4ZtrEWWrLIZ5SYO4ikyHDIQ4k=;
b=Gmn6krcK9enOqNazYvI+RCPM+AqYDPUt4ZkP0Id54zH05qn7JatDGsVqDv+Ras3vXO
Cj7phFnkuayHzN/FFm/tOsXLXbfvdsYJ9rEBOuwwu0kj0PZBvtiQPkG64xkxhZmSYU5Z
bM+fQCn+7hxhtns3pjXnrYsbSr81OlZmcwUPbTUNnC9RqjzYzdmLuWnHwqb/p6ozED/i
m5eanvoWB5GusUS2YcdBaR5OijwYw2TsKOhXWpTHeKcMz/9ffgnZM3f0ZVM378yGmw/s
4S6lV2KrgjUVSdnujbmVbdAiDa/Hv0FmDrlE8pgMK42HG88WaQqDO2CUmzsoZRdNdGxA
l9uQ==
MIME-Version: 1.0
X-Received: by 10.107.161.197 with SMTP id k188mr22773045ioe.190.1440959902576;
Sun, 30 Aug 2015 11:38:22 -0700 (PDT)
In-Reply-To: <201508301754.t7UHssvB030048@delorie.com>
References: <201508301754 DOT t7UHssvB030048 AT delorie DOT com>
Date: Sun, 30 Aug 2015 21:38:22 +0300
Message-ID: <CAA2C=vD5qK971Jrm2T73V1rRfNPxyKco0LCso_O6Mk4uTGQJkg@mail.gmail.com>
Subject: Re: ANNOUNCE: Release 2 of the DJGPP port of GNU binutils 2.25.1
uploaded (DJGPP 2.05 only).
From: "Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
To: djgpp AT delorie DOT com
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> This is a port of GNU binutils 2.25.1 to MSDOS/DJGPP.
[...]
>    DJGPP specific changes.
>    =======================
>    - The only DJGPP specific change is that $$dxe$$.o is also accepted
> as valid file name to identify an import library created by dxe3gen.

Thanks.

One nit:  The (signed long) cast in libiberty/stack-limit.c needs
changing to (rlim_t) because, at least on my linux setup, rlim_t
is unsigned long and leads to signed/unsigned mismatch in
comparison warnings.

--- libiberty/stack-limit.c~
+++ libiberty/stack-limit.c
@@ -51,7 +51,7 @@ stack_limit_increase (unsigned long pref
   struct rlimit rlim;
   if (getrlimit (RLIMIT_STACK, &rlim) == 0
       && rlim.rlim_cur != RLIM_INFINITY
-      && rlim.rlim_cur < (signed long) pref
+      && rlim.rlim_cur < (rlim_t) pref
       && (rlim.rlim_max == RLIM_INFINITY || rlim.rlim_cur < rlim.rlim_max))
     {
       rlim.rlim_cur = pref;

Only problem with this is that rlim_t will need to be defined if building
against djgpp-2.03 or older.

--
O.S.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019