DJ Delorie
13ab44c05b
* libc/sys/sysnecv850/sbrk.c (_sbrk): Change heap_start to be an
...
array of undefined size, to avoid problems when compiled with
-msda=4.
* v850/sbrk.c (_sbrk): Change heap_start to be an array of
undefined size, to avoid problems when compiled with -msda=4.
2012-10-02 22:55:10 +00:00
Jeff Johnston
cdf81c0c4c
2012-09-26 Ian Bolton <ian.bolton@arm.com>
...
Jim MacArthur <jim.macarthur@arm.com>
Marcus Shawcroft <marcus.shawcroft@arm.com>
Nigel Stephens <nigel.stephens@arm.com>
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
Richard Earnshaw <rearnsha@arm.com>
Sofiane Naci <sofiane.naci@arm.com>
Tejas Belagod <tejas.belagod@arm.com>
Yufeng Zhang <yufeng.zhang@arm.com>
* aarch64/Makefile.in: New file.
* aarch64/_exit.c: New file.
* aarch64/_kill.c: New file.
* aarch64/aclocal.m4: Generated.
* aarch64/configure: Generated.
* aarch64/configure.in: New file.
* aarch64/cpu-init/Makefile.in: New file.
* aarch64/cpu-init/rdimon-aem-el3.S: New file.
* aarch64/crt0.S: New file.
* aarch64/elf-rdimon.specs: New file.
* aarch64/libcfunc.c: New file.
* aarch64/svc.h: New file.
* aarch64/syscalls.c: New file.
* configure.in: Add AArch64.
* configure: Re-generated.
2012-09-26 20:11:54 +00:00
Anthony Green
af32eb5e28
bi-endian support for moxie.
2012-09-13 23:57:33 +00:00
DJ Delorie
44c61e4a63
* rx/rx.ld: Add W_* sections to .rodata.
...
* rx/rx-sim.ld: Likewise.
2012-08-30 21:08:14 +00:00
Michael Frysinger
6f0e9c73f1
libgloss: cr16: add custom syscall list
2012-08-30 07:04:42 +00:00
Corinna Vinschen
03cd7bbbb1
* arm/redboot-crt0.S (__change_mode): Replace mov with movs.
2012-05-02 08:09:45 +00:00
Michael Frysinger
cff00a2038
libgloss: cris: respect DESTDIR when installing
2012-03-24 03:38:28 +00:00
Michael Frysinger
5fd4464077
libgloss: libnosys: use @host_makefile_frag@
...
Rather than inlining the generated rules, use @host_makefile_frag@ instead.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-03-13 01:52:31 +00:00
Michael Frysinger
f408b153cc
libgloss: change 'q' flag to 'r' in ar call
...
The GNU ar has "q" aliased to "r", and we generally want this behavior anyways
(replacing rather than always appending), so change our AR_FLAGS definition.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-03-13 01:47:40 +00:00
Jeff Johnston
543c24fcdf
2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
...
* epiphany/access.c: Add modification rights to clause as
permitted by DJ Delorie.
* iq2000/access.c: Ditto.
* mn10200/access.c: Ditto.
* mn10300/access.c: Ditto.
* mt/access.c: Ditto.
* v850/access.c: Ditto.
2012-03-09 20:28:57 +00:00
Nick Clifton
2e398e8437
* configure.in: Accept "arm*" target spec instead of just "arm".
...
* configure: Regenerated.
* libnosys/configure.in: Likewise.
(libc_symbol_prefix): Renamed to libc_cv_symbol_prefix.
* libnosys/configure: Regenerated (using autoconf v2.68).
2012-03-02 13:20:08 +00:00
Jeff Johnston
b07cfbff06
2012-02-21 Jeremy Bennett <jeremy.bennett@embecosm.com>
...
Alan Lehotsky <apl@alum.mit.edu>
Joern Rennecke <joern.rennecke@embecosm.com>
* configure.in: Add Epiphany support.
* configure: Regenerate.
* epiphany: New directory.
* libgloss/README: Add Epiphany entry.
2012-02-21 22:37:47 +00:00
Michael Frysinger
f171a1e0a6
libgloss: bfin: add a better default _exit
2012-01-24 04:41:10 +00:00
Corinna Vinschen
c3a549f687
* arm/linux-crt0.c: Use ldr instead of adr to get address of
...
_start_thumb.
2012-01-17 10:03:40 +00:00
Michael Frysinger
6e6193cd23
libgloss: bfin: add clear_cache_range support (for gcc)
2011-12-18 18:41:20 +00:00
Jeff Johnston
8e0346d137
2011-12-15 Konrad Eisele <konrad@gaisler.com>
...
* configure.in: Add SPARC LEON support.
* configure: Regenerated.
* sparc_leon/asm-leon/amba.h, sparc_leon/asm-leon/asmmacro.h,
sparc_leon/asm-leon/clock.h, sparc_leon/asm-leon/contextswitch.h,
sparc_leon/asm-leon/elfmacro.h, sparc_leon/asm-leon/head.h,
sparc_leon/asm-leon/irq.h, sparc_leon/asm-leon/jiffies.h,
sparc_leon/asm-leon/lambapp.h, sparc_leon/asm-leon/lambapp_devs.h,
sparc_leon/asm-leon/leon.h, sparc_leon/asm-leon/leon3.h,
sparc_leon/asm-leon/leonbare_debug.h, sparc_leon/asm-leon/leonbare_kernel.h,
sparc_leon/asm-leon/leonbare_kernel_queue.h, sparc_leon/asm-leon/leoncompat.h,
sparc_leon/asm-leon/leondbg.h, sparc_leon/asm-leon/leonstack.h,
sparc_leon/asm-leon/liblocks.h, sparc_leon/asm-leon/linkage.h,
sparc_leon/asm-leon/param.h, sparc_leon/asm-leon/queue.h,
sparc_leon/asm-leon/spinlock.h, sparc_leon/asm-leon/stack.h,
sparc_leon/asm-leon/time.h, sparc_leon/asm-leon/timer.h,
sparc_leon/asm-leon/types.h, sparc_leon/asm-leon/winmacros.h:
New file.
* sparc_leon/Makefile.in, sparc_leon/_exit.c,
sparc_leon/amba.c, sparc_leon/amba_dbg.c,
sparc_leon/amba_driver.c, sparc_leon/amba_scan.c,
sparc_leon/asm-leon, sparc_leon/bdinit.S,
sparc_leon/busscan.S, sparc_leon/cacheA.S,
sparc_leon/catch_interrupt.c, sparc_leon/catch_interrupt_mvt.c,
sparc_leon/catch_interrupt_pending.c, sparc_leon/catch_interrupt_svt.c,
sparc_leon/configure.in,
sparc_leon/console.c, sparc_leon/console_dbg.c,
sparc_leon/console_init.c, sparc_leon/contextswitch.c,
sparc_leon/contextswitch_asm.S, sparc_leon/crt0.S,
sparc_leon/crti.S, sparc_leon/crtn.S,
sparc_leon/etrap.S, sparc_leon/etrap_fast.S,
sparc_leon/fpu.S, sparc_leon/gettimeofday.c,
sparc_leon/initcalls.c, sparc_leon/io.c,
sparc_leon/irqinstall.S, sparc_leon/irqtrap.S,
sparc_leon/irqtrap_fast.S, sparc_leon/jiffies.c,
sparc_leon/kernel.c, sparc_leon/kernel_context.S,
sparc_leon/kernel_debug.c, sparc_leon/kernel_debug_var.c,
sparc_leon/kernel_mm.c, sparc_leon/kernel_mutex.c,
sparc_leon/kernel_queue.c, sparc_leon/kernel_sched.c,
sparc_leon/kernel_thread.c, sparc_leon/lcpuinit.S,
sparc_leon/locore.S, sparc_leon/locore_atexit.c,
sparc_leon/locore_clean.S, sparc_leon/locore_mvt.S,
sparc_leon/locore_mvt_reset.S, sparc_leon/locore_svt.S,
sparc_leon/locore_svt_reset.S, sparc_leon/locore_svtdisp.S,
sparc_leon/locore_var.S, sparc_leon/locore_var_svt.S,
sparc_leon/mmu_asm.S, sparc_leon/mutex.c,
sparc_leon/nocache.S, sparc_leon/pnpinit.c,
sparc_leon/pnpinit_malloc.c, sparc_leon/pnpinit_simple.c,
sparc_leon/regwin.S, sparc_leon/regwin_patch.c,
sparc_leon/regwin_slow.S, sparc_leon/regwinflush.S,
sparc_leon/rtc.c, sparc_leon/rtrap.S,
sparc_leon/rtrap_fast.S, sparc_leon/stop.S,
sparc_leon/timer.c, sparc_leon/times.c:
New file
* sparc_leon/configure: Regenerate
2011-12-15 22:58:40 +00:00
Jeff Johnston
50e970d1b1
2011-12-13 Richard Earnshaw <rearnsha@arm.com>
...
Thomas Klein <th.r.klein@web.de>
* arm/crt0.S: Manually set the target architecture
when compiling for Thumb1 on EABI targets.
Avoid v6-only Thumb-1 MOV instruction.
2011-12-13 22:45:12 +00:00
DJ Delorie
d1fc77322f
[libgloss]
...
* configure.in: Add rl78.
* configure: Regenerate.
* rl78: New directory
[newlib]
* configure.host: Add rl78.
* libc/include/machine/ieeefp.h: Add rl78 support.
* libc/include/machine/setjmp.h: Add rl78 support.
* libc/machine/configure.in: Add rl78.
* libc/machine/rl78: New directory.
2011-11-29 06:33:49 +00:00
Corinna Vinschen
876a6e855a
* libnosys/Makefile.in (install): Use INSTALL_DATA.
2011-11-08 15:56:49 +00:00
Nick Clifton
fe81c303e0
* rx/crt0.S: Initialise the PID address register.
...
(__pid_base): Define weakly.
2011-10-07 10:09:22 +00:00
Nick Clifton
5b495afe51
* arm/crt0.s: Support 0 heap base response from HeapInfo syscall.
2011-09-29 11:23:29 +00:00
Nick Clifton
29deef8805
* arm/arm.h (HAVE_CALL_INDIRECT): Define.
...
* arm/crt0.S (indirect_call): New macro. Encodes indirect
function calls. Does not use blx for pre-armv5 targets.
2011-09-29 11:06:49 +00:00
Nick Clifton
4fb059e5bb
* iq2000/sim.ld (.gcc_except_table): Include .gcc_except_table.foo
...
sections as well.
2011-08-19 14:57:50 +00:00
Jeff Johnston
4ae8b410a3
Fix name in last entry.
2011-08-08 18:36:01 +00:00
Nick Clifton
415e1ecce4
* arm/crt0.S: Support armv6-m processors in libgloss.
...
* arm/swi.h: Likewise.
* arm/trap.S: Likewise.
* arm/redboot-crt0.S: Likewise.
* arm/linux-crt0.c: Likewise.
* arm/arm.h: New.
2011-07-13 15:06:21 +00:00
Michael Frysinger
1df99a60b3
libgloss: bfin: implement getpid/fstat/stat/link/unlink syscalls
...
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>
2011-07-01 21:47:36 +00:00
Michael Frysinger
ecd3577e1d
libgloss: bfin: fix sim lseek() syscall
...
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>
2011-07-01 20:55:42 +00:00
Jeff Johnston
53ffbf09d5
2011-06-29 Jeff Johnston <jjohnstn@redhat.com>
...
* arm/Makefile.in: Add $CFLAGS to compile commands for specified .o targets.
2011-06-29 15:32:09 +00:00
Michael Frysinger
4dfc786b8b
libgloss: bfin: handle result2/errcode in sim syscalls
...
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>
2011-06-22 04:18:45 +00:00
Michael Frysinger
3a81efd10e
libgloss: bfin: trim trailing whitespace
2011-06-22 03:00:44 +00:00
Joseph Myers
25fa7e5ad6
libgloss:
...
* configure.in: Don't handle strongarm, ep9312 and xscale target
names.
* configure: Regenerate.
* libnosys/configure.in: Don't handle strongarm and thumb target
names.
* libnosys/configure: Regenerate.
newlib:
* configure.host: Don't handle ep9312, strongarm, xscale and thumb
target names.
* libc/machine/configure.in: Don't handle xscale target names.
* libc/machine/configure: Regenerate.
2011-06-14 13:40:48 +00:00
Nick Clifton
747a0a5205
* v8500/sbrk.c (_sbrk): Tidy code.
...
Base start of heap on the "heap_start" symbol.
* libc/sys/sysnecv850/sbrk.c (_sbrk): Tidy code.
Base start of heap on the "heap_start" symbol.
2011-05-27 10:46:48 +00:00
Michael Frysinger
623f23351c
fix typo in previous changelog entry
2011-03-27 03:48:44 +00:00
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
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
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