From: shankar@chromatic.com (Shankar Unni)
Subject: Re: linking problems with f2c
25 Feb 1997 23:38:16 -0800
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <199702260622.WAA17949.cygnus.gnu-win32@krypton.chromatic.com>
Content-Type: text
Original-To: balay@mcs.anl.gov (Satish Balay)
Original-Cc: dinesh@xox.com, gnu-win32@cygnus.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@cygnus.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@chromatic.com
Chromatic Research                            (408) 752-9488
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
