2005-08-31 Paul Brook <paul@codesourcery.com>

* configure.host: Set have_crt0 to no for Arm targts when not
        providing syscalls.  Set sys_dir=arm unconditionally.
        Default have_crt0 based on sys_dir.
        * configure.in: Use have_crt0.
        * libc/configure.in: Ditto.
        * libc/sys/configure.in: Ditto.
        * configure: Regenerate.
        * libc/configure: Regenerate.
        * libc/sys/configure: Regenerate.
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
        Only build other files when providing syscalls.
        * libc/sys/arm/Makefile.in: Regenerate.
        * libc/sys/arm/aeabi_atexit.c: New file.
This commit is contained in:
Jeff Johnston
2005-08-31 20:39:43 +00:00
parent 53fabb7b24
commit 45c8bb8f8c
11 changed files with 62 additions and 22 deletions

2
newlib/configure vendored
View File

@ -3205,7 +3205,7 @@ subdirs="${configdirs}"
CRT0=
CRT0_DIR=
if test -n "${sys_dir}"; then
if test "x${have_crt0}" = "xyes"; then
CRT0=crt0.o
CRT0_DIR=libc/
fi