This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Unreviewed Patch : FW: Regarding Bitwise relaxation for H8/300
- From: Nick Clifton <nickc at redhat dot com>
- To: "Anil Paranjape" <AnilP1 at KPITCummins dot com>
- Cc: <binutils at sources dot redhat dot com>
- Date: Mon, 12 Jan 2004 15:01:41 +0000
- Subject: Re: Unreviewed Patch : FW: Regarding Bitwise relaxation for H8/300
- References: <69595093233BB547BB70CF5E492B63F20383ECC2@sohm.kpit.com>
Hi Anil,
> I had sent a patch regarding linker relaxation support for bit
> manipulation instructions in H8S target.
> Please find a patch on following link,
> http://sources.redhat.com/ml/binutils/2003-12/msg00423.html
Thanks for the reminder - I managed to loose track of this patch over
the holidays.
I have approved and applied this patch. I tidied up the formatting in
a couple of places, and I converted the test files you sent (relax-4*)
into a format suitable to be added to the linker's testsuite. The
final ChangeLog entries look like this:
Cheers
Nick
include/opcode/ChangeLog
2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
* h8300.h (BITOP): Pass MEMRELAX flag.
bfd/ChangeLog
2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
Adds linker relaxation support for bit manipulation insns like
band, bclr, biand, bild, bior, bist, bixor, bld, bnot, bor, bset,
bst, btst, bxor.
* elf32-h8300.c : Opcode for bit manipulation insn is checked in
elf32_h8_relax_section function while relxation for aa:16 and aa:32.
* coff-h8300.c : Opcode for bit manipulation insn is checked in
h8300_reloc16_extra_cases function while relxation for aa:16 and aa:32.
gas/ChangeLog
2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
* config/tc-h8300.c (build_bytes): Apply relaxation to bit
manipulation insns.
ld/testsuite/ChangeLog
2004-01-12 Anil Paranjpe <anilp1@KPITCummins.com>
* ld-h8300/h8300-exp: Run the relax-4 test.
* ld-h8300/relax-4.s: New file: Source for relax-4 test.
* ld-h8300/relax-4.d: New file: Expected output and commands for
assembling and linking the relax-4 test.
* ld-h8300/relax-4-coff.d: New file: Variant for the COFF based
toolchain.