Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Sun, 26 Aug 2001 01:30:51 -0400 Message-Id: <200108260530.BAA28221@envy.delorie.com> X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f From: DJ Delorie To: cwilson AT ece DOT gatech DOT edu CC: binutils AT sources DOT redhat DOT com, cygwin AT cygwin DOT com In-reply-to: <3B8884F6.80708@ece.gatech.edu> (cwilson@ece.gatech.edu) Subject: Re: [aida_s AT mx12 DOT freecom DOT ne DOT jp: A serious bug of "ld --enable-auto-import"] References: <3B8884F6 DOT 80708 AT ece DOT gatech DOT edu> > pe_find_data_imports:_hwstr1 > ->__head_cyghwstr_dll > arelent: _hwstr1 AT 0xd: add=0 <<<< this should be "add=12", right? Not always. Sometimes the addend is in the relent, and sometimes the addend is in the data stream. It depends on the target format. > Unfortunately, that's as far as I can go. I don't know where the > arelent structure gets filled with the approprate data from the .o, so I > can't track down WHY the "12" isn't going into (arelent)->addend. Gas puts it there. Probably in src/gas/config/tc-i386.c's tc_gen_reloc, but other places convert it from a bfd reloc to an i386-specific reloc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/