mirror of
https://git.rtems.org/rtems-tools/
synced 2025-10-19 04:59:52 +08:00
Regenerate the ARM EABI patch for gcc-4.7.2 sources.
This commit is contained in:
79
tools/4.11/gcc/arm/gcc-4.7-arm-to-eabi-20120511-2.diff
Normal file
79
tools/4.11/gcc/arm/gcc-4.7-arm-to-eabi-20120511-2.diff
Normal file
@@ -0,0 +1,79 @@
|
||||
--- 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"
|
Reference in New Issue
Block a user