PATCH: Do shared libgcc on arm-none-eabi
Mark Mitchell
mark@codesourcery.com
Tue Sep 14 20:15:00 GMT 2004
I incorrectly made arm-none-eabi (which should just be arm-none-elf,
but with the EABI) have a shared libgcc.
Tested by building an arm-none-eabi compiler, applied on the mainline
and on the csl-arm-branch.
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
2004-09-14 Mark Mitchell <mark@codesourcery.com>
* config.gcc: Do not build a shared libgcc for arm-none-eabi.
Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.405.4.16
diff -c -5 -p -r1.405.4.16 config.gcc
*** config.gcc 2 Sep 2004 16:23:44 -0000 1.405.4.16
--- config.gcc 14 Sep 2004 19:55:37 -0000
*************** arm*-*-eabi* | arm*-*-symbianelf* )
*** 683,702 ****
# registers r0-r3. Correctly modeling that requires the use of
# TImode.
need_64bit_hwint=yes
default_use_cxa_atexit=yes
tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/bpabi.h"
! tmake_file="t-slibgcc-elf-ver arm/t-arm arm/t-arm-elf"
case ${target} in
arm*-*-eabi*)
tmake_file="${tmake_file} arm/t-bpabi"
;;
arm*-*-symbianelf*)
tm_file="${tm_file} arm/symbian.h"
# We do not include t-bpabi for Symbian OS because the system
# provides its own implementation of the BPABI functions.
! tmake_file="${tmake_file} arm/t-symbian"
;;
esac
tm_file="${tm_file} arm/aout.h arm/arm.h"
;;
arm*-*-rtems*)
--- 683,702 ----
# registers r0-r3. Correctly modeling that requires the use of
# TImode.
need_64bit_hwint=yes
default_use_cxa_atexit=yes
tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/bpabi.h"
! tmake_file="arm/t-arm arm/t-arm-elf"
case ${target} in
arm*-*-eabi*)
tmake_file="${tmake_file} arm/t-bpabi"
;;
arm*-*-symbianelf*)
tm_file="${tm_file} arm/symbian.h"
# We do not include t-bpabi for Symbian OS because the system
# provides its own implementation of the BPABI functions.
! tmake_file="${tmake_file} t-slibgcc-elf-ver arm/t-symbian"
;;
esac
tm_file="${tm_file} arm/aout.h arm/arm.h"
;;
arm*-*-rtems*)
More information about the Gcc-patches
mailing list