Message-Id: <199903040552.FAA122598@out2.ibm.net> From: "Mark E." To: djgpp-workers AT delorie DOT com Date: Thu, 4 Mar 1999 00:52:35 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT 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/