This is the mail archive of the binutils@sourceware.cygnus.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]

[patch] avr port: include files



Fri Mar 17 13:44:17 2000  Denis Chertykov  <denisc@overta.ru>

	* common.h: avr magic number added.
	* dis-asm.h (print_insn_avr): new function declared.


Index: binutils/include/elf/common.h
===================================================================
RCS file: /cvs/src/src/include/elf/common.h,v
retrieving revision 1.14
diff -u -5 -p -r1.14 common.h
--- common.h	2000/02/22 19:59:40	1.14
+++ common.h	2000/03/17 10:50:11
@@ -187,10 +187,14 @@ Foundation, Inc., 59 Temple Place - Suit
 #define EM_CYGNUS_MN10300	0xbeef
 
 /* FR30 magic number - no EABI available.  */
 #define EM_CYGNUS_FR30		0x3330
 
+/* AVR magic number
+   Written in the absense of an ABI.  */
+#define EM_AVR			0x1057
+
 /* See the above comment before you add a new EM_* value here.  */
 
 /* Values for e_version */
 
 #define EV_NONE		0		/* Invalid ELF version */
Index: binutils/include/dis-asm.h
===================================================================
RCS file: /cvs/src/src/include/dis-asm.h,v
retrieving revision 1.11
diff -u -5 -p -r1.11 dis-asm.h
--- dis-asm.h	2000/02/23 13:52:21	1.11
+++ dis-asm.h	2000/03/17 10:50:23
@@ -192,10 +192,11 @@ extern int print_insn_d30v		PARAMS ((bfd
 extern int print_insn_v850		PARAMS ((bfd_vma, disassemble_info*));
 extern int print_insn_tic30		PARAMS ((bfd_vma, disassemble_info*));
 extern int print_insn_vax		PARAMS ((bfd_vma, disassemble_info*));
 extern int print_insn_tic80		PARAMS ((bfd_vma, disassemble_info*));
 extern int print_insn_pj		PARAMS ((bfd_vma, disassemble_info*));
+extern int print_insn_avr		PARAMS ((bfd_vma, disassemble_info*));
 
 extern void print_arm_disassembler_options PARAMS ((FILE *));
 extern void parse_arm_disassembler_option  PARAMS ((char *));
 extern int  get_arm_regname_num_options    PARAMS ((void));
 extern int  set_arm_regname_option         PARAMS ((int));



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