www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2017/04/28/02:47:34

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=20161025;
h=mime-version:from:date:message-id:subject:to;
bh=FQu0EUZBCvVx5K/5yytPxJoMjoboSA5mxWfwNVVwQOs=;
b=WzbrvB1T6WY/aGqzd7xCw07s0R2xD5IHicroI2chkLsshb+LtfZ5/je4Frr7K7XKht
D5WuuILzsoM5bVvKMH6bHHdX+Y2y6nN8N8rWN5Z6OKKfuYn/kGkT2Lq01m7sRmoT62IJ
q4S+O9UMjRCIZwTHAS6JtAU1B+dqGn3vZZVnVFVWLsI9aujU/FRPixT60XCf9KAn09em
06sSuu8gPqCli46fFKXjqeC/66sZ30Y6MCLuTseanj0IWAGrqFQAHeC+bjFd0Kzoz9he
JK83OieOIZHBVO5uGPf+qrD7ig5UYabTIX3SdFdJA6KDESqz/29Ok3keEk1KHR/ut2B+
yESA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=FQu0EUZBCvVx5K/5yytPxJoMjoboSA5mxWfwNVVwQOs=;
b=dVyHB0g+q/yuMbJtrl53YbxW7Tu7TM+hv+3zerPhF4PB6UGlx+Z2ssF/D+qAD9Iiy6
idCTiBsvVkGXRA0sxM+x/rYSUele6bg5ewxwJvWpBzSozkW1gCjiyojE3yu8/0fJbaAb
NDoSjFFax8KLYJRtwiWBG/VtThqaBJHsarBXPc7JS3XWFx8VQ2nlLLNwkNBC9h9KQNFz
ZIJJJYbh2JvO7E91qQv7uI4osB2WO/Th/unsC5NO6FD1sPZnnYI4loUrAybYEj7QwpJM
2oyWwLQB8tv+z0gBPmaHuT5nnDsu0rfneT3EN/maiatPtWAwFJwFGZVg7ezPbXQPt+8B
L/7w==
X-Gm-Message-State: AN3rC/4Yi3p+D6VpWSCuBF5mXfS4FI4h+pml49J+sSpSdXO2B3MYgTI1
ovkrsWWvlH3kdGmAc/z9DFUeKPf+uQ==
X-Received: by 10.237.36.5 with SMTP id r5mr8031427qtc.253.1493362043208; Thu,
27 Apr 2017 23:47:23 -0700 (PDT)
MIME-Version: 1.0
From: "Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
Date: Fri, 28 Apr 2017 09:47:22 +0300
Message-ID: <CAA2C=vC8s9Kg9LhewQmUMtiJNm+f=Gu5b-m_QXgiTgNufQQpfQ@mail.gmail.com>
Subject: dxe3gen does not handle relocs > 65535
To: djgpp <djgpp AT delorie DOT com>
Reply-To: djgpp AT delorie DOT com

dxe3gen does not handle extended relocations, i.e. STYP_NRELOC_OVFL
set in hdr->s_flags: it still takes hdr->s_nreloc as number of relocs
and ends up generating a broken dxe which leads to bad crashes when
loaded.  We have one such c++ project where s_nreloc does overflow.

I will be trying a few things with this, but I'd appreciate help or
advice or links too:  How should I read the actual number of relocs?
Would our current dlopen() still work with this?

--
O.S.

- Raw text -


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