X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Thu, 29 Dec 2011 15:56:06 -0500 Message-Id: <201112292056.pBTKu6q6005225@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <4EFCDF18.8090607@iki.fi> (message from Andris Pavenis on Thu, 29 Dec 2011 22:43:52 +0100) Subject: Re: problem with AS from binutils 2.21.1 References: <8a32880d-526c-40ac-a9bb-e88fce4ee2aa AT z25g2000vbs DOT googlegroups DOT com> <21258842-845d-4b87-9c29-52d0528e2ca0 AT dp8g2000vbb DOT googlegroups DOT com> <9m1d3rFcctU1 AT mid DOT dfncis DOT de> <4f6d5674-a89a-4eed-a7c3-5e944257610e AT f11g2000yql DOT googlegroups DOT com> <9m3iofFpomU1 AT mid DOT dfncis DOT de> <4EFCDF18 DOT 8090607 AT iki DOT fi> Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > Just to be 101% clear about this: this is not a limitation of DJGPP's > > COFF, it's a general limitation of all 32-bit COFF formats. > Well. I'm also afraid that the same limitation will "kill" DJGPP port of > GCC. There is a way around this that Cygwin uses (PE is a coff-based format) if someone wants to port it to djgpp... Basically, if the number of relocs exceed 65534, 65535 is stored in the count (or a flag is set) and the actual count is stored in a 32-bit field elsewhere.