www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/25/23:38:16

From: shankar AT chromatic DOT com (Shankar Unni)
Subject: Re: linking problems with f2c
25 Feb 1997 23:38:16 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199702260622.WAA17949.cygnus.gnu-win32@krypton.chromatic.com>
Original-To: balay AT mcs DOT anl DOT gov (Satish Balay)
Original-Cc: dinesh AT xox DOT com, gnu-win32 AT cygnus DOT com
In-Reply-To: <Pine.SUN.3.95.970225134814.10247H-100000@maverick.mcs.anl.gov> from "Satish Balay" at Feb 25, 97 01:52:43 pm
X-Mailer: ELM [version 2.4 PL23]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Satish Balay said:

> #	mv $*.xxx $*.o
> #	ld -r -x -o $*.xxx $*.o

One thing I found in all the PE linkers that I've built from binutils 2.7.*
(and I assume the Cygwin32 ld is among them) is that they corrupt the symbol
and relocation tables when doing an "ld -r". The symptom I've seen is that
all the text symbols start at around -0x400000, while the relocations are
at offset 0x400000+ into the text section, after an ld -r.

I'm going to start debugging the problem in a few days (when I get done with
my more severe problems).

-- 
Shankar Unni                                  shankar AT chromatic DOT com
Chromatic Research                            (408) 752-9488
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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