| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Date: | Sat, 25 Aug 2001 21:32:37 -0400 |
| From: | Christopher Faylor <cgf AT redhat DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: A serious bug of "ld --enable-auto-import" |
| Message-ID: | <20010825213237.B24302@redhat.com> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <001701c12c70$a8e7b000$a3fc183d AT sugnm1 DOT kt DOT home DOT ne DOT jp> <3B884F43 DOT 8040908 AT ece DOT gatech DOT edu> |
| Mime-Version: | 1.0 |
| User-Agent: | Mutt/1.3.11i |
| In-Reply-To: | <3B884F43.8040908@ece.gatech.edu>; from cwilson@ece.gatech.edu on Sat, Aug 25, 2001 at 09:22:11PM -0400 |
On Sat, Aug 25, 2001 at 09:22:11PM -0400, Charles Wilson wrote: >AIDA Shinra wrote: > >> I found a bug of ld(included in binutils 20010802-1). >> Following is a simple test program. >> > >Confirmed bug. I dunno where the bug is coming from, or how to fix >it...yet. > >I think the linker is ignoring the '+12' in this asm: > >movb $33,_hwstr1+12 > >ld sees "_hwstr1" in the .o and blindly plunks in the address (via >__imp__hwstr1 and the auto-import magic) *without* adding the 12. I'll >dig into this -- unless Paul beats me to it. Paul? Paauulll? I forwarded this bug to binutils. Dunno if Paul will see it there or not but I thought it was more likely the binutils developers might be able to track this down. As soon as there is a patch forthcoming, I'll make a new release of binutils. This seems like a pretty serious bug. cgf -- 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |