diff --git a/gcc/config.gcc b/gcc/config.gcc
index 58f6787..421279d 100644
a
|
b
|
arm*-*-eabi* | arm*-*-symbianelf* ) |
895 | 895 | tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp" |
896 | 896 | ;; |
897 | 897 | arm*-*-rtems*) |
898 | | 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" |
899 | | tmake_file="arm/t-arm arm/t-arm-elf t-rtems arm/t-rtems" |
| 898 | need_64bit_hwint=yes |
| 899 | default_use_cxa_atexit=yes |
| 900 | tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/bpabi.h" |
| 901 | tm_file="$tm_file ../../libgcc/config/arm/bpabi-lib.h" |
| 902 | tm_file="${tm_file} rtems.h arm/rtems-elf.h newlib-stdint.h" |
| 903 | tm_file="${tm_file} arm/aout.h arm/arm.h" |
| 904 | tmake_file="arm/t-arm arm/t-arm-elf" |
| 905 | tmake_file="${tmake_file} arm/t-bpabi t-rtems arm/t-rtems" |
900 | 906 | tmake_file="${tmake_file} arm/t-arm-softfp soft-fp/t-softfp" |
901 | 907 | ;; |
902 | 908 | arm*-*-elf) |
diff --git a/gcc/config/arm/rtems-elf.h b/gcc/config/arm/rtems-elf.h
index dade74b..ad7e5b8 100644
a
|
b
|
|
23 | 23 | |
24 | 24 | #define HAS_INIT_SECTION |
25 | 25 | |
| 26 | #undef TARGET_OS_CPP_BUILTINS |
26 | 27 | #define TARGET_OS_CPP_BUILTINS() \ |
27 | 28 | do { \ |
28 | 29 | builtin_define ("__rtems__"); \ |
29 | | builtin_define ("__USE_INIT_FINI__"); \ |
30 | 30 | builtin_assert ("system=rtems"); \ |
| 31 | TARGET_BPABI_CPP_BUILTINS(); \ |
31 | 32 | } while (0) |
32 | | |
33 | | /* |
34 | | * The default in gcc now is soft-float, but gcc misses it to |
35 | | * pass it to the assembler. |
36 | | */ |
37 | | #undef SUBTARGET_EXTRA_ASM_SPEC |
38 | | #define SUBTARGET_EXTRA_ASM_SPEC "\ |
39 | | %{!mhard-float: %{!msoft-float:-mfpu=softfpa}}" |
40 | | |
41 | | /* |
42 | | * The default includes --start-group and --end-group which conflicts |
43 | | * with how this used to be defined. |
44 | | */ |
45 | | #undef LINK_GCC_C_SEQUENCE_SPEC |
diff --git a/gcc/config/arm/t-rtems b/gcc/config/arm/t-rtems
index 52d14ba..9c68dc0 100644
a
|
b
|
|
1 | 1 | # Custom rtems multilibs |
2 | 2 | |
3 | | MULTILIB_OPTIONS = marm/mthumb |
4 | | MULTILIB_DIRNAMES = arm thumb |
5 | | MULTILIB_EXCEPTIONS = |
6 | | MULTILIB_MATCHES = marm=mno-thumb |
7 | | |
8 | | MULTILIB_OPTIONS += msoft-float/mhard-float |
9 | | MULTILIB_DIRNAMES += soft fpu |
10 | | MULTILIB_EXCEPTIONS += *mthumb/*mhard-float* |
| 3 | MULTILIB_OPTIONS = mthumb march=armv6-m/march=armv7/march=armv7-m |
| 4 | MULTILIB_DIRNAMES = thumb armv6-m armv7 armv7-m |
| 5 | MULTILIB_EXCEPTIONS = march=armv6-m march=armv7 march=armv7-m |
| 6 | MULTILIB_MATCHES = marm=mno-thumb |