summaryrefslogtreecommitdiffstats
path: root/libgloss/bfin
Commit message (Collapse)AuthorAgeFilesLines
* libgloss: bfin: add a better default _exitMichael Frysinger2012-01-242-1/+26
|
* libgloss: bfin: add clear_cache_range support (for gcc)Michael Frysinger2011-12-182-3/+40
|
* libgloss: bfin: implement getpid/fstat/stat/link/unlink syscallsMichael Frysinger2011-07-011-20/+21
| | | | | | | | The current syscalls.c implements getpid/fstat/stat/link/unlink as mere stubs. So replace them with useful calls to do_syscall now that our sim can support them. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* libgloss: bfin: fix sim lseek() syscallMichael Frysinger2011-07-011-2/+3
| | | | | | | The sim lseek() syscall in the Blackfin libgloss code did not pass down the "whence" argument making lseek() in general kind of useless. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* libgloss: bfin: handle result2/errcode in sim syscallsMichael Frysinger2011-06-221-4/+9
| | | | | | | | The sim passes back results via two values, and the error code via a 3rd. make sure libgloss extracts all three so that things like errno work as expected. This fixes many gdb tests which look for this sort of thing. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* libgloss: bfin: trim trailing whitespaceMichael Frysinger2011-06-222-16/+16
|
* libgloss: bfin: fix asm constraints for raise/excpt helpersMichael Frysinger2011-03-271-2/+2
| | | | | The RAISE and EXPT insns take a constant, not a register. So make sure the asm constraints reflect this.
* libgloss: bfin: abort on install errorsMichael Frysinger2011-03-271-2/+2
|
* libgloss: bfin: sync headers to VDSP 5.0 Update 8Michael Frysinger2010-10-1782-420/+922
| | | | | | A new release of VDSP means syncing random updates to the libgloss headers. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* libgloss: bfin: add support for bf592 processorsMichael Frysinger2010-10-167-1/+1672
| | | | | | Import the headers from VisualDSP and add a linker script for them. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* libgloss: bfin: add support for bf50x processorsMichael Frysinger2010-10-1513-11/+5008
| | | | | | Import the headers from VisualDSP and add linker scripts for them. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* libgloss: bfin: handle L1 sections in linker scriptsMichael Frysinger2010-10-152-6/+6
| | | | | | | Make sure gcc L1 attributes work with the default Blackfin linker scripts. Signed-off-by: Stuart Henderson <stuart.henderson@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* libgloss: bfin: drop BF541 headersMichael Frysinger2010-10-153-76/+2
| | | | | | The BF541 never actually existed, so punt it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* 2009-10-08 Jie Zhang <jie.zhang@analog.com>Jeff Johnston2009-10-081-0/+8
| | | | | * bfin/Makefile.in (basiccrt.o, basiccrts.o): Use -mcpu=bf532-any for the default multilib.
* 2009-09-16 Mike Frysinger <michael.frysinger@analog.com>Jeff Johnston2009-09-1666-1275/+11050
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bfin/include/cdefBF512.h, bfin/include/cdefBF514.h, bfin/include/cdefBF516.h, bfin/include/cdefBF518.h, bfin/include/cdefBF51x_base.h, bfin/include/cdefBF523.h, bfin/include/cdefBF524.h, bfin/include/cdefBF526.h, bfin/include/cdefBF542M.h, bfin/include/cdefBF544M.h, bfin/include/cdefBF547M.h, bfin/include/cdefBF548M.h, bfin/include/cdefBF549M.h, bfin/include/defBF512.h, bfin/include/defBF514.h, bfin/include/defBF516.h, bfin/include/defBF518.h, bfin/include/defBF51x_base.h, bfin/include/defBF523.h, bfin/include/defBF524.h, bfin/include/defBF526.h, bfin/include/defBF542M.h, bfin/include/defBF544M.h, bfin/include/defBF547M.h, bfin/include/defBF548M.h, bfin/include/defBF549M.h: New file. * bfin/include/ccblkfn.h, bfin/include/cdefBF525.h, bfin/include/cdefBF527.h, bfin/include/cdefBF52x_base.h, bfin/include/cdefBF532.h, bfin/include/cdefBF534.h, bfin/include/cdefBF535.h, bfin/include/cdefBF538.h, bfin/include/cdefBF539.h, bfin/include/cdefBF542.h, bfin/include/cdefBF544.h, bfin/include/cdefBF547.h, bfin/include/cdefBF548.h, bfin/include/cdefBF549.h, bfin/include/cdefBF54x_base.h, bfin/include/cdefBF561.h, bfin/include/cdefblackfin.h, bfin/include/cdef_LPBlackfin.h, bfin/include/cplb.h, bfin/include/defBF527.h, bfin/include/defBF52x_base.h, bfin/include/defBF532.h, bfin/include/defBF534.h, bfin/include/defBF535.h, bfin/include/defBF537.h, bfin/include/defBF538.h, bfin/include/defBF539.h, bfin/include/defBF542.h, bfin/include/defBF544.h, bfin/include/defBF547.h, bfin/include/defBF548.h, bfin/include/defBF549.h, bfin/include/defBF54x_base.h, bfin/include/defBF561.h, bfin/include/defblackfin.h, bfin/include/def_LPBlackfin.h, bfin/include/sys/_adi_platform.h, bfin/include/sys/anomaly_macros_rtl.h, bfin/include/sys/exception.h, bfin/include/sysreg.h: Update to Visual DSP 5.0 Update 6.
* 2009-09-16 Mike Frysinger <michael.frysinger@analog.com>Jeff Johnston2009-09-165-1/+109
| | | | | | | | | * bfin/Makefile.in (BOARD_SCRIPTS): Add bf512.ld, bf514.ld, and bf516.ld, bf518.ld. * bfin/bf512.ld: New file. * bfin/bf514.ld: Likewise. * bfin/bf516.ld: Likewise. * bfin/bf518.ld: Likewise
* 2009-09-16 Jie Zhang <jie.zhang@analog.com>Jeff Johnston2009-09-1625-25/+25
| | | | * bfin/*.ld: Fix typos in comments.
* 2009-09-08 Bernd Schmidt <bernd.schmidt@analog.com>Jeff Johnston2009-09-081-0/+2
| | | | * bfin/include/ccblkfn.h: New file.
* 2009-09-08 Mike Frysinger <michael.frysinger@analog.com>Jeff Johnston2009-09-082-7/+7
| | | | | | * bfin/include/sys/_adi_platform.h: Convert __ASSEMBLY__ to __ASSEMBLER__. * bfin/include/sys/pll.h: Likewise
* 2009-09-08 Jie Zhang <jie.zhang@analog.com>Jeff Johnston2009-09-081-9/+0
| | | | | * bfin/Makefile.in (basiccrt.o, basiccrts.o): Don't use -mcpu=bf532-any for the default multilib.
* 2008-08-14 Jie Zhang <jie.zhang@analog.com>Jeff Johnston2008-08-1486-13/+47747
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* [newlib]DJ Delorie2008-04-041-1183/+1779
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-07-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-07-061-1/+1
| | | | | | | | | | | | | | | * 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-11-08 Jie Zhang <jzhang918@gmail.com>Jeff Johnston2006-11-086-0/+3971
* bfin/configure.in: New. * bfin/crt0.S: New. * bfin/Makefile.in: New. * bfin/syscalls.c: New. * bfin/aclocal.m4: Generate. * bfin/configure: Ditto. * configure.in: Add support for bfin-*-*. * configure: Regenerate. * syscall.h (SYS_argc): Define. (SYS_argnlen): Define. (SYS_argn): Define.