summaryrefslogtreecommitdiff
path: root/devel/avr-binutils/files/patch-wrong-arch
diff options
context:
space:
mode:
Diffstat (limited to 'devel/avr-binutils/files/patch-wrong-arch')
-rw-r--r--devel/avr-binutils/files/patch-wrong-arch22
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/avr-binutils/files/patch-wrong-arch b/devel/avr-binutils/files/patch-wrong-arch
new file mode 100644
index 000000000000..0a7b39f44048
--- /dev/null
+++ b/devel/avr-binutils/files/patch-wrong-arch
@@ -0,0 +1,22 @@
+--- bfd/elf32-avr.c.old 2008-11-11 10:30:09.000000000 -0700
++++ bfd/elf32-avr.c 2008-11-11 10:31:40.171875000 -0700
+@@ -1298,6 +1298,7 @@ bfd_elf_avr_final_write_processing (bfd
+
+ case bfd_mach_avr25:
+ val = E_AVR_MACH_AVR25;
++ break;
+
+ case bfd_mach_avr3:
+ val = E_AVR_MACH_AVR3;
+@@ -1305,9 +1306,11 @@ bfd_elf_avr_final_write_processing (bfd
+
+ case bfd_mach_avr31:
+ val = E_AVR_MACH_AVR31;
++ break;
+
+ case bfd_mach_avr35:
+ val = E_AVR_MACH_AVR35;
++ break;
+
+ case bfd_mach_avr4:
+ val = E_AVR_MACH_AVR4;