summaryrefslogtreecommitdiff
path: root/tools/4.11
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2013-03-11 11:50:53 +1100
committerChris Johns <chrisj@rtems.org>2013-03-11 11:50:53 +1100
commit94c5d74225fcbf1fa8591105cd23d7487795b22a (patch)
tree0bce71754f367ac276fbf80ab86b8e63acb0a686 /tools/4.11
parente42bad335020f9daeb178c368f77d292db25617a (diff)
ARM EABI patch.
Diffstat (limited to 'tools/4.11')
-rw-r--r--tools/4.11/gcc/arm/gcc-4.7-arm-to-eabi-20120511.diff102
1 files changed, 102 insertions, 0 deletions
diff --git a/tools/4.11/gcc/arm/gcc-4.7-arm-to-eabi-20120511.diff b/tools/4.11/gcc/arm/gcc-4.7-arm-to-eabi-20120511.diff
new file mode 100644
index 0000000..2d199e0
--- /dev/null
+++ b/tools/4.11/gcc/arm/gcc-4.7-arm-to-eabi-20120511.diff
@@ -0,0 +1,102 @@
+commit a48b4fb1619e628f8ead188bc6687696e5468b0e
+Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
+Date: Fri May 4 09:30:32 2012 +0200
+
+ ARM RTEMS changes
+
+ 2012-04-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * config.gcc (arm*-*-rtemself*): New.
+ (arm*-*-rtems*): Removed.
+ (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
+ "arm*-*-rtemseabi*" to "arm*-*-rtems*".
+
+ 2012-04-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * config.host (arm*-*-rtemself*): New.
+ (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
+ "arm*-*-rtemseabi*" to "arm*-*-rtems*".
+
+diff --git a/gcc/config.gcc b/gcc/config.gcc
+index a2c947d..27864b4 100644
+--- a/gcc/config.gcc
++++ b/gcc/config.gcc
+@@ -251,7 +251,7 @@ case ${target} in
+ | arm*-*-elf \
+ | arm*-*-freebsd* \
+ | arm*-*-linux* \
+- | arm*-*-rtems* \
++ | arm*-*-rtemself* \
+ | arm*-*-uclinux* \
+ | arm*-wince-pe* \
+ | mips-sgi-irix6.5 \
+@@ -885,7 +885,12 @@ arm*-*-ecos-elf)
+ tm_file="dbxelf.h elfos.h newlib-stdint.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/ecos-elf.h"
+ tmake_file="arm/t-arm arm/t-arm-elf"
+ ;;
+-arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*)
++arm*-*-rtemself*)
++ tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/rtems-elf.h rtems.h newlib-stdint.h"
++ tmake_file="arm/t-arm arm/t-arm-elf t-rtems arm/t-rtems"
++ use_gcc_stdint=provide
++ ;;
++arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
+ # The BPABI long long divmod functions return a 128-bit value in
+ # registers r0-r3. Correctly modeling that requires the use of
+ # TImode.
+@@ -899,9 +904,10 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*)
+ tmake_file="${tmake_file} arm/t-bpabi"
+ use_gcc_stdint=wrap
+ ;;
+- arm*-*-rtemseabi*)
++ arm*-*-rtems*)
+ tm_file="${tm_file} rtems.h arm/rtems-eabi.h newlib-stdint.h"
+ tmake_file="${tmake_file} arm/t-bpabi t-rtems arm/t-rtems-eabi"
++ use_gcc_stdint=provide
+ ;;
+ arm*-*-symbianelf*)
+ tm_file="${tm_file} arm/symbian.h"
+@@ -912,10 +918,6 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*)
+ esac
+ tm_file="${tm_file} arm/aout.h arm/arm.h"
+ ;;
+-arm*-*-rtems*)
+- tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/rtems-elf.h rtems.h newlib-stdint.h"
+- tmake_file="arm/t-arm arm/t-arm-elf t-rtems arm/t-rtems"
+- ;;
+ arm*-*-elf)
+ tm_file="dbxelf.h elfos.h newlib-stdint.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h"
+ tmake_file="arm/t-arm arm/t-arm-elf"
+diff --git a/libgcc/config.host b/libgcc/config.host
+index 79be4ed..da6ffc2 100644
+--- a/libgcc/config.host
++++ b/libgcc/config.host
+@@ -354,11 +354,15 @@ arm*-*-ecos-elf)
+ tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
+ extra_parts="$extra_parts crti.o crtn.o"
+ ;;
+-arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*)
++arm*-*-rtemself*)
++ tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
++ extra_parts="$extra_parts crti.o crtn.o"
++ ;;
++arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*)
+ tmake_file="${tmake_file} arm/t-arm arm/t-elf t-fixedpoint-gnu-prefix"
+ tm_file="$tm_file arm/bpabi-lib.h"
+ case ${host} in
+- arm*-*-eabi* | arm*-*-rtemseabi*)
++ arm*-*-eabi* | arm*-*-rtems*)
+ tmake_file="${tmake_file} arm/t-bpabi"
+ extra_parts="crtbegin.o crtend.o crti.o crtn.o"
+ ;;
+@@ -371,10 +375,6 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*)
+ tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
+ unwind_header=config/arm/unwind-arm.h
+ ;;
+-arm*-*-rtems*)
+- tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
+- extra_parts="$extra_parts crti.o crtn.o"
+- ;;
+ arm*-*-elf)
+ tmake_file="$tmake_file arm/t-arm arm/t-elf t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
+ extra_parts="$extra_parts crti.o crtn.o"