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

View File

@ -3006,7 +3006,7 @@ subdirs="machine sys"
CRT0=
if test -n "${sys_dir}"; then
if test "x${have_crt0}" = "xyes"; then
CRT0=crt0.o
fi