Mail Archives: djgpp-workers/1999/03/04/00:53:11
> 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 -