This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[committed] small one liner in gas
- From: Eric Christopher <echristo at redhat dot com>
- To: binutils at sources dot redhat dot com
- Cc: Zack Weinberg <zack at codesourcery dot com>
- Date: Mon, 04 Oct 2004 16:25:06 -0700
- Subject: [committed] small one liner in gas
Fixes a small bug Zack ran into with:
lw $3,%half($gp)
where he was getting an internal error in gas for this.
The fx_size was 4 because that's the size of the data worked on, not 2
which is the size in the howto. Anyhow, instead of changing the assert
to 4 I just removed it since none of the other relocations have asserts
in them.
-eric
--
Eric Christopher <echristo@redhat.com>
2004-10-04 Eric Christopher <echristo@redhat.com>
* config/tc-mips.c (md_apply_fix3): Remove erroneous assert.\
Index: config/tc-mips.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-mips.c,v
retrieving revision 1.270
diff -u -p -w -r1.270 tc-mips.c
--- config/tc-mips.c 18 Aug 2004 15:58:11 -0000 1.270
+++ config/tc-mips.c 4 Oct 2004 23:16:13 -0000
@@ -11004,7 +11004,6 @@ md_apply_fix3 (fixS *fixP, valueT *valP,
case BFD_RELOC_16:
/* If we are deleting this reloc entry, we must fill in the
value now. */
- assert (fixP->fx_size == 2);
if (fixP->fx_done)
md_number_to_chars (buf, *valP, 2);
break;