diff options
author | Chris Demetriou <cgd@google.com> | 2002-09-18 21:05:59 +0000 |
---|---|---|
committer | Chris Demetriou <cgd@google.com> | 2002-09-18 21:05:59 +0000 |
commit | 65551fa46cc1ef69a04fe817c221c3949a56c139 (patch) | |
tree | 391556c7eca0f1654dc4ece13c920d2d61a87573 /gas/config | |
parent | 2dc83527fbad2600adff4eb9fdcb0229117bc436 (diff) | |
download | binutils-gdb-65551fa46cc1ef69a04fe817c221c3949a56c139.tar.gz |
[ gas/ChangeLog ]
2002-09-18 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8.
[ gas/testsuite/ChangeLog ]
2002-09-18 Chris Demetriou <cgd@broadcom.com>
* gas/mips/baddata1.s: New file.
* gas/mips/baddata1.l: New file.
* gas/mips/mips.exp: Run new test.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-mips.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index b75649c1f01..c1026751cb3 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -10661,6 +10661,11 @@ md_apply_fix3 (fixP, valP, seg) valueT value; static int previous_fx_r_type = 0; + /* FIXME: Maybe just return for all reloc types not listed below? + Eric Christopher says: "This is stupid, please rewrite md_apply_fix3. */ + if (fixP->fx_r_type == BFD_RELOC_8) + return; + assert (fixP->fx_size == 4 || fixP->fx_r_type == BFD_RELOC_16 || fixP->fx_r_type == BFD_RELOC_32 |