This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: i386-aout gas fails to build in current sources
- To: "J.T. Conklin" <jtc@redback.com>
- Subject: Re: i386-aout gas fails to build in current sources
- From: Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
- Date: Tue, 25 May 1999 09:30:28 +0930 (CST)
- cc: binutils@sourceware.cygnus.com
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.