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> Content-Type: text 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: 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".