This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unreviewed Patch : FW: Regarding Bitwise relaxation for H8/300


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.

                


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]