This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: linking problems with f2c


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]