Add support for AVR6 family
This commit is contained in:
		@@ -1,3 +1,7 @@
 | 
			
		||||
2006-05-24  Bjoern Haase  <bjoern.m.haase@web.de> 
 | 
			
		||||
	
 | 
			
		||||
	* avr.h: Add E_AVR_MACH_AVR6, R_AVR_LO8_LDI_GS and R_AVR_HI8_LDI_GS.
 | 
			
		||||
 | 
			
		||||
2006-03-22  Richard Sandiford  <richard@codesourcery.com>
 | 
			
		||||
	    Daniel Jacobowitz  <dan@codesourcery.com>
 | 
			
		||||
	    Phil Edwards  <phil@codesourcery.com>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/* AVR ELF support for BFD.
 | 
			
		||||
   Copyright 1999, 2000, 2004 Free Software Foundation, Inc.
 | 
			
		||||
   Copyright 1999, 2000, 2004, 2006 Free Software Foundation, Inc.
 | 
			
		||||
   Contributed by Denis Chertykov <denisc@overta.ru>
 | 
			
		||||
 | 
			
		||||
   This file is part of BFD, the Binary File Descriptor library.
 | 
			
		||||
@@ -35,6 +35,7 @@
 | 
			
		||||
#define E_AVR_MACH_AVR3 3
 | 
			
		||||
#define E_AVR_MACH_AVR4 4
 | 
			
		||||
#define E_AVR_MACH_AVR5 5
 | 
			
		||||
#define E_AVR_MACH_AVR6 6 
 | 
			
		||||
 | 
			
		||||
/* Relocations.  */
 | 
			
		||||
START_RELOC_NUMBERS (elf_avr_reloc_type)
 | 
			
		||||
@@ -62,6 +63,8 @@ START_RELOC_NUMBERS (elf_avr_reloc_type)
 | 
			
		||||
     RELOC_NUMBER (R_AVR_6_ADIW,               21)
 | 
			
		||||
     RELOC_NUMBER (R_AVR_MS8_LDI,              22)
 | 
			
		||||
     RELOC_NUMBER (R_AVR_MS8_LDI_NEG,          23)
 | 
			
		||||
     RELOC_NUMBER (R_AVR_LO8_LDI_GS,	       24)
 | 
			
		||||
     RELOC_NUMBER (R_AVR_HI8_LDI_GS,	       25)
 | 
			
		||||
END_RELOC_NUMBERS (R_AVR_max)
 | 
			
		||||
 | 
			
		||||
#endif /* _ELF_AVR_H */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user