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]

[PATCH]: binutils patch for maxq target.


Hi,

I am attaching a patch for the maxq-target with the following changes:
	1. Added variants support for the target maxq10 and maxq20.
	2. Fixed problem with relative address handling.
 	3. Testcases fix for the above problem.

I am also including a patch for the config.sub file as I require
This to bring the binutils in sync. With the gcc port for maxq.
This is the third time I am posting this patch. 
I have even tried Sending mails with this patch to
config-patches@gnu.org
But have received no reply or even a commit verification 

Please commit t <<patch-binutils-27122004>> hese changes. 

And can anyone please tell me what needs to be done if I want my name in
the
Maintainers list for the maxq port?

**************************************** Change Log
****************************************************


2004-12-28	Inderpreet Singh <inderpreetb@noida.hcltech.com>

	* config.sub: new target maxq added

 
     bfd/

	* archures.c: define bfd_mach_maxq10 and bfd_mach_maxq20.
	* bfd-in2.h:  Likewise.
	* coff-maxq.c(coff_maxq20_reloc): check added for undefined
symbol
 	and relative jump addresses fixed.
	(bfd_coff_maxq_swap_table): swap table defined for maxq-coff.
	* coffcode.h: added check for machine type differentiation.
	* cpu-maxq.c: arch_info_type defined for maxq10 and maxq20.
	
     gas/config
	* tc-maxq.c(maxq_end): defined to set machine arch.
	 (tc_gen_reloc): local variables initialized. 
  	 (md_estimate_size_before_reloc): relative jumps fixed.
	 (md_convert_frag): Same.
	 (md_apply_fix3): fixed frag handling for pfx0.
	 (maxq20_immediate): increased temp array size.
	 (output_disp): relative addresses fixed.
 	 call to write_pfx added.
 	 (output_data): call to write_pfx added.
	 (md_begin): call to maxq_end() added.

	*gas/testsuite/gas/maxq10/call.d: testcases fixed for the
relative addresses.
	to be decremented by 1.
     	*gas/testsuite/gas/maxq10/jump.d: Likewise.
     	*gas/testsuite/gas/maxq20/call.d: Likewise.
     	*gas/testsuite/gas/maxq20/jump.d: Likewise.
			

     include/coff/
	* maxq.h: Added machine flags F_MAXQ10, F_MAXQ20 and F_MACHMASK
		
     ld/scripttempl/
	* maxqcoff.sc: updated default linker script.

   
     opcodes/
	* maxq-dis.c(get_group): Replace magic numbers.
	(print_insn): warning fixed due to extra argument to fprintf.

Thanks, 
Inder.

Attachment: patch-binutils-27122004
Description: patch-binutils-27122004


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