delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/02/24/07:42:11

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Thu, 24 Feb 2000 13:49:38 +0100
From: =?iso-8859-1?Q?Niklas_H=F6glund?= <niklas AT canit DOT se>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: GNU assembler file size limitation on cygwin
Message-ID: <20000224134938.B28143@canit.se>
Mime-Version: 1.0
X-Mailer: Mutt 0.95i

I have problems assembling a large  program using the as that's inclu-
ded in  cygwin.  (GNU  assembler 2.9.4.) The  error  I get is:  "reloc
overflow:  0x2cda8 > 0xffff".   I sent in  a bug report  about this to
bug-gnu-utils AT gnu DOT org,  and got a reply from  Ian Lance Taylor  saying
that there may be patches available that  solve this. Does anyone here
know  anything about  such patches,   or any  other solution  to  this
problem?

-- 
						Niklas



----- Forwarded message from Ian Lance Taylor <ian AT zembu DOT com> -----

Date: 23 Feb 2000 11:26:18 -0500
From: Ian Lance Taylor <ian AT zembu DOT com>
To: niklas AT canit DOT se
CC: bug-gnu-utils AT gnu DOT org
Subject: Re: GNU assembler file size limitation on cygwin
X-Sorted: Default

   Date: Wed, 23 Feb 2000 10:15:37 +0100
   From: =?us-ascii?Q?=3D=3Fiso-8859-1=3FQ=3FNiklas=5FH=3DF6glund=3F=3D?= <niklas AT canit DOT se>

   BASH.EXE-2.02$ as mlton.s -o mlton.o
   as: mlton.o: reloc overflow: 0x2cda8 > 0xffff
   mlton.o: File truncated
   mlton.s: Assembler messages:
   mlton.s:961878: FATAL: Can't close mlton.o
   : File truncated

The PE format only has a 16 bit field in which to store the relocation
count.  PE defines a workaround, which as I recall is to store the
actual reloc count in the first relocation entry.  I think I recently
saw some patches for this, but I'm not sure what happened to them.
Try asking on the cygwin list.

Ian


----- End forwarded message -----

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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