summaryrefslogtreecommitdiffstats
path: root/libgloss/arm
Commit message (Collapse)AuthorAgeFilesLines
* 2008-10-06 Bill Tompkins <bill+newlib@key-square.com>Jeff Johnston2008-10-061-0/+9
| | | | | * arm/crt0.S: Fix calling hardware_init_hook() or software_init_hook() under thumb and thumb2.
* * libc/machine/arm/setjmp.S: Fix thumb2 support.Nick Clifton2008-04-251-1/+8
| | | | | * arm/crt0.S: Allow assembly under ARMv7 ISA. Support for initializing stack pointers for interrupt modes is still pending.
* [newlib]DJ Delorie2008-04-041-1190/+1789
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libm/machine/spu/configure: Regenerate with autoconf 2.61. * libc/sys/configure: Regenerate with autoconf 2.61. * libc/machine/configure: Regenerate with autoconf 2.61. [libgloss] * hp74x/configure: Regenerate with autoconf 2.61. * fr30/configure: Regenerate with autoconf 2.61. * mips/configure: Regenerate with autoconf 2.61. * xstormy16/configure: Regenerate with autoconf 2.61. * rs6000/configure: Regenerate with autoconf 2.61. * d30v/configure: Regenerate with autoconf 2.61. * i386/configure: Regenerate with autoconf 2.61. * configure: Regenerate with autoconf 2.61. * wince/configure: Regenerate with autoconf 2.61. * pa/configure: Regenerate with autoconf 2.61. * m32r/configure: Regenerate with autoconf 2.61. * mn10200/configure: Regenerate with autoconf 2.61. * iq2000/configure: Regenerate with autoconf 2.61. * cris/configure: Regenerate with autoconf 2.61. * m68k/configure: Regenerate with autoconf 2.61. * spu/configure: Regenerate with autoconf 2.61. * m32c/configure: Regenerate with autoconf 2.61. * mn10300/configure: Regenerate with autoconf 2.61. * i960/configure: Regenerate with autoconf 2.61. * arm/configure: Regenerate with autoconf 2.61. * libnosys/configure: Regenerate with autoconf 2.61. * m68hc11/configure: Regenerate with autoconf 2.61. * bfin/configure: Regenerate with autoconf 2.61. * crx/configure: Regenerate with autoconf 2.61. * mt/configure: Regenerate with autoconf 2.61. * sparc/configure: Regenerate with autoconf 2.61. * sparc/libsys/configure: Regenerate with autoconf 2.61. * mcore/configure: Regenerate with autoconf 2.61. * mep/configure: Regenerate with autoconf 2.61. * frv/configure: Regenerate with autoconf 2.61. * doc/configure: Regenerate with autoconf 2.61.
* 2008-01-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2008-01-031-1/+1
| | | | | | | | | | | | | | | * arm/redboot-syscalls.c: Consistently supply _isatty if syscalls dir is used in newlib. * bfin/syscalls.c: Ditto. * cris/gensyscalls: Ditto. * fr30/syscalls.c: Ditto. * frv/isatty.c: Ditto. * iq2000/isatty.c: Ditto. * libnosys/isatty.c: Ditto. * m32r/isatty.c: Ditto. * mn10200/isatty.c: Ditto. * mn10300/isatty.c: Ditto. * xstormy16/isatty.c: New file with _isatty function.
* 2007-08-13 Carlos O'Donell <carlos@codesourcery.com>Jeff Johnston2007-08-131-4/+0
| | | | | * arm/crt0.S: Remove '.set' for __stack, hardware_init_hook, and software_init_hook.
* 2007-08-10 Carlos O'Donell <carlos@codesourcery.com>Jeff Johnston2007-08-101-161/+362
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-12 Daniel Jacobowitz <dan@codesourcery.com> * arm/syscalls.c (_stat): Use _close * arm/syscalls.c (struct poslog): Rename to... (struct fdent): ... this. (FILE_HANDLE_OFFSET): Remove. (findslot): Return a struct fdent* if fd is valid, otherwise return NULL. (newslot): New function. (remap_handle): Remove. (initialise_monitor_handles): Use stdout as fallback for stderr. (wrap): Rename to... (checkerror): ... this. (_swiread): Use checkerror() for the return of SWI calls. Correct the use of r0. (_read): Use findslot(). Return EBADF on bad handle. (_swilseek): Call findslot(). Check for valid whence. Check for negative offset when using SEEK_CUR, and check for overflow. Use checkerror(). Check *_Flen calls for errors. (_swiwrite): Correct the use of r0. (_write): Call findslot(). (_swiopen): Call findslot(). Check for valid flags. Use checkerror(). Call newslot(). Handle O_TRUNC, and O_WRONLY. Return index into openfiles[] for fd. (_swiclose): Correct the use of r0. (_close): Handle stderr == stdout case. Only reclaim handle if _swiclose succeeded. (_getpid): Use __attribute__((unused)). (_sbrk): Fix formatting. (_swistat): New function. (_stat): Call _swistat(). (_fstat): Call _swistat(). (_unlink): Correct the use of r0. (isatty): Call finslot(). Correct the use of r0. (_system): Call checkerror(). Correct the use of r0. (_rename): Correct the use of r0.
* 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-07-061-3/+3
| | | | | | | | | | | | | | | * arm/syscalls.c (gettimeofday): Change to POSIX signature where second argument is passed as void *. * bfin/syscalls.c (gettimeofday): Ditto. * cris/gensyscalls (gettimeofday): Ditto. * cris/linunistd.h (gettimeofday): Ditto. * crx/time.c (gettimeofday): Ditto. * frv/sim-time.c (gettimeofday): Ditto. * i386/cygmon-salib.c (gettimeofday): Ditto. * libnosys/gettod.c (gettimeofday): Ditto. * m68k/io-gettimeofday.c (gettimeofday): Ditto. * sparc/cygmon-salib.c (gettimeofday): Ditto. * spu/gettimeofday.c (gettimeofday): Ditto.
* 2006-01-03 Kazu Hirata <kazu@codesourcery.com>Jeff Johnston2007-01-034-35/+48
| | | | | | | | * arm/Makefile (RDPMON_OBJS): Add _exit.o and _kill.o. (RDIMON_OBJS): Define in terms of RDPMON_OBJS. (rdimon-_exit.o, rdimon-_kill.o): New. * arm/_exit.c, arm/_kill.c: New. * arm/syscalls.c (_exit, _kill): Remove.
* * arm/licfunc.c (do_AngelSWI): Remove.Kazu Hirata2006-12-253-35/+21
| | | | | * arm/syscalls.c (do_AngelSWI): Remove. * arm/swi.h (do_AngelSWI): New.
* * arm/syscalls.c (_unlink, _system, _rename): Cast argumentsKazu Hirata2006-12-251-4/+4
| | | | to do_AngelSWI to int.
* 2006-10-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-10-031-3/+4
| | | | * arm/linux-syscalls0.c: Rewrite bx insn architecture flag check to avoid use of __ARM_ARCH__.
* 2006-10-02 Nick Clifton <nickc@redhat.com>Jeff Johnston2006-10-021-0/+4
| | | | | * arm/linux-syscalls0.c: Add arm architecture flag checks around bx insn.
* 2006-08-24 Paul Brook <paul@codesourcery.com>Jeff Johnston2006-08-241-1/+1
| | | | * arm/linux-crt0.c: Disable Arm stub for Thumb-2.
* 2006-07-05 Shaun Jackman <sjackman@gmail.com>Shaun Jackman2006-07-052-46/+39
| | | | | * arm/linux-crt0.S: Remove file. * arm/linux-crt0.c: New file. Supports PIC code.
* 2006-07-04 Shaun Jackman <sjackman@gmail.com>Shaun Jackman2006-07-041-0/+36
| | | | | | | * arm/linux-syscalls0.S (ftruncate, getegid, geteuid, getgid, getgroups, getpgid, getpgrp, getuid, lchown, pause, pipe, setpgid, setgid, setsid, setuid, sigprocmask, sync, uname): New system call.
* 2006-06-23 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2006-06-231-0/+11
| | | | * arm/elf-linux.specs: New file.
* 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>Jeff Johnston2006-06-131-7/+39
| | | | | * arm/syscalls.c (_unlink, isatty, _system, _rename): Make them do something useful in the ARM_RDI_MONITOR case.
* 2006-06-05 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2006-06-052-1/+7
| | | | | * arm/linux-syscalls0.S (reboot): Remove. * arm/linux-syscalls1.c (reboot): New function.
* 2006-06-05 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2006-06-052-15/+10
| | | | | | * arm/syscalls.c (kill) [ARM_RDI_MONITOR]: Use the signal argument to choose an ADP exception reason. * arm/libcfunc.c (abort): Remove this function.
* 2006-05-30 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2006-05-305-2/+640
| | | | | | | | * arm/Makefile.in: Add Linux syscall interface. * arm/linux-crt0.S: New file. * arm/linux-syscall.h: New file. * arm/linux-syscalls0.S: New file. * arm/linux-syscalls1.c: New file.
* 2006-05-10 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-05-102-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in: Pass some additional flags in FLAGS_TO_PASS. * configure.in: Add additional flags when creating Makefile. * configure: Regenerated. * arm/configure * arm/configure.in: Set with_multisubdir when creating Makefile. * cris/configure.in: Ditto. * d30v/configure.in: Ditto. * frv/configure.in: Ditto. * i386/configure.in: Ditto. * iq2000/configure.in: Ditto. * libnosys/configure.in: Ditto. * m32c/configure.in: Ditto. * m32r/configure.in: Ditto. * m68hc11/configure.in: Ditto. * m68k/configure.in: Ditto. * mcore/configure.in: Ditto. * mips/configure.in: Ditto. * mn10200/configure.in: Ditto. * mn10300/configure.in: Ditto. * mt/configure.in: Ditto. * pa/configure.in: Ditto. * rs6000/configure.in: Ditto. * sparc/configure.in: Ditto. * cris/configure: Regenerated. * d30v/configure: Ditto. * frv/configure: Ditto. * i386/configure: Ditto. * iq2000/configure: Ditto. * libnosys/configure: Ditto. * m32c/configure: Ditto. * m32r/configure: Ditto. * m68hc11/configure: Ditto. * m68k/configure: Ditto. * mcore/configure: Ditto. * mips/configure: Ditto. * mn10200/configure: Ditto. * mn10300/configure: Ditto. * mt/configure: Ditto. * pa/configure: Ditto. * rs6000/configure: Ditto. * sparc/configure: Ditto.
* 2006-04-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-04-193-710/+2949
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Modified to support autoconf 2.59. * */configure.in: Ditto. * configure: Regenerated. * */configure: Ditto. * wince/aclocal.m4: Ditto. * acinclude.m4: New file. * aclocal.m4: Ditto. * arm/aclocal.m4: Ditto. * cris/aclocal.m4: Ditto. * crx/aclocal.m4: Ditto. * d30v/aclocal.m4: Ditto. * fr30/aclocal.m4: Ditto. * frv/aclocal.m4: Ditto. * hp74x/aclocal.m4: Ditto. * i386/aclocal.m4: Ditto. * i960/aclocal.m4: Ditto. * iq2000/aclocal.m4: Ditto. * libnosys/aclocal.m4: Ditto. * m32c/aclocal.m4: Ditto. * m32r/aclocal.m4: Ditto. * m68hc11/aclocal.m4: Ditto. * m68k/aclocal.m4: Ditto. * mcore/aclocal.m4: Ditto. * mips/aclocal.m4: Ditto. * mn10200/aclocal.m4: Ditto. * mn10300/aclocal.m4: Ditto. * mt/aclocal.m4: Ditto. * pa/aclocal.m4: Ditto. * rs6000/aclocal.m4: Ditto. * sparc/aclocal.m4: Ditto. * sparc/libsys/aclocal.m4: Ditto. * xstormy16/aclocal.m4: Ditto.
* 2006-02-24 Paul Brook <paul@codesourcery.com>Jeff Johnston2006-02-241-0/+4
| | | | * arm/redboot-crt0.S: Use cps in Thumb-2 mode.
* 2006-02-07 Paul Brook <paul@codesourcery.com>Jeff Johnston2006-02-076-19/+57
| | | | | | | | * arm/crt0.S: Add Thumb-2 startup code. * arm/redboot-crt0.S: Ditto. * arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn. * arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define. * arm/trap.S: Disable for Thumb-2.
* 2005-11-30 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-11-302-2/+41
| | | | | | * arm/libcfunc.c (clock, sleep, usleep): New functions. * arm/syscalls.c (_clock): New function. (_times): Call _clock.
* 2005-11-17 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-11-171-4/+1
| | | | | * libgloss/arm/libcfunc.c (isatty): Call _isatty. GDB now supports the IsTTY SWI that _isatty calls.
* 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-202-10/+18
| | | | | | * arm/configure.in: Add AC_SUBST for BUILD_CRT0_TRUE and BUILD_CRT0_FALSE. * arm/configure: Regenerate.
* 2005-10-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-172-6/+6
| | | | | | * arm/configure.in: Support building crt0.o when syscalls are disabled in newlib. * arm/configure: Regenerated.
* 2005-08-16 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-08-161-2/+26
| | | | | | * arm/syscalls.c (initialise_monitor_handles): Set monitor_stderr to the result of SWI_open(":tt", "a") instead of simply duplicating stdout.
* Fixed comment spacing.Jeff Johnston2005-08-021-1/+1
|
* 2005-08-02 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-08-021-0/+10
| | | | * libgloss/arm/libcfunc.c (isatty): New function.
* 2005-08-02 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-08-021-25/+14
| | | | | | | * libgloss/arm/syscalls.c (_exit): Call _kill with the second argument set to -1, which is an invalid signal number. (_kill): Comment and coding style changes only. (_raise): Remove function.
* 2005-07-19 Paul Brook <paul@codesourcery.com>Jeff Johnston2005-07-191-0/+7
| | | | * arm/crt0.S: Ensure doubleword stack alignment.
* 2005-07-18 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-07-182-30/+58
| | | | | | | | | | | | | | | * libgloss/arm/libcfunc.c (abort): Call _exit instead of the RDI swi. (alarm): Add the weak attribute. (pause): New function. Return ENOSYS. * libgloss/arm/syscalls.c (_getpid): Add the weak attribute. (_fstat): Ditto. (_stat): Ditto. (_link): Ditto. Return ENOSYS. (_unlink): Call the swi instead of returning -1. (_raise): Add the weak attribute. Return ENOSYS. (isatty): Rename to _isatty. Call the swi instead of returning 1. (_system): Call the swi instead of returning ENOSYS. (_rename): Ditto.
* * arm/elf-redboot.ld, iq2000/sim.ld, m68hc11/sim-valid-m68hc11.ld,Corinna Vinschen2005-05-201-0/+1
| | | | | | | | | | | | | | | * m68hc11/sim-valid-m68hc12.ld, mcore/elf-cmb.ld, mips/cfe.ld, * mips/ddb-kseg0.ld, mips/ddb.ld, mips/dve.ld, mips/idt.ld, * mips/idt32.ld, mips/idt64.ld, mips/jmr3904app-java.ld, * mips/jmr3904app.ld, mips/jmr3904dram-java.ld, mips/jmr3904dram.ld, * mips/nullmon.ld, mips/pmon.ld, mn10200/eval.ld, mn10200/sim.ld, * mn10300/asb2303.ld, mn10300/asb2305.ld, mn10300/eval.ld, * mn10300/sim.ld, rs6000/ads.ld, rs6000/mbx.ld, rs6000/yellowknife.ld, * sh/sh1lcevb.ld, sh/sh2lcevb.ld, sh/sh3bb.ld, sh/sh3lcevb.ld, * sparc/elfsim.ld, sparc/ex930.ld, sparc/ex931.ld, sparc/ex934.ld, * sparc/sparc86x.ld, xstormy16/eva_app.ld, xstormy16/eva_stub.ld, * xstormy16/sim_high.ld, xstormy16/sim_rom.ld: Add .debug_ranges section.
* 2005-05-05 Tobias Anderberg <tobias.anderberg@axis.com>Jeff Johnston2005-05-051-1/+1
| | | | * arm/syscalls.c (get_errno): Fix output register constraint.
* 2005-04-28 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-04-281-1/+3
| | | | * libgloss/syscalls.c (get_errno): Add an output register constraint.
* 2005-04-12 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-04-131-2/+2
| | | | | | * libgloss/arm/Makefile.in (RDPMON_BSP): librdpmon.a was empty due to a typo. Fixed. (RDIMON_BSP): Ditto.
* 2005-02-08 Antony King <antony.king@st.com>Jeff Johnston2005-02-081-16/+8
| | | | | * arm/syscalls.c: Change CHECK_INIT to pass reentrant struct instead of file pointer.
* 2005-01-07 Paul Brook <paul@codesourcery.com>Jeff Johnston2005-01-071-0/+6
| | | | | * arm/crt0.S: Call __libc_{init,fini}_array instead of _init/_fini if they exist.
* 2004-11-26 Paul Brook <paul@codesourcery.com>Jeff Johnston2004-11-261-0/+9
| | | | * arm/crt0.S (_start): Add .cantunwind annotation.
* 2004-01-01 Paul Brook <paul@codesourcery.com>Paul Brook2004-10-012-2/+2
| | | | | * arm/configure.in: Add *-*-aebi target. * arm/configure: Regenerate.
* 2004-06-27 Hideki Iwamoto <h-iwamoto@kit.hi-ho.ne.jp>Jeff Johnston2004-06-281-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in: Support $(DESTDIR). * arm/Makefile.in: Ditto. * d30v/Makefile.in: Ditto. * doc/Makefile.in: Ditto. * fr30/Makefile.in: Ditto. * frv/Makefile.in: Ditto. * hp74x/Makefile.in: Ditto. * i386/Makefile.in: Ditto. * i960/Makefile.in: Ditto. * iq2000/Makefile.in: Ditto. * libnosys/Makefile.in: Ditto. * m32r/Makefile.in: Ditto. * m68hc11/Makefile.in: Ditto. * m68k/Makefile.in: Ditto. * mcore/Makefile.in: Ditto. * mips/Makefile.in: Ditto. * mn10200/Makefile.in: Ditto. * mn10300/Makefile.in: Ditto. * pa/Makefile.in: Ditto. * rs6000/Makefile.in: Ditto. * sparc/Makefile.in: Ditto. * sparc/libsys/Makefile.in: Ditto. * xstormy16/Makefile.in: Ditto.
* 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2004-06-173-12/+53
| | | | | | | | | | * arm/configure.in: Check the value of newlib-may-supply-syscalls enablement variable to determine if crt0 should or should not be built. * arm/configure: Regenerated. * arm/Makefile.in: Changed to look at @BUILD_CRT0_TRUE@ and @BUILD_CRT0_FALSE@ variables set in configure to determine if crt0.o should be built and installed.
* 2004-06-09 Toralf Lund <toralf@procaptura.com>Jeff Johnston2004-06-0910-4/+1270
| | | | | | | | | | | | | | * arm/crt0.S: Copied from newlib and it now also sets up stacks for FIQ and IRQ mode, plus calls hardware_init_hook() and software_init_hook() if present. * arm/libcfunc.c, arm/swi.h, arm/syscalls.c: Copied from newlib. * arm/Makefile.in: Build crt0.o, rdpmon-crt0.o, rdimon-crt0.o, librdpmon.a, librdimon.a - support file for "bare" setup, as well as "RDP" and "RDI" monitors. * arm/coff-rdpmon.specs, arm/elf-rdpmon.specs, arm/coff-rdimon.specs, arm/elf-rdimon.specs: gcc specs files to go with above mentioned support libs and startfiles.
* 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-11-078-23/+64
| | | | | | | | | | | | * arm/Makefile.in: Add support for new pid specs. * arm/coff-iq80310.specs: Change to allow future support. * arm/elf-iq80310.specs: Ditto. * arm/elf-redboot.specs: Ditto. * arm/coff-redboot.ld: Add EH frame support. * arm/redboot-crt0.S: Add optional code to clear bss without memset. * arm/coff-pid.specs: New file. * arm/elf-pid.specs: New file.
* * arm/syscall.h: New file. To define extra syscall values for RedBoot.Jonathan Larmour2002-04-292-16/+143
| | | | | | | | | | | | | | | * arm/redboot-syscalls.c (_close): Fix setting of errno value. (_lseek): Ditto. (_open): Ditto. (_write): Ditto. (_read): Ditto. (_rename): New function. (_system): Ditto. (_stat): Ditto. (_unlink): Call a syscall for this now. (isatty): Ditto. (_fstat): Ditto. (_gettimeofday): Ditto.
* Add eh stuff and .jcr.Mark Salter2002-02-051-1/+3
|
* Add crti to startfile.Mark Salter2002-02-052-2/+2
|
* Add init/fini support.Mark Salter2002-02-051-0/+15
|