This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: i386-aout gas fails to build in current sources



On 24 May 1999, J.T. Conklin wrote:

> This morning I discovered that an i386-aout targeted gas does not
> build due to duplicate case labels in md_apply_fix3:

Yes, I broke it.  This patch will fix the problem

--- binutils-current/gas/config/tc-i386.c~	Tue May 18 01:08:34 1999
+++ binutils-current/gas/config/tc-i386.c	Tue May 25 09:27:38 1999
@@ -3906,6 +3906,7 @@ md_apply_fix3 (fixP, valp, seg)
   register char *p = fixP->fx_where + fixP->fx_frag->fr_literal;
   valueT value = *valp;
 
+#if defined (BFD_ASSEMBLER) && !defined (TE_Mach)
   if (fixP->fx_pcrel)
     {
       switch (fixP->fx_r_type)
@@ -3922,7 +3923,6 @@ md_apply_fix3 (fixP, valp, seg)
 	}
     }
 
-#if defined (BFD_ASSEMBLER) && !defined (TE_Mach)
   /*
    * This is a hack.  There should be a better way to
    * handle this.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]