delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/17/17:01:08

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: Mon, 17 Jul 2000 17:00:21 -0400
Message-Id: <200007172100.RAA13215@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: cygwin AT sources DOT redhat DOT com
CC: ssiddiqi AT inspirepharm DOT com
In-reply-to: <20000716193403.B24611@cygnus.com> (message from Chris Faylor on
Sun, 16 Jul 2000 19:34:03 -0400)
Subject: Re: ld -r Unsupported PEI arch pe-i386
References: <20000716195959 DOT 28812 DOT qmail AT web4601 DOT mail DOT yahoo DOT com> <20000716193403 DOT B24611 AT cygnus DOT com>

> On Sun, Jul 16, 2000 at 12:59:59PM -0700, Suhaib Siddiqi wrote:
> >Yes, 
> >That was it.  Now I need to adapt Imake.rules files
> >or I will be manually issuing this command 130 times.
> 
> Hmm.  It should be possible to change one of the linker scripts to
> accomodate this shouldn't it?  DJ?

Try this:

2000-07-17  DJ Delorie  <dj AT cygnus DOT com>

	* pe-dll.c (pe_dll_id_target): check object target name also

Index: pe-dll.c
===================================================================
RCS file: /cvs/src/src/ld/pe-dll.c,v
retrieving revision 1.13
diff -p -2 -r1.13 pe-dll.c
*** pe-dll.c	2000/07/17 18:40:47	1.13
--- pe-dll.c	2000/07/17 20:58:57
*************** pe_dll_id_target (target)
*** 138,142 ****
    int i;
    for (i=0; pe_detail_list[i].target_name; i++)
!     if (strcmp (pe_detail_list[i].target_name, target) == 0)
        {
  	pe_details = pe_detail_list+i;
--- 138,143 ----
    int i;
    for (i=0; pe_detail_list[i].target_name; i++)
!     if (strcmp (pe_detail_list[i].target_name, target) == 0
! 	|| strcmp (pe_detail_list[i].object_target, target) == 0)
        {
  	pe_details = pe_detail_list+i;

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019