Michael Frysinger
d2d0cc5c32
libgloss: bfin: fix asm constraints for raise/excpt helpers
...
The RAISE and EXPT insns take a constant, not a register. So make
sure the asm constraints reflect this.
2011-03-27 03:47:30 +00:00
Michael Frysinger
0f6ab41477
libgloss: bfin: abort on install errors
2011-03-27 03:40:00 +00:00
Nick Clifton
1db7c629bc
* xstormy16/crt0.s (_hwint): Fix .size directive.
2011-03-24 16:29:11 +00:00
Nick Clifton
1e71af509b
* frv/crt0.S (__frv_fix_usrptrs): Fix .size directive.
2011-03-24 16:24:36 +00:00
Kevin Buettner
5e5b7f35ac
* v850/sys/syscall.h (SYS_rename): Define.
2011-03-21 22:09:34 +00:00
Corinna Vinschen
ffe6f55e45
* Makefile.in (stmp-bsp): Exit when subdirs fail.
...
(install): Likewise.
2011-01-10 12:08:35 +00:00
Nick Clifton
f67bdf6d9d
Remove GPL licencsing
2010-12-17 10:13:31 +00:00
Jeff Johnston
8ae0b98903
2010-12-02 Jayant Sonar jayant.sonar@kpitcummins.com
...
Kaushik Phatak kaushik.phatak@kpitcummins.com
* configure.in: Add CR16 support.
* configure: Regenerated.
* cr16/aclocal.m4: New.
* cr16/close.c: New.
* cr16/configure: New.
* cr16/configure.in: New.
* cr16/crt1.S: New.
* cr16/crti.S: New.
* cr16/crtn.S: New.
* cr16/dvz_hndl.c: New.
* cr16/_exit.c: New.
* cr16/flg_hndl.c: New.
* cr16/fstat.c: New.
* cr16/_getenv.c: New.
* cr16/getpid.c: New.
* cr16/iad_hndl.c: New.
* cr16/intable.c: New.
* cr16/isatty.c: New.
* cr16/kill.c: New.
* cr16/lseek.c: New.
* cr16/Makefile.in: New.
* cr16/open.c: New.
* cr16/putnum.c: New.
* cr16/read.c: New.
* cr16/_rename.c: New.
* cr16/sbrk.c: New.
* cr16/sim.ld: New.
* cr16/stat.c: New.
* cr16/svc_hndl.c: New.
* cr16/time.c: New.
* cr16/und_hndl.c: New.
* cr16/unlink.c: New.
* cr16/write.c: New.
2010-12-02 19:35:47 +00:00
Jeff Johnston
9a984ac7cb
2010-11-17 Bernd Schmidt <bernds@codesourcery.com>
...
* tic6x/syscalls.c (cio_getclk_to_host, cio_getclk_from_host): New
structs.
(cio_to_host, cio_from_host): Use them.
(clock): New function.
2010-11-17 21:45:58 +00:00
Michael Frysinger
1cfc2fea73
libgloss: bfin: sync headers to VDSP 5.0 Update 8
...
A new release of VDSP means syncing random updates to the libgloss headers.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-17 23:52:49 +00:00
Michael Frysinger
76b10bc44a
libgloss: bfin: add support for bf592 processors
...
Import the headers from VisualDSP and add a linker script for them.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-16 17:06:55 +00:00
Michael Frysinger
b1b01f2615
libgloss: bfin: add support for bf50x processors
...
Import the headers from VisualDSP and add linker scripts for them.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-15 20:32:11 +00:00
Michael Frysinger
9c4461742a
changelogs for previous blackfin commits
2010-10-15 05:43:16 +00:00
Michael Frysinger
809f1ef494
libgloss: bfin: handle L1 sections in linker scripts
...
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>
2010-10-15 05:41:53 +00:00
Michael Frysinger
3fb5779745
libgloss: bfin: drop BF541 headers
...
The BF541 never actually existed, so punt it.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-15 05:38:51 +00:00
Jeff Johnston
4606798ea0
2010-10-08 Bernd Schmidt <bernds@codesourcery.com>
...
Joseph Myers <joseph@codesourcery.com>
* configure.in: Handle tic6x targets.
* configure: Regenerate.
* tic6x/Makefile.in, tic6x/configure.in, tic6x/crt0.S,
tic6x/getpid.c, tic6x/kill.c, tic6x/sbrk.c, tic6x/syscalls.c: New.
* tic6x/configure: New (generated).
2010-10-09 02:31:22 +00:00
Anthony Green
e684be61f8
add missing object files to qemu support library.
2010-10-02 19:54:12 +00:00
Anthony Green
d661917b17
Minor crt0 improvement for moxie
2010-10-02 19:34:25 +00:00
Corinna Vinschen
4996145486
* doc/porting.texi: Fix typos.
2010-09-23 08:07:47 +00:00
Michael Frysinger
631c8d784b
libgloss: add Blackfin to the README
2010-09-22 22:45:07 +00:00
Corinna Vinschen
95c929196b
* syscalls.c (_isatty): Fix return value.
2010-08-27 11:55:36 +00:00
Jeff Johnston
8fcd3c7367
Fix location of this file to be where it was initially intended.
2010-08-23 15:51:27 +00:00
Jeff Johnston
fca7953a10
Fix latest changelog entry to not refer to libgloss directory.
2010-07-23 18:12:53 +00:00
Jeff Johnston
c0c762e419
2010-07-23 Naveen.H.S <naveenh1@kpitcummins.com>
...
Gina Verlekar <gina.verlekar@kpitcummins.com>
Moving files from libc/sys/sysnecv850 to libgloss/v850
* libgloss/libnosys/configure: Regenerated.
* libgloss/libnosys/configure.in: Compact v850 support to v850*-*-*.
* libgloss/libnosys/configure: Regenerated.
* libgloss/configure.in: Add libgloss support for v850.
* libgloss/configure: Regenerated.
* libgloss/v850/access.c: New file.
* libgloss/v850/aclocal.m4: New.
* libgloss/v850/chmod.c: New.
* libgloss/v850/chown.c: New.
* libgloss/v850/close.c: New.
* libgloss/v850/configure: New.
* libgloss/v850/configure.in: New.
* libgloss/v850/crt0.S: New.
* libgloss/v850/crt1.c: New.
* libgloss/v850/execv.c: New.
* libgloss/v850/execve.c: New.
* libgloss/v850/_exit.c: New.
* libgloss/v850/fork.c: New.
* libgloss/v850/fstat.c: New.
* libgloss/v850/getpid.c: New.
* libgloss/v850/gettime.c: New.
* libgloss/v850/isatty.c: New.
* libgloss/v850/kill.c: New.
* libgloss/v850/link.c: New.
* libgloss/v850/lseek.c: New.
* libgloss/v850/Makefile.in: New.
* libgloss/v850/open.c: New.
* libgloss/v850/pipe.c: New.
* libgloss/v850/read.c: New.
* libgloss/v850/sbrk.c: New.
* libgloss/v850/sim.ld: New.
* libgloss/v850/stat.c: New.
* libgloss/v850/time.c: New.
* libgloss/v850/times.c: New.
* libgloss/v850/trap.S: New.
* libgloss/v850/unlink.c: New.
* libgloss/v850/utime.c: New.
* libgloss/v850/wait.c: New.
* libgloss/v850/write.c: New.
2010-07-23 17:52:37 +00:00
Corinna Vinschen
fdd1a78d07
* m68k/cf-crt1.c (hardware_init_hook): Accommodate new family
...
__mcf_family_51 since gcc 4.5.1.
2010-07-19 16:57:18 +00:00
Nick Clifton
a6076c2cdc
* xstormy16/eva_app.ld (.gcc_except_table): Include sections with
...
the .gcc_except_table. prefix.
* xstormy16/eva_stub.ld: Likewise.
* xstormy16/sim_high.ld: Likewise.
* xstormy16/sim_low.ld: Likewise.
2010-06-29 09:39:30 +00:00
Corinna Vinschen
6a0cef6012
* rs6000/Makefile.in: Remove xil-exit.o.
2010-05-03 15:15:53 +00:00
Jeff Johnston
ab608bc732
2010-02-08 Conny Marco Menebrocker <c-m-m@gmx.de>
...
* xc16x/xc16x.mt: New file.
* xc16x/configure.in: Add target_makefile_frag reference.
* xc16x/configure: Regenerated.
2010-02-08 20:12:00 +00:00
Jeff Johnston
b292054cac
2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
...
* mn10300/Makefile.in: Add mkdir call to make installation
directory when installing.
2009-12-17 21:48:49 +00:00
Jeff Johnston
6bd43918eb
2009-12-16 Conny Marco Menebrocker <c-m-m@gmx.de>
...
* xc16x/Makefile.in: Remove extraneous stuff
brought in by copy.
* xc16x/configure.in: Ditto.
* xc16x/configure: Regenerated.
2009-12-16 20:00:55 +00:00
Jeff Johnston
cfc4fc9deb
Fix reference to putchar.o and puts.o which were moved to newlib as part of
...
initial check-in.
2009-12-10 17:22:11 +00:00
Jeff Johnston
e6291536c7
2009-12-10 Conny Marco Menebrocker <c-m-m@gmx.de>
...
* configure.in: Add xc16x support.
* configure: Regenerated.
* xc16x/Makefile.in: New file for xc16x port.
* xc16x/aclocal.m4: Ditto.
* xc16x/close.S: Ditto.
* xc16x/configure: Ditto.
* xc16x/configure.in: Ditto.
* xc16x/create.c: Ditto.
* xc16x/crt0.S: Ditto.
* xc16x/fstat.S: Ditto.
* xc16x/getchar1.c: Ditto.
* xc16x/isatty.c: Ditto.
* xc16x/lseek.c: Ditto.
* xc16x/mem-layout.c: Ditto.
* xc16x/misc.c: Ditto.
* xc16x/open.c: Ditto.
* xc16x/read.c: Ditto.
* xc16x/sbrk.c: Ditto.
* xc16x/syscalls.c: Ditto.
* xc16x/trap_handle.c: Ditto.
* xc16x/write.c: Ditto.
* xc16x/sys/syscall.h: Ditto.
2009-12-10 17:07:04 +00:00
DJ Delorie
b2225216e9
* rx/rx.ld: Place .sbss properly.
...
* rx/rx-sim.ld: Likewise.
2009-11-25 20:20:25 +00:00
Nick Clifton
fd6942ab42
newlib:
...
* configure.host: Add support for RX architecture.
* libc/include/machine/ieeefp.h: Likewise.
* libc/include/machine/setjmp.h: Likewise.
* libc/include/machine/configure.in: Likewise.
* libc/include/machine/configure: Regenerate.
* libc/machine/rx: New directory.
* libc/machine/rx/*: New files to support RX architecture.
libgloss:
* configure.in: Add support for RX sub-directory.
* configure: Regenerate.
* rx: New directory.
* rx/*: New files to support RX architecture.
2009-10-26 10:05:23 +00:00
Nick Clifton
f7e0cae24b
* arm/linux-syscalls0.S (SYSCALL0, SYSCALL3, SYSCALL6, SYSCALL4):
...
Delete Thumb definitions - the ARM versions work correctly in
Thumb mode.
2009-10-26 10:00:41 +00:00
Jeff Johnston
b1da4d8277
2009-10-08 Jie Zhang <jie.zhang@analog.com>
...
* bfin/Makefile.in (basiccrt.o, basiccrts.o): Use
-mcpu=bf532-any for the default multilib.
2009-10-08 16:35:34 +00:00
Jeff Johnston
c38ed7c697
2009-09-28 Michael Eager <eager@eagercon.com>
...
* configure.in: Add microblaze-*-*.
* configure: Add microblaze-*-* (not regenerated.)
* microblaze: NEW microblaze target directory.
* microblaze/configure.in: NEW.
* microblaze/configure: Generate.
* microblaze/Makefile.in: NEW.
* microblaze/{crt0.S, crt1.S, crt2.S, crt3.S, crt4.S, crtinit.S}: NEW.
* microblaze/{pgcrtinit.S, _program_clean.S, _program_init.S,
sbrk.c, sim-crtinit.S, sim-pgcrtinit.S, timer.c, _exception_handler.S,
_hw_exception_handler.S, _interrupt_handler.S, xil_malloc.c,
nnxil_printf.c, xil_sbrk.c: NEW.
* microblaze/xilinx.ld: NEW.
2009-09-28 16:43:57 +00:00
Jeff Johnston
07ad8d11ca
2009-09-21 Ken Werner <ken.werner@de.ibm.com>
...
* spu/getpagesize.c: Align getpagesize implementation to POSIX
2009-09-21 16:07:34 +00:00
Jeff Johnston
4834826e92
2009-09-16 Mike Frysinger <michael.frysinger@analog.com>
...
* 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 16:08:27 +00:00
Jeff Johnston
5e0fdf685b
2009-09-16 Mike Frysinger <michael.frysinger@analog.com>
...
* 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 15:59:40 +00:00
Jeff Johnston
38254ca29a
2009-09-16 Jie Zhang <jie.zhang@analog.com>
...
* bfin/*.ld: Fix typos in comments.
2009-09-16 15:56:58 +00:00
Jeff Johnston
899b4718a2
2009-09-08 Bernd Schmidt <bernd.schmidt@analog.com>
...
* bfin/include/ccblkfn.h: New file.
2009-09-08 21:22:06 +00:00
Jeff Johnston
580295f6a8
2009-09-08 Mike Frysinger <michael.frysinger@analog.com>
...
* bfin/include/sys/_adi_platform.h: Convert __ASSEMBLY__ to
__ASSEMBLER__.
* bfin/include/sys/pll.h: Likewise
2009-09-08 21:20:12 +00:00
Jeff Johnston
18384f4fdf
2009-09-08 Jie Zhang <jie.zhang@analog.com>
...
* bfin/Makefile.in (basiccrt.o, basiccrts.o): Don't use
-mcpu=bf532-any for the default multilib.
2009-09-08 21:17:58 +00:00
DJ Delorie
7a92f0348c
* mep/gmap_default.ld: Add linkonce sections for .vtext.
...
* mep/default.ld: Likewise.
* mep/fmax.ld: Likewise.
* mep/simple.ld: Likewise.
2009-07-29 00:57:57 +00:00
DJ Delorie
5aa96db905
* mep/syscalls.S (sysret): Maintain 16-byte stack alignment.
2009-07-14 20:15:32 +00:00
DJ Delorie
fe589604cb
* m32c/sbrk.c (sbrk): Change to take ptrdiff_t, not int.
2009-07-08 20:54:19 +00:00
Anthony Green
265b5faec7
* moxie/crt0.S (_start): Clear BSS at startup. Register _fini()
...
with atexit().
* moxie/sim-open.S: Fix comment.
2009-07-01 11:45:49 +00:00
Jeff Johnston
a8481dca71
2009-06-19 Joseph Myers <joseph@codesourcery.com>
...
* Makefile.in (html, pdf): New.
* doc/Makefile.in (html, pdf, porting.pdf, porting.html): New.
* doc/porting.texi: Fix section structure.
2009-06-19 18:18:01 +00:00
Jeff Johnston
de8c9afd7a
2009-06-17 Michael Eager <eager@eagercon.com>
...
* rs6000/Makefile.in: Add xilinx support.
* rs6000/xil-crt0.s: New crt0 file for powerpc-xilinx-eabi.
* rs6000/xilinx.ld: New file.
* rs6000/xilinx440.ld: Ditto.
2009-06-17 16:38:22 +00:00
Jeff Johnston
9708e8cde2
2009-05-13 Ken Werner <ken.werner@de.ibm.com>
...
* configure.in: Introduce config_libnosys flag which defaults to true.
* configure: Regenerate.
2009-05-13 21:38:25 +00:00
Jeff Johnston
0d1c7d281c
2009-05-13 Ulrich Weigand <uweigand@de.ibm.com>
...
* spu/crtn.S: Add dummy to ensure nothing gets linked at address 0.
* spu/crti.S: Remove nop.
2009-05-13 21:31:06 +00:00
Nick Clifton
797c4b998f
* mn10300/sim.ld: Add missing section names such as .bss.*
...
.text.*, etc. General tidy up.
2009-05-08 09:59:56 +00:00
Jeff Johnston
debb2e3e77
2009-05-07 Ken Werner <ken.werner@de.ibm.com>
...
* spu/configure.in: Fix multilib support.
* spu/configure: Regenerate.
* spu/Makefile.in: Add CFLAGS_FOR_TARGET.
2009-05-07 18:07:35 +00:00
Anthony Green
2585eb1832
Add self to MAINTAINERS file. Tweak moxie stack position.
2009-05-01 02:53:25 +00:00
Jeff Johnston
bc6b90cc10
2009-04-22 Anthony Green <green@moxielogic.com>
...
* configure.in: Add moxie support.
* configure: Regenerate.
* moxie/aclocal.m4, moxie/configure, moxie/configure.in,
moxie/crt0.S, moxie/fstat.c, moxie/getpid.c, isatty.c,
moxie/kill.c, moxie/Makefile.in, moxie/moxie-elf-common.ld,
moxie/print.c, moxie/putnum.c, moxie/qemu.ld, moxie/qemu-time.c,
moxie/qemu-write.c, moxie/sbrk.c, moxie/sim-close.S,
moxie/sim-exit.S,
moxie/sim-inbyte.c, moxie/sim.ld, moxie/sim-lseek.c,
moxie/sim-lseek.S, moxie/sim-open.S, moxie/sim-read.S, moxie/sim-time.c,
moxie/sim-unlink.S, moxie/sim-write.S, moxie/stat.c: New files.
2009-04-22 19:48:07 +00:00
DJ Delorie
819e574474
* mep/sim-crt0.S (_start): Fix typo.
2009-04-22 18:57:37 +00:00
DJ Delorie
6e9c1e8dd5
* mep/Makefile.in (SCRIPTS): Update to new config.
...
* mep/default.ld: New.
* mep/gmap_default.ld: Change default endian to little.
* mep/sim-crt0.S: Maintain 8-byte stack alignment.
* mep/sim-crtn.S: Likewise.
2009-04-21 18:13:32 +00:00
Jeff Johnston
d65c75640e
2009-04-03 Ken Werner <ken.werner@de.ibm.com>
...
* spu/Makefile.in: Add new files.
* spu/times.c: New File.
* spu/getitimer.c: Likewise.
* spu/setitimer.c: Likewise.
2009-04-03 22:37:40 +00:00
Jeff Johnston
c07101aba1
2009-04-03 Ken Werner <ken.werner@de.ibm.com>
...
* spu/Makefile.in: Add linux_getpid.o and linux_gettid.o.
* spu/linux_getpid.c: New file.
* spu/linux_getpid.c: New file.
2009-04-03 22:32:28 +00:00
Jeff Johnston
051f7595ff
2009-04-03 Ken Werner <ken.werner@de.ibm.com>
...
* spu/crt0.S (_start): Place spu_id in the first agument register.
2009-04-03 22:27:31 +00:00
Jeff Johnston
8213c3f8e3
2009-03-16 Jeff Johnston <jjohnstn@redhat.com>
...
* m32r/m32r-stub.c: Replace with one from newer version of gdb.
2009-03-16 19:26:59 +00:00
Ben Elliston
313f76f322
Typo fixes.
2009-01-08 00:21:03 +00:00
Jeff Johnston
b821b6b557
2009-01-07 Ben Elliston <bje@au.ibm.com>
...
* Makefile.in (all): Add `+' to the command line so that the
command is always treated as $(MAKE).
* doc/Makefile.in (datarootdir): Define.
2009-01-07 22:10:29 +00:00
Jeff Johnston
d78a82f939
2008-12-17 Jon Beniston <jon@beniston.com>
...
* 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-17 23:08:09 +00:00
Jeff Johnston
2549caeff1
2008-12-11 Ken Werner <ken.werner@de.ibm.com
...
* spu/crt0.S: Call __monstartup if profiling is enabled.
* spu/Makefile.in: Add gcrt1.o gcrt2.o.
2008-12-11 12:46:36 +00:00
Adam Nemet
448832a927
* mips/idt32.ld: Set arch to mips:isa32r2 from mips:isa32. Update
...
comment.
2008-12-06 16:29:01 +00:00
Adam Nemet
8f2a0718d2
* mips/idt64.ld: Set arch to mips:isa64r2 from mips:isa64. Update
...
comment.
2008-12-05 19:51:33 +00:00
Jeff Johnston
01eb6cd6d9
2008-11-20 Ken Werner <ken.werner@de.ibm.com>
...
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-20 20:12:34 +00:00
Jeff Johnston
28a65fe538
2008-11-17 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-11-17 21:58:28 +00:00
Jeff Johnston
455e95b5bd
2008-10-06 Bill Tompkins <bill+newlib@key-square.com>
...
* arm/crt0.S: Fix calling hardware_init_hook() or software_init_hook()
under thumb and thumb2.
2008-10-06 20:55:19 +00:00
DJ Delorie
5025fc547d
* m32c/varvects.S: New.
...
* 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-24 23:29:38 +00:00
Jeff Johnston
9ecc83a3f7
2008-09-10 Ken Werner <ken.werner@de.ibm.com>
...
* spu/dirfuncs.c: Avoid warnings.
* spu/kill.c: Likewise.
2008-09-11 00:30:32 +00:00
Jeff Johnston
2c4143f401
2008-09-04 Ken Werner <ken.werner@de.ibm.com>
...
* spu/Makefile.in: Fix missing linux_syscalls.o.
* spu/linux_syscalls.c: Remove extraneous "3D" sequences.
2008-09-04 20:26:18 +00:00
Jeff Johnston
84132c9d9f
2008-08-14 Jie Zhang <jie.zhang@analog.com>
...
* 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-08-14 22:00:47 +00:00
Jeff Johnston
7f48e8a8b3
2008-07-17 Ken Werner <ken.werner@de.ibm.com>
...
* spu/syscalls.c: Check and set the errno value.
2008-07-17 19:04:26 +00:00
Jeff Johnston
52ff05126a
2008-06-17 Ken Werner <ken.werner@de.ibm.com>
...
* spu/Makefile.in: Add new file.
* spu/linux_syscalls.c: New file to add Linux syscall support.
2008-06-17 17:26:54 +00:00
Jeff Johnston
8ddb4e477e
2008-06-16 Corrin Meyer <cjmeyer@gmail.com>
...
* m68k/cf-crt1.c[__mcf_family_m1qe]: Don't access CACR.
2008-06-16 18:42:40 +00:00
Nick Clifton
cb1f8161c1
* libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).
...
* iq2000/crt0.S (__dso_handle): Define (weak).
* frv/crt0.S (__dso_handle): Define (weak).
* mn10300/crt0.S (___dso_handle): Define (weak).
2008-05-21 07:44:32 +00:00
Jeff Johnston
6c31adf67e
2008-05-05 Ken Werner <ken.werner@de.ibm.com>
...
* spu/readlink.c: Align readlink implementation to POSIX.
2008-05-05 22:43:47 +00:00
Nick Clifton
026f9d290f
* libc/machine/arm/setjmp.S: Fix thumb2 support.
...
* arm/crt0.S: Allow assembly under ARMv7 ISA. Support for
initializing stack pointers for interrupt modes is still pending.
2008-04-25 09:02:40 +00:00
Jeff Johnston
8fcb67cf0b
2008-04-14 Patrick Mansfield <patmans@us.ibm.com>
...
* spu/sbrk.c: Remove "extern int errno", use whatever is supplied
by sys/errno.h.
2008-04-15 19:59:18 +00:00
DJ Delorie
6f810581fb
[newlib]
...
* 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-04-04 21:52:01 +00:00
DJ Delorie
978e84cf60
* m32c/exit.S (__exit): preserve both argument registers.
2008-01-11 02:21:44 +00:00
Jeff Johnston
277723722f
2008-01-03 Jeff Johnston <jjohnstn@redhat.com>
...
* 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.
2008-01-03 22:38:31 +00:00
Hans-Peter Nilsson
911cc0c9f6
* cris/Makefile.in (crt0.o): Add CFLAGS when compiling crt0.S.
2007-12-01 13:14:07 +00:00
Jeff Johnston
c8853ef701
2007-11-06 Dave Brolley <brolley@redhat.com>
...
* syscall.h (SYS_reconfig): New macro.
2007-11-06 23:07:06 +00:00
Jeff Johnston
799356ac2a
2007-10-11 Ulrich Weigand <uweigand@de.ibm.com>
...
* spu/crt0.S: Fix so element one of register one is correctly set
when compiled with -mstdmain and -fstack-check.
2007-10-11 20:25:36 +00:00
Jeff Johnston
56398dd5d7
2007-10-02 Markus Deuling <deuling@de.ibm.com>
...
* spu/crt0.S: Initialize __ea_local_store (EA address of the LS)
via register 6.
2007-10-02 18:59:58 +00:00
Jeff Johnston
bd6f74fda8
2007-10-01 Markus Deuling <deuling@de.ibm.com>
...
* spu/Makefile.in: add dependencies for crt files.
2007-10-01 18:42:51 +00:00
Jeff Johnston
eae493d8a8
2007-10-01 Patrick Mansfield <patmans@us.ibm.com>
...
* 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-10-01 18:22:50 +00:00
Ben Elliston
d2e4a94282
* spu/sched_yield.c: New file (missed on 2007-09-21).
2007-09-26 04:16:04 +00:00
Jeff Johnston
9594d5c342
2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
...
* 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-21 21:14:41 +00:00
Jeff Johnston
e234ad1828
2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
...
* 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-21 21:06:58 +00:00
Jeff Johnston
12df0c42e9
2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
...
* 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-21 20:45:17 +00:00
Jeff Johnston
79978d2076
2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
...
* 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-09-21 20:40:52 +00:00
Jeff Johnston
a9a6f94229
2007-08-13 Carlos O'Donell <carlos@codesourcery.com>
...
* arm/crt0.S: Remove '.set' for __stack, hardware_init_hook,
and software_init_hook.
2007-08-13 18:13:39 +00:00
Jeff Johnston
847e89f8e1
2007-08-10 Carlos O'Donell <carlos@codesourcery.com>
...
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-08-10 19:36:46 +00:00
Kevin Buettner
73d309ce3e
* mep/fmax.ld, mep/gmap_default.ld, mep/min.ld, mep/simple.ld
...
(.gcc_except_table): Add pattern for .gcc_except_table.*.
2007-07-13 17:32:21 +00:00
Jeff Johnston
de229adb1a
2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-07-06 17:00:13 +00:00