PERFORCE change 158282 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Wed Feb 25 11:54:26 PST 2009


http://perforce.freebsd.org/chv.cgi?CH=158282

Change 158282 by gonzo at gonzo_figaro on 2009/02/25 19:54:17

	- Add AVR32 bits to binutils

Affected files ...

.. //depot/projects/avr32/src/contrib/binutils/binutils/Makefile.am#2 edit
.. //depot/projects/avr32/src/contrib/binutils/binutils/Makefile.in#2 edit
.. //depot/projects/avr32/src/contrib/binutils/binutils/readelf.c#2 edit

Differences ...

==== //depot/projects/avr32/src/contrib/binutils/binutils/Makefile.am#2 (text+ko) ====

@@ -464,7 +464,7 @@
   $(INCDIR)/symcat.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/alpha.h \
   $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h \
-  $(INCDIR)/elf/avr.h $(INCDIR)/elf/cris.h $(INCDIR)/elf/d10v.h \
+  $(INCDIR)/elf/avr.h $(INCDIR)/elf/avr32.h $(INCDIR)/elf/cris.h $(INCDIR)/elf/d10v.h \
   $(INCDIR)/elf/d30v.h $(INCDIR)/elf/dlx.h $(INCDIR)/elf/fr30.h \
   $(INCDIR)/elf/frv.h $(INCDIR)/elf/h8.h $(INCDIR)/elf/hppa.h \
   $(INCDIR)/elf/i386.h $(INCDIR)/elf/i370.h $(INCDIR)/elf/i860.h \

==== //depot/projects/avr32/src/contrib/binutils/binutils/Makefile.in#2 (text+ko) ====

@@ -1192,7 +1192,7 @@
   $(INCDIR)/symcat.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
   $(INCDIR)/elf/internal.h $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/alpha.h \
   $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h \
-  $(INCDIR)/elf/avr.h $(INCDIR)/elf/cris.h $(INCDIR)/elf/d10v.h \
+  $(INCDIR)/elf/avr.h $(INCDIR)/elf/avr32.h $(INCDIR)/elf/cris.h $(INCDIR)/elf/d10v.h \
   $(INCDIR)/elf/d30v.h $(INCDIR)/elf/dlx.h $(INCDIR)/elf/fr30.h \
   $(INCDIR)/elf/frv.h $(INCDIR)/elf/h8.h $(INCDIR)/elf/hppa.h \
   $(INCDIR)/elf/i386.h $(INCDIR)/elf/i370.h $(INCDIR)/elf/i860.h \

==== //depot/projects/avr32/src/contrib/binutils/binutils/readelf.c#2 (text+ko) ====

@@ -71,6 +71,7 @@
 #include "elf/arc.h"
 #include "elf/arm.h"
 #include "elf/avr.h"
+#include "elf/avr32.h"
 #include "elf/cris.h"
 #include "elf/d10v.h"
 #include "elf/d30v.h"
@@ -651,6 +652,7 @@
     case EM_MCORE:
     case EM_IA_64:
     case EM_AVR:
+    case EM_AVR32:
     case EM_AVR_OLD:
     case EM_CRIS:
     case EM_860:
@@ -1009,6 +1011,10 @@
 	  rtype = elf_avr_reloc_type (type);
 	  break;
 
+	case EM_AVR32:
+	  rtype = elf_avr32_reloc_type (type);
+	  break;
+
 	case EM_OLD_SPARCV9:
 	case EM_SPARC32PLUS:
 	case EM_SPARCV9:
@@ -1630,6 +1636,7 @@
     case EM_VAX:		return "Digital VAX";
     case EM_AVR_OLD:
     case EM_AVR:		return "Atmel AVR 8-bit microcontroller";
+    case EM_AVR32:		return "Atmel AVR32";
     case EM_CRIS:		return "Axis Communications 32-bit embedded processor";
     case EM_JAVELIN:		return "Infineon Technologies 32-bit embedded cpu";
     case EM_FIREPATH:		return "Element 14 64-bit DSP processor";


More information about the p4-projects mailing list