This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCHPING] Correctly emit lo16 relocs for elf-dlx target,fixing bogus range checking bug.
- From: Nick Clifton <nickc at redhat dot com>
- To: "Dave Korn" <dk at artimi dot com>
- Cc: "'Binutils list'" <binutils at sources dot redhat dot com>
- Date: Wed, 31 Mar 2004 11:16:09 +0100
- Subject: Re: [PATCHPING] Correctly emit lo16 relocs for elf-dlx target,fixing bogus range checking bug.
- References: <NUTMEGGCvqQ7SzE2NSA00000231@NUTMEG.CAM.ARTIMI.COM>
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