aboutsummaryrefslogtreecommitdiff
path: root/libgloss
AgeCommit message (Collapse)AuthorFilesLines
2009-01-08Typo fixes.Ben Elliston1-3/+3
2009-01-072009-01-07 Ben Elliston <bje@au.ibm.com>Jeff Johnston3-1/+8
* Makefile.in (all): Add `+' to the command line so that the command is always treated as $(MAKE). * doc/Makefile.in (datarootdir): Define.
2008-12-172008-12-17 Jon Beniston <jon@beniston.com>Jeff Johnston14-2560/+6332
* README: Add description of lm32 directory. * configure.in: Add lm32 target. * configure: Regenerated. * libnosys/configure.in: Add lm32 target. * libnosys/configure: Regenerated. * lm32: New directory. * lm32/aclocal.m4: New file. * lm32/Makefile.in: New file. * lm32/configure.in: New file. * lm32/configure: New file. * lm32/crt0.S: New file. * lm32/isatty.c: New file. * lm32/scall.S: New file. * lm32/sim.ld: New file.
2008-12-112008-12-11 Ken Werner <ken.werner@de.ibm.comJeff Johnston3-1/+18
* spu/crt0.S: Call __monstartup if profiling is enabled. * spu/Makefile.in: Add gcrt1.o gcrt2.o.
2008-12-06 * mips/idt32.ld: Set arch to mips:isa32r2 from mips:isa32. UpdateAdam Nemet2-3/+8
comment.
2008-12-05 * mips/idt64.ld: Set arch to mips:isa64r2 from mips:isa64. UpdateAdam Nemet2-3/+10
comment.
2008-11-202008-11-20 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston7-12/+267
Patrick Mansfield <patmans@us.ibm.com> Joel Schopp <jschopp@austin.ibm.com> * spu/Makefile.in: Add new files. * spu/jsre.h: Add JSRE_MMAP, JSRE_MREMAP, JSRE_MSYNC and JSRE_MUNMAP opcodes. * spu/mmap_eaddr.c: New File. * spu/mremap_eaddr.c: Likewise. * spu/msync_eaddr.c: Likewise. * spu/munmap_eaddr.c: Likewise.
2008-11-172008-11-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-3/+1756
* m32r/Makefile.in: Add building m32r-stub.o from local copy instead of up and over in gdb. * m32r/m32r-stub.c: New file copied from gdb.
2008-10-062008-10-06 Bill Tompkins <bill+newlib@key-square.com>Jeff Johnston2-0/+14
* arm/crt0.S: Fix calling hardware_init_hook() or software_init_hook() under thumb and thumb2.
2008-09-24* m32c/varvects.S: New.DJ Delorie7-10/+300
* m32c/varvects.h: New. * m32c/sample.c: New. * m32c/Makefile.in: Add m32cgloss library support. * m32c/crt0.S: Tweaks to support interrupts by default. * m32c/m32c.tmpl: Likewise.
2008-09-112008-09-10 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston3-6/+22
* spu/dirfuncs.c: Avoid warnings. * spu/kill.c: Likewise.
2008-09-042008-09-04 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston3-6/+12
* spu/Makefile.in: Fix missing linux_syscalls.o. * spu/linux_syscalls.c: Remove extraneous "3D" sequences.
2008-08-142008-08-14 Jie Zhang <jie.zhang@analog.com>Jeff Johnston89-13/+47803
* bfin/Makefile.in: (top_srcdir): Define. (mkinstalldirs): Define. (BOARD_SCRIPTS): Define. (BOARD_LDFLAGS): Define. (BOARD_BSP): Define. (BOARD_CRT0S): Define. (BOARD_OBJS): Define. (BOARD_TEST): Define. (BOARD_INSTALL): Define. (INCLUDES): Add -I$(srcdir)/include. (all): Add ${BOARD_CRT0S} and ${BOARD_BSP}. (.c.S): Remove target. (crt0.o): New target. (basiccrt.o): Likewise. (basiccrtb.o): Likewise. (basiccrts.o): Likewise. (basiccrt561.o, basiccrt561s.o, basiccrt561b.o): Likewise (clean mostlyclean): Remove ${BOARD_BSP}. (install): Depend on ${BOARD_INSTALL}. (install-sim): Reformat. (install-board): New target. * bfin/basiccrt.S: Remove useless __ADSPBF561_COREB__ in workaround code for 05000229. * bfin/syscalls.c (do_syscall): Use `EXCPT 0' instead of `RAISE 0' for syscall. * bfin/basiccrt.S: New file. * bfin/bf5*ld: New file. * bfin/bfin-common-mc.ld: New file. * bfin/bfin-common-sc.ld: New file. * bfin/include/blackfin.h: New file. * bfin/include/cdefBF5*.h: New file. * bfin/include/cdef_LPBlackfin.h: New file. * bfin/include/cdefblackfin.h: New file. * bfin/include/cplb.h: New file. * bfin/include/cplbtab.h: New file. * bfin/include/defBF5*.h: New files. * bfin/include/def_LPBlackfin.h: New files. * bfin/include/defblackfin.h: New file. * bfin/include/sys/_adi_platform.h: New file. * bfin/include/sys/anomaly_macros_rtl.h: New file. * bfin/include/sys/excause.h: New file. * bfin/include/sys/exception.h: New file. * bfin/include/sys/mc_typedef.h: New file. * bfin/include/sys/platform.h: New file. * bfin/include/sys/pll.h: New file. * bfin/include/sysreg.h: New file. * libnosys/configure.in (MISSING_SYSCALL_NAMES): Don't define for bfin. * libnosys/configure: Regenerate.
2008-07-172008-07-17 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2-1/+13
* spu/syscalls.c: Check and set the errno value.
2008-06-172008-06-17 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2-0/+67
* spu/Makefile.in: Add new file. * spu/linux_syscalls.c: New file to add Linux syscall support.
2008-06-162008-06-16 Corrin Meyer <cjmeyer@gmail.com>Jeff Johnston2-1/+5
* m68k/cf-crt1.c[__mcf_family_m1qe]: Don't access CACR.
2008-05-21 * libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).Nick Clifton4-0/+24
* iq2000/crt0.S (__dso_handle): Define (weak). * frv/crt0.S (__dso_handle): Define (weak). * mn10300/crt0.S (___dso_handle): Define (weak).
2008-05-052008-05-05 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2-8/+6
* spu/readlink.c: Align readlink implementation to POSIX.
2008-04-25 * libc/machine/arm/setjmp.S: Fix thumb2 support.Nick Clifton2-1/+13
* arm/crt0.S: Allow assembly under ARMv7 ISA. Support for initializing stack pointers for interrupt modes is still pending.
2008-04-152008-04-14 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2-2/+5
* spu/sbrk.c: Remove "extern int errno", use whatever is supplied by sys/errno.h.
2008-04-04[newlib]DJ Delorie32-37533/+55872
* 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-11* m32c/exit.S (__exit): preserve both argument registers.DJ Delorie2-2/+6
2008-01-032008-01-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston12-12/+53
* 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-12-01 * cris/Makefile.in (crt0.o): Add CFLAGS when compiling crt0.S.Hans-Peter Nilsson2-1/+5
2007-11-062007-11-06 Dave Brolley <brolley@redhat.com>Jeff Johnston2-0/+8
* syscall.h (SYS_reconfig): New macro.
2007-10-112007-10-11 Ulrich Weigand <uweigand@de.ibm.com>Jeff Johnston2-0/+6
* spu/crt0.S: Fix so element one of register one is correctly set when compiled with -mstdmain and -fstack-check.
2007-10-022007-10-02 Markus Deuling <deuling@de.ibm.com>Jeff Johnston2-0/+10
* spu/crt0.S: Initialize __ea_local_store (EA address of the LS) via register 6.
2007-10-012007-10-01 Markus Deuling <deuling@de.ibm.com>Jeff Johnston2-4/+8
* spu/Makefile.in: add dependencies for crt files.
2007-10-012007-10-01 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2-2/+10
* spu/sbrk.c: Use the current stack pointer value rather than the maximum available memory to determine the amount of heap space left. Without this change calling sbrk() can allocate space that is currently in use on the stack.
2007-09-26 * spu/sched_yield.c: New file (missed on 2007-09-21).Ben Elliston2-0/+53
2007-09-212007-09-21 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston7-3/+244
* spu/Makefile.in: Add new files. * spu/jsre.h: Add JSRE_PREAD, JSRE_PWRITE, JSRE_READV, and JSRE_WRITEV opcodes. * spu/pread.c: New file to add pread via assist call. * spu/pwrite.c: New file to add pwrite via assist call. * spu/readv.c: New file to add readv via assist call. * spu/writev.c: New file to add writev via assist call.
2007-09-212007-09-21 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston6-2/+167
* spu/jsre.h: Add JSRE_SCHED_YIELD, JSRE_UMASK, JSRE_UTIME, and JSRE_UTIMES. * spu/sched_yield.c: New file add sched_yield via assist call. * spu/umask.c: New file add umask via assist call. * spu/utime.c: New file add utime via assist call. * spu/utimes.c: New file add utimes via assist call. * spu/Makefile.in: Add new files.
2007-09-212007-09-21 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston5-3/+103
* spu/jsre.h: Add JSRE_SHM_OPEN and JSRE_SHM_UNLINK opcodes. * spu/shm_open.c: New file to add shm_open via assist call. * spu/shm_unlink.c: New file to add shm_unlink via assist call. * spu/Makefile.in: Add shm_open.o and shm_unlink.o
2007-09-212007-09-21 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston4-1/+183
* spu/dirfuncs.c: New file, holds the opendir, closedir, readdir, rewinddir, seekdir and telldir implementations. These are grouped in one file so that we do not need a separate file for the struct dirent and DIR allocation code. * spu/jsre.h: Add JSRE_OPENDIR and other dir opcodes. * spu/Makefile.in: Add dirfuncs.o.
2007-08-132007-08-13 Carlos O'Donell <carlos@codesourcery.com>Jeff Johnston2-4/+5
* arm/crt0.S: Remove '.set' for __stack, hardware_init_hook, and software_init_hook.
2007-08-102007-08-10 Carlos O'Donell <carlos@codesourcery.com>Jeff Johnston2-166/+402
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-13 * mep/fmax.ld, mep/gmap_default.ld, mep/min.ld, mep/simple.ldKevin Buettner5-4/+9
(.gcc_except_table): Add pattern for .gcc_except_table.*.
2007-07-062007-07-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston12-14/+31
* 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.
2007-06-202007-06-20 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston5-3/+94
* spu/jsre.h: Add JSRE_MKSTEMP and JSRE_MKTEMP values. * spu/mkstemp.c: New file to add mkstemp support via assist call. * spu/mktemp.c: New file to add mktemp support via assist call. * spu/Makefile.in: Add mkstemp.o and mktemp.o
2007-06-202007-06-20 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston9-6/+311
* spu/jsre.h: Add new JSRE opcodes. * spu/dup2.c: New file to add dup2 support via assist call. * spu/fdatasync.c: New file to add fdatasync support via assist call. * spu/fsync.c: New file to add fsync support via assist call. * spu/lockf.c: New file to add lockf support via assist call. * spu/sync.c: New file to add sync support via assist call. * spu/truncate.c: New file to add truncate support via assist call. * spu/Makefile.in: Add new files.
2007-06-202007-06-20 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston6-2/+182
* spu/jsre.h: JSRE_LINK, JSRE_SYMLINK and JSRE_READLINK. * spu/link.c: New file to add link support via an assist call. * spu/readlink.c: New file to add readlink support via an assist call. * spu/symlink.c: New file to add symlink support via an assist call. * spu/Makefile.in: Add new files.
2007-06-202007-06-20 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston7-40/+140
* spu/jsre.h: Add JSRE_LSTAT. * spu/lstat.c: New file add lstat support via an assist call. * spu/conv_stat.c: New file, add common stat conversion code. * spu/fstat.c: Use __conv_stat. * spu/stat.c: Use __conv_stat. * spu/Makefile.in: Add conv_stat.o and lstat.o.
2007-06-202007-06-20 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston4-1/+118
* spu/jsre.h: Add JSRE_GETCWD. * spu/getcwd.c: New file, implement getcwd with help from an assist call. * spu/Makefile.in: Add getcwd.
2007-06-202007-06-20 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston13-3/+538
* spu/jsre.h: Add defines for new assist calls. * spu/chdir.c: New file, support chdir via assist call. * spu/chmod.c: New file, support chmod via assist call. * spu/chown.c: New file, support chown via assist call. * spu/fchdir.c: New file, support fchdir via assist call. * spu/fchmod.c: New file, support fchmod via assist call. * spu/fchown.c: New file, support fchown via assist call. * spu/lchown.c: New file, support lchown via assist call. * spu/mkdir.c: New file, support mkdir via assist call. * spu/mknod.c: New file, support mknod via assist call. * spu/rmdir.c: New file, support rmdir via assist call. * spu/Makefile.in: Add new files.
2007-06-202007-06-20 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston4-1/+56
* spu/getpagesize.c: New file add getpagesize via an assist call. * spu/jsre.h: Add JSRE_GETPAGESIZE. * spu/Makefile.in: Add getpagesize.
2007-06-132007-06-13 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston4-2/+61
* spu/Makefile.in: Add nanosleep.c. * spu/jsre.h: Add JSRE_NANOSLEEP. * spu/nanosleep.c: New file, supply nanosleep via an assist call.
2007-06-052007-06-05 Patrick Mansfield <patman@us.ibm.com>Jeff Johnston14-128/+122
* spu/jsre.h: Remove the assist call structs and defines that are specific to one assist call from here. * spu/access.c: Move struct syscall_access_t to here. * spu/fstat.c: Move struct syscall_fstat_t to here. * spu/ftruncate.c: Move struct syscall_ftruncate_t to here. * spu/gettimeofday.c: Move struct syscall_gettimeofday_t to here. * spu/lseek.c: Move struct syscall_lseek_t and JSRE_SEEK defines to here. * spu/open.c: Move struct syscall_open_t and JSRE_O_ defines to here. * spu/read.c: Move struct syscall_read_t to here, and actually use it (it is the same as syscall_write_t). * spu/stat.c: Move struct syscall_stat_t to here. * spu/write.c: Move struct syscall_write_t to here. * spu/close.c: Pass the address of the first and only argument to __send_to_ppe rather than using an automatic variable and a special struct. * spu/dup.c: Ditto. * spu/unlink.c: Ditto.
2007-05-30 * m68k/cf-crt1.C, m68k/cf.sc, m68k/fido.sc, m68k/fido-crt0.S:Kazu Hirata5-10/+16
Replace __INIT_SECTION__ and __FINI_SECTION__ with _init and _fini, respectively.
2007-05-232007-05-23 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston15-79/+45
* spu/syscalls.c: Change __send_to_ppe to return the result stored in stored in slot 0 of the data, rather than have each assisted call retrieve the value. * spu/jsre.h: Remove the now unused syscall_out_t. * spu/access.c: Use the __send_to_ppe result instead of the slot 0 value, remove unused syscall_out_t variable. * spu/close.c: Ditto. * spu/dup.c: Ditto. * spu/fstat.c: Ditto. * spu/ftruncate.c: Ditto. * spu/gettimeofday.c: Ditto. * spu/lseek.c: Ditto. * spu/open.c: Ditto. * spu/read.c: Ditto. * spu/stat.c: Ditto. * spu/unlink.c: Ditto. * spu/write.c: Ditto.
2007-05-23 * m68k/fido.sc (.data): Move .jcr to .text. Catch .got.pltKazu Hirata2-1/+11
and .got.