[PATCHPING] Correctly emit lo16 relocs for elf-dlx target, fixing bogus range checking bug.
Nick Clifton
nickc@redhat.com
Wed Mar 31 22:15:00 GMT 2004
Hi Dave,
> http://sources.redhat.com/ml/binutils/2004-03/msg00152.html
>
> is now nearly three weeks old; would anyone care to give it a look over?
Sorry for the long delay.
> 2004-03-06 Dave Korn <dk@artimi.com>
>
> gas/config/
>
> * tc-dlx.c (md_assemble): set fx_no_overflow flag for
> hi16 and lo16 fixS structs.
> (md_assemble): generate bit_fixS for RELOC_DLX_LO16 in
> exactly the same way as for RELOC_DLX_REL16.
> (machine_ip): properly respect LO flag in the_insn and
> output RELOC_DLX_LO16 rather than RELOC_DLX_16.
> (md_apply_fix3): apply RELOC_DLX_LO16.
>
> gas/testsuite/gas/
>
> * alltests.exp: execute new lohi test.
> * lohi.d, lohi.s: new test for spurious lo16/hi16
> reloc overflow checking.
> * itype.d, lhi.d: updated to properly expect lo16
> relocations where asked for.
> * lhi.d: corrected cut+paste error in test name.
Approved - please apply.
Cheers
Nick
More information about the Binutils
mailing list