summaryrefslogtreecommitdiff
path: root/misc/buildroot/toolchain/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'misc/buildroot/toolchain/binutils')
-rw-r--r--misc/buildroot/toolchain/binutils/2.21.1/110-arm-eabi-conf.patch (renamed from misc/buildroot/toolchain/binutils/2.21/110-arm-eabi-conf.patch)0
-rw-r--r--misc/buildroot/toolchain/binutils/2.21.1/120-sh-conf.patch (renamed from misc/buildroot/toolchain/binutils/2.21/120-sh-conf.patch)0
-rw-r--r--misc/buildroot/toolchain/binutils/2.21.1/300-001_ld_makefile_patch.patch (renamed from misc/buildroot/toolchain/binutils/2.21/300-001_ld_makefile_patch.patch)0
-rw-r--r--misc/buildroot/toolchain/binutils/2.21.1/300-012_check_ldrunpath_length.patch (renamed from misc/buildroot/toolchain/binutils/2.21/300-012_check_ldrunpath_length.patch)0
-rw-r--r--misc/buildroot/toolchain/binutils/2.21.1/900-bug12296-cortexm3-svc.patch48
-rw-r--r--misc/buildroot/toolchain/binutils/Config.in6
6 files changed, 51 insertions, 3 deletions
diff --git a/misc/buildroot/toolchain/binutils/2.21/110-arm-eabi-conf.patch b/misc/buildroot/toolchain/binutils/2.21.1/110-arm-eabi-conf.patch
index af26329d9..af26329d9 100644
--- a/misc/buildroot/toolchain/binutils/2.21/110-arm-eabi-conf.patch
+++ b/misc/buildroot/toolchain/binutils/2.21.1/110-arm-eabi-conf.patch
diff --git a/misc/buildroot/toolchain/binutils/2.21/120-sh-conf.patch b/misc/buildroot/toolchain/binutils/2.21.1/120-sh-conf.patch
index 071d15a41..071d15a41 100644
--- a/misc/buildroot/toolchain/binutils/2.21/120-sh-conf.patch
+++ b/misc/buildroot/toolchain/binutils/2.21.1/120-sh-conf.patch
diff --git a/misc/buildroot/toolchain/binutils/2.21/300-001_ld_makefile_patch.patch b/misc/buildroot/toolchain/binutils/2.21.1/300-001_ld_makefile_patch.patch
index 5cb0f614d..5cb0f614d 100644
--- a/misc/buildroot/toolchain/binutils/2.21/300-001_ld_makefile_patch.patch
+++ b/misc/buildroot/toolchain/binutils/2.21.1/300-001_ld_makefile_patch.patch
diff --git a/misc/buildroot/toolchain/binutils/2.21/300-012_check_ldrunpath_length.patch b/misc/buildroot/toolchain/binutils/2.21.1/300-012_check_ldrunpath_length.patch
index df783109b..df783109b 100644
--- a/misc/buildroot/toolchain/binutils/2.21/300-012_check_ldrunpath_length.patch
+++ b/misc/buildroot/toolchain/binutils/2.21.1/300-012_check_ldrunpath_length.patch
diff --git a/misc/buildroot/toolchain/binutils/2.21.1/900-bug12296-cortexm3-svc.patch b/misc/buildroot/toolchain/binutils/2.21.1/900-bug12296-cortexm3-svc.patch
new file mode 100644
index 000000000..df4c9ff1d
--- /dev/null
+++ b/misc/buildroot/toolchain/binutils/2.21.1/900-bug12296-cortexm3-svc.patch
@@ -0,0 +1,48 @@
+Index: gas/testsuite/gas/arm/arch7.d
+===================================================================
+RCS file: /cvs/src/src/gas/testsuite/gas/arm/arch7.d,v
+--- a/gas/testsuite/gas/arm/arch7.d 17 Sep 2010 10:42:04 -0000 1.6
++++ b/gas/testsuite/gas/arm/arch7.d 30 Mar 2011 22:44:17 -0000
+@@ -76,3 +76,4 @@
+ 0+10c <[^>]*> f380 8814 msr CONTROL, r0
+ 0+110 <[^>]*> f3ef 8003 mrs r0, PSR
+ 0+114 <[^>]*> f380 8803 msr PSR, r0
++0+118 <[^>]*> df00 svc 0
+Index: gas/testsuite/gas/arm/arch7.s
+===================================================================
+RCS file: /cvs/src/src/gas/testsuite/gas/arm/arch7.s,v
+--- a/gas/testsuite/gas/arm/arch7.s 17 Sep 2010 10:42:04 -0000 1.2
++++ b/gas/testsuite/gas/arm/arch7.s 30 Mar 2011 22:44:17 -0000
+@@ -79,3 +79,5 @@
+ msr control, r0
+ mrs r0, xpsr
+ msr xpsr, r0
++
++ svc 0
+Index: gas/testsuite/gas/arm/attr-march-armv7.d
+===================================================================
+RCS file: /cvs/src/src/gas/testsuite/gas/arm/attr-march-armv7.d,v
+--- a/gas/testsuite/gas/arm/attr-march-armv7.d 11 May 2010 17:36:33 -0000 1.3
++++ b/gas/testsuite/gas/arm/attr-march-armv7.d 30 Mar 2011 22:44:17 -0000
+@@ -9,5 +9,6 @@
+ File Attributes
+ Tag_CPU_name: "7"
+ Tag_CPU_arch: v7
++ Tag_CPU_arch_profile: Microcontroller
+ Tag_THUMB_ISA_use: Thumb-2
+ Tag_DIV_use: Not allowed
+Index: include/opcode/arm.h
+===================================================================
+RCS file: /cvs/src/src/include/opcode/arm.h,v
+--- a/include/opcode/arm.h 15 Nov 2010 10:03:05 -0000 1.24
++++ b/include/opcode/arm.h 30 Mar 2011 22:44:18 -0000
+@@ -109,7 +109,8 @@
+ #define ARM_AEXT_V6KT2 (ARM_AEXT_V6T2 | ARM_EXT_V6K)
+ #define ARM_AEXT_V6ZT2 (ARM_AEXT_V6T2 | ARM_EXT_SEC)
+ #define ARM_AEXT_V6ZKT2 (ARM_AEXT_V6T2 | ARM_EXT_V6K | ARM_EXT_SEC)
+-#define ARM_AEXT_V7_ARM (ARM_AEXT_V6KT2 | ARM_EXT_V7 | ARM_EXT_BARRIER)
++#define ARM_AEXT_V7_ARM (ARM_AEXT_V6KT2 | ARM_EXT_V7 | ARM_EXT_BARRIER \
++ | ARM_EXT_OS)
+ #define ARM_AEXT_V7A (ARM_AEXT_V7_ARM | ARM_EXT_V7A)
+ #define ARM_AEXT_V7R (ARM_AEXT_V7_ARM | ARM_EXT_V7R | ARM_EXT_DIV)
+ #define ARM_AEXT_NOTM \
diff --git a/misc/buildroot/toolchain/binutils/Config.in b/misc/buildroot/toolchain/binutils/Config.in
index a51d280cf..d1e674ba5 100644
--- a/misc/buildroot/toolchain/binutils/Config.in
+++ b/misc/buildroot/toolchain/binutils/Config.in
@@ -27,9 +27,9 @@ choice
depends !BR2_avr32 && !BR2_nios2 && !BR2_m9s12x
bool "binutils 2.19.1"
- config BR2_BINUTILS_VERSION_2_21
+ config BR2_BINUTILS_VERSION_2_21_1
depends !BR2_avr32 && !BR2_nios2 && !BR2_m9s12x
- bool "binutils 2.21"
+ bool "binutils 2.21.1"
endchoice
config BR2_BINUTILS_VERSION
@@ -38,7 +38,7 @@ config BR2_BINUTILS_VERSION
default "2.18" if BR2_BINUTILS_VERSION_2_18
default "2.19" if BR2_BINUTILS_VERSION_2_19
default "2.19.1" if BR2_BINUTILS_VERSION_2_19_1
- default "2.21" if BR2_BINUTILS_VERSION_2_21
+ default "2.21.1" if BR2_BINUTILS_VERSION_2_21_1
config BR2_EXTRA_BINUTILS_CONFIG_OPTIONS
string "Additional binutils options"