delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/03/04/00:53:11

Message-Id: <199903040552.FAA122598@out2.ibm.net>
From: "Mark E." <snowball3 AT usa DOT net>
To: djgpp-workers AT delorie DOT com
Date: Thu, 4 Mar 1999 00:52:35 -0500
MIME-Version: 1.0
Subject: Re: Problems with collect2 in egcs-1.1.1 and 1.1.2preX
X-mailer: Pegasus Mail for Win32 (v3.01d)
Reply-To: djgpp-workers AT delorie DOT com

> Anyway we can use it for DJGPP as to get eh-frame optimization working we
> should use BFD assembler (as.exe from binutils-2.9.1 built as BFD assembler
> is broken, it works with current development snapshots but they have other
> problems fror DJGPP).

In case someone wants to build binutils 2.9.1 with a usable 
BFD_ASSEMBLER version of gas, here's the patch for the development 
version that did the trick:

--- tc-i386.c   1998/10/05 00:59:53     1.135
+++ tc-i386.c   1998/10/20 14:47:43
@@ -3112,7 +3112,10 @@
     {
 #ifndef OBJ_AOUT
       if (OUTPUT_FLAVOR == bfd_target_elf_flavour
-         || OUTPUT_FLAVOR == bfd_target_coff_flavour)
+#ifdef TE_PE
+         || OUTPUT_FLAVOR == bfd_target_coff_flavour
+#endif
+         )
        value += fixP->fx_where + fixP->fx_frag->fr_address;
 #endif
 #if defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)


--- 
Mark Elbrecht
snowball3 AT usa DOT net http://members.xoom.com/snowball3/

- Raw text -


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