diff options
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 68d80826f2d..d6e95c70057 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -652,9 +652,19 @@ arm*-*-ecos-elf) tm_file="dbxelf.h elfos.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*-*-symbianelf*) - tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/symbian.h arm/aout.h arm/arm.h" - tmake_file="t-slibgcc-elf-ver arm/t-arm arm/t-arm-elf" +arm*-*-eabi* | arm*-*-symbianelf* ) + # The BPABI long long divmod functions return a 128-bit value in + # registers r0-r3. Correctly modeling that requires the use of + # TImode. + need_64bit_hwint=yes + tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/bpabi.h" + case ${target} in + arm*-*-symbianelf*) + tm_file="${tm_file} arm/symbian.h" + ;; + esac + tm_file="${tm_file} arm/aout.h arm/arm.h" + tmake_file="t-slibgcc-elf-ver arm/t-arm arm/t-arm-elf arm/t-bpabi" ;; 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" |