Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com Message-ID: <3CC9DCDF.5040205@ece.gatech.edu> Date: Fri, 26 Apr 2002 19:03:59 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Robert Collins CC: Ralf Habacker , Kde-Cygwin , Binutils , Cygwin-Apps Subject: Re: ordinal linking for cygwin ld References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Robert Collins wrote: > > The PE spec (as I read it) indicates that as long as a name is included > (ie it's not link-only-by-ordinal) then ordinals can change and nothing > will break. > > It's only when the only link information is the ordinal that problems > will appear. That's what I thought, too, until I got bit. Check the cygwin(-apps?) ml archives during spring/summer 2000. At the time, the symptoms seemed like a smoking gun: link by ordinal == link ONLY by ordinal. OTOH, binutils on cygwin was royally broken at the time, DJ was transitioning away from cygwin, Mumit had been gone for half a year or more, and bit rot was setting in. Perhaps the problems that burned me then were due to broken binutils/maintainerless cygwin-gcc, and it wasn't the smoking gun I thought it was. OTOH, if you've linked by ordinal, and then you strip symbols -- are the names of the imports still retained? --Chuck