diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-03-11 09:31:18 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-03-11 09:33:02 +0100 |
commit | f0c9bae4ff91ec0a7547090ac72cf2127d5e3af7 (patch) | |
tree | 6530f16708818e9e6981ec91bf656386c8deee19 /tools/4.11 | |
parent | cb328a1533ee1358dba9ab8ddffaed1579dc0ffc (diff) |
Add latest GCC 4.7 ARM to EABI patch
This patch is included in the current GCC 4.7 branch.
Diffstat (limited to 'tools/4.11')
-rw-r--r-- | tools/4.11/gcc/arm/gcc-4.7-arm-to-eabi-20120511-2.diff | 79 | ||||
-rw-r--r-- | tools/4.11/gcc/arm/gcc-4.7-arm-to-eabi-20130306.diff (renamed from tools/4.11/gcc/arm/gcc-4.7-arm-to-eabi-20120511.diff) | 209 |
2 files changed, 107 insertions, 181 deletions
diff --git a/tools/4.11/gcc/arm/gcc-4.7-arm-to-eabi-20120511-2.diff b/tools/4.11/gcc/arm/gcc-4.7-arm-to-eabi-20120511-2.diff deleted file mode 100644 index 12ff6c3..0000000 --- a/tools/4.11/gcc/arm/gcc-4.7-arm-to-eabi-20120511-2.diff +++ /dev/null @@ -1,79 +0,0 @@ ---- gcc-4.7.2/gcc/config.gcc.orig 2013-03-11 02:58:43.000000000 +0000 -+++ gcc-4.7.2/gcc/config.gcc 2013-03-11 04:03:40.000000000 +0000 -@@ -257,7 +257,7 @@ - | arm*-*-elf \ - | arm*-*-freebsd* \ - | arm*-*-linux* \ -- | arm*-*-rtems* \ -+ | arm*-*-rtemself* \ - | arm*-*-uclinux* \ - | arm*-wince-pe* \ - | mips-sgi-irix6.5 \ -@@ -893,7 +893,12 @@ - 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. -@@ -907,9 +912,10 @@ - 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" -@@ -920,10 +926,6 @@ - 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" ---- gcc-4.7.2/libgcc/config.host.orig 2013-03-11 02:58:43.000000000 +0000 -+++ gcc-4.7.2/libgcc/config.host 2013-03-11 04:01:55.000000000 +0000 -@@ -354,11 +354,15 @@ - 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 @@ - 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" 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-20130306.diff index 2d199e0..8961e5a 100644 --- 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-20130306.diff @@ -1,102 +1,107 @@ -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"
+From 5dd0bd36e611cca5754177566bf407e791fa52e9 Mon Sep 17 00:00:00 2001 +From: Sebastian Huber <sebastian.huber@embedded-brains.de> +Date: Fri, 22 Feb 2013 09:52:53 +0100 +Subject: [PATCH] ARM RTEMS changes for GCC 4.7 + +Testsuite results: + +http://gcc.gnu.org/ml/gcc-testresults/2013-02/msg02508.html + +2013-02-22 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*". + +2013-02-22 Sebastian Huber <sebastian.huber@embedded-brains.de> + + * config.host (arm*-*-rtemself*): New. + (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename + "arm*-*-rtemseabi*" to "arm*-*-rtems*". +--- + gcc/config.gcc | 14 +++++++------- + libgcc/config.host | 12 ++++++------ + 2 files changed, 13 insertions(+), 13 deletions(-) + +diff --git a/gcc/config.gcc b/gcc/config.gcc +index a188133..3ca322d 100644 +--- a/gcc/config.gcc ++++ b/gcc/config.gcc +@@ -257,7 +257,7 @@ case ${target} in + | arm*-*-elf \ + | arm*-*-freebsd* \ + | arm*-*-linux* \ +- | arm*-*-rtems* \ ++ | arm*-*-rtemself* \ + | arm*-*-uclinux* \ + | arm*-wince-pe* \ + | mips-sgi-irix6.5 \ +@@ -899,7 +899,11 @@ 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" ++ ;; ++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. +@@ -913,7 +917,7 @@ 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" + ;; +@@ -926,10 +930,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 51aec66..66b4724 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" +-- +1.6.4.2 |