[ 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.
This commit is contained in:
parent
2dc83527fb
commit
65551fa46c
@ -1,3 +1,7 @@
|
||||
2002-09-18 Chris Demetriou <cgd@broadcom.com>
|
||||
|
||||
* config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8.
|
||||
|
||||
2002-09-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||
|
||||
* config/tc-mips.c (s_change_section): Fix parsing. Code cleanup.
|
||||
|
@ -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
|
||||
|
@ -1,3 +1,9 @@
|
||||
2002-09-12 Chris Demetriou <cgd@broadcom.com>
|
||||
|
||||
* gas/mips/baddata1.s: New file.
|
||||
* gas/mips/baddata1.l: New file.
|
||||
* gas/mips/mips.exp: Run new test.
|
||||
|
||||
2002-09-18 Chris Demetriou <cgd@broadcom.com>
|
||||
|
||||
* gas/mips/branch-misc-1.d: New file.
|
||||
|
3
gas/testsuite/gas/mips/baddata1.l
Normal file
3
gas/testsuite/gas/mips/baddata1.l
Normal file
@ -0,0 +1,3 @@
|
||||
.*: Assembler messages:
|
||||
.*:8: Error: Can not represent BFD_RELOC_8 relocation in this object file format
|
||||
.*:9: Error: Can not represent BFD_RELOC_8 relocation in this object file format
|
9
gas/testsuite/gas/mips/baddata1.s
Normal file
9
gas/testsuite/gas/mips/baddata1.s
Normal file
@ -0,0 +1,9 @@
|
||||
# Source file used to some bad data declarations.
|
||||
|
||||
.globl x
|
||||
|
||||
.data
|
||||
foo:
|
||||
# no way these are going to hold the pointers.
|
||||
.byte x
|
||||
.byte x+1
|
Loading…
Reference in New Issue
Block a user