summaryrefslogtreecommitdiffstats
path: root/libgloss
Commit message (Collapse)AuthorAgeFilesLines
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-212-0/+6
| | | | * nds32/_sbrk.S: Add .size and .type directive.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-213-38/+55
| | | | | * nds32/crt0.S: Tweak initialization sqeuence. * nds32/crt1.S: Ditto.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-2126-46/+329
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * nds32/_argv.S: Replace syscall with break. * nds32/_argvlen.S: Ditto. * nds32/_chdir.S: Ditto. * nds32/_chmod.S: Ditto. * nds32/_close.S: Ditto. * nds32/_exit.S: Ditto. * nds32/_fstat.S: Ditto. * nds32/_getpid.S: Ditto. * nds32/_gettimeofday.S: Ditto. * nds32/_isatty.S: Ditto. * nds32/_kill.S: Ditto. * nds32/_link.S: Ditto. * nds32/_lseek.S: Ditto. * nds32/_open.S: Ditto. * nds32/_read.S: Ditto. * nds32/_rename.S: Ditto. * nds32/_stat.S: Ditto. * nds32/_system.S: Ditto. * nds32/_time.S: Ditto. * nds32/_times.S: Ditto. * nds32/_unlink.S: Ditto. * nds32/_utime.S: Ditto. * nds32/_write.S: Ditto. * nds32/syscall_error_handler.S: Ditto. * nds32/vh.h: New.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-213-0/+27
| | | | | * nds32/crt0.S: Initialize ITB base. * nds32/crt1.S: Ditto.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-2126-30/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * nds32/Makefile.in: Alter filename. * nds32/syscall_argv.S: Rename to _argv.S * nds32/syscall_argvlen.S: Rename to _argvlen.S * nds32/syscall_chdir.S: Rename to _chdir.S * nds32/syscall_chmod.S: Rename to _chmod.S * nds32/syscall_close.S: Rename to _close.S * nds32/syscall_exit.S: Rename to _exit.S * nds32/syscall_fstat.S: Rename to _fstat.S * nds32/syscall_getpid.S: Rename to _getpid.S * nds32/syscall_gettimeofday.S: Rename to _gettimeofday.S * nds32/syscall_isatty.S: Rename to _isatty.S * nds32/syscall_kill.S: Rename to _kill.S * nds32/syscall_link.S: Rename to _link.S * nds32/syscall_lseek.S: Rename to _lseek.S * nds32/syscall_open.S: Rename to _open.S * nds32/syscall_read.S: Rename to _read.S * nds32/syscall_rename.S: Rename to _rename.S * nds32/syscall_sbrk.S: Rename to _sbrk.S * nds32/syscall_stat.S: Rename to _stat.S * nds32/syscall_system.S: Rename to _system.S * nds32/syscall_time.S: Rename to _time.S * nds32/syscall_times.S: Rename to _times.S * nds32/syscall_unlink.S: Rename to _unlink.S * nds32/syscall_utime.S: Rename to _utime.S * nds32/syscall_write.S: Rename to _write.S
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-2125-25/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | * nds32/syscall_argv.S: Correct the method to set errno. * nds32/syscall_argvlen.S: Ditto. * nds32/syscall_chdir.S: Ditto. * nds32/syscall_chmod.S: Ditto. * nds32/syscall_close.S: Ditto. * nds32/syscall_error_handler.S: Ditto. * nds32/syscall_fstat.S: Ditto. * nds32/syscall_getpid.S: Ditto. * nds32/syscall_gettimeofday.S: Ditto. * nds32/syscall_isatty.S: Ditto. * nds32/syscall_kill.S: Ditto. * nds32/syscall_link.S: Ditto. * nds32/syscall_lseek.S: Ditto. * nds32/syscall_open.S: Ditto. * nds32/syscall_read.S: Ditto. * nds32/syscall_rename.S: Ditto. * nds32/syscall_sbrk.S: Ditto. * nds32/syscall_stat.S: Ditto. * nds32/syscall_system.S: Ditto. * nds32/syscall_time.S: Ditto. * nds32/syscall_times.S: Ditto. * nds32/syscall_unlink.S: Ditto. * nds32/syscall_utime.S: Ditto. * nds32/syscall_write.S: Ditto.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-213-8/+11
| | | | | | * nds32/crt0.S: Use pseudo-instruction "bal frame" to replace "la + jral". * nds32/crt1.S: Ditto.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-213-4/+7
| | | | | * nds32/crt0.S: Eliminate initialization for $fp. * nds32/crt1.S: Ditto.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-213-60/+53
| | | | | * nds32/crt0.S: Refine. * nds32/crt1.S: Refine.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-213-0/+18
| | | | | * nds32/crt0.S: Set argc=argv=env=0. * nds32/crt1.S: Ditto.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-214-9/+57
| | | | | | * nds32/Makefile.in: Add syscall_error_handler.o. * nds32/syscall_error_handler.S: New. * nds32/syscall_extra.h: Reduce code size.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-2124-421/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | * nds32/syscall_extra.h: Define macro. * nds32/syscall_argv.S: Use define macro. * nds32/syscall_argvlen.S: Ditto. * nds32/syscall_chdir.S: Ditto. * nds32/syscall_chmod.S: Ditto. * nds32/syscall_close.S: Ditto. * nds32/syscall_fstat.S: Ditto. * nds32/syscall_getpid.S: Ditto. * nds32/syscall_gettimeofday.S: Ditto. * nds32/syscall_isatty.S: Ditto. * nds32/syscall_kill.S: Ditto. * nds32/syscall_link.S: Ditto. * nds32/syscall_lseek.S: Ditto. * nds32/syscall_open.S: Ditto. * nds32/syscall_read.S: Ditto. * nds32/syscall_rename.S: Ditto. * nds32/syscall_stat.S: Ditto. * nds32/syscall_system.S: Ditto. * nds32/syscall_time.S: Ditto. * nds32/syscall_times.S: Ditto. * nds32/syscall_unlink.S: Ditto. * nds32/syscall_utime.S: Ditto. * nds32/syscall_write.S: Ditto.
* 2014-02-27 Joey Ye <joey.ye@arm.com>Jeff Johnston2014-03-042-10/+14
| | | | * libnosys/sbrk.c (_sbrk): Remove TWS
* 2014-02-11 Joey Ye <joey.ye@arm.com>Jeff Johnston2014-02-112-4/+9
| | | | | * arm/syscalls.c (_sbrk): Define as weak symbols. (_read, _write): Ditto.
* * aarch64/Makefile.in (RDIMON_SCRIPTS): Rule to build in-tree copiesRichard Earnshaw2014-02-032-2/+12
| | | | | | of scripts. (all): Build the in-tree copies of the scripts. (clean): Also delete the in-tree copies of the scripts.
* * msp430/Makefile.in (crt0-minrt.o, crtn-minrt.o): New. BuildDJ Delorie2014-01-307-24/+96
| | | | | | | | | | | | from crt0.S with -DMINRT. (CRT_OBJS): Expand. (crt_%.o): New rule pattern. Build multiple objects from crt0.S. * msp430/crt0.S: Further break out functionality. Support -DMINRT that omits all init/fini logic. * msp430/crtn.S: Likewise. * msp430/msp430-sim.ld: Wildcard all .crt_* sections, sorted. * msp430/msp430.ld: Likewise. * msp430/msp430xl-sim.ld: Likewise.
* * aarch64/cpu-init/rdimon-aem-el3.S (flat_map): Use bic-immediateCorinna Vinschen2014-01-282-2/+6
| | | | form to clear WXN bit.
* 2014-01-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>Jeff Johnston2014-01-242-1/+9
| | | | | * aarch64/cpu-init/rdimon-aem-el3.S (flat_map): Clear WXN bit in SCTLR_EL3. Add dsb.
* 2014-01-10 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2014-01-103-2/+8
| | | | | | * arm/configure.in: Revert previous fix and change host_makefile_frag to calculate the absolute location of srcdir/../config/default.mh. * arm/configure: Regenerated.
* 2014-01-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2014-01-073-1323/+1436
| | | | | * arm/configure.in: Fix host_makefile_frag to use ac_abs_srcdir. * arm/configure: Regenerated.
* 2013-12-04 Steve Ellcey <sellcey@mips.com>Steve Ellcey2013-12-042-0/+5
| | | | * mips/cfe_api.h: Include stdint.h.
* 2013-11-21 Daniel Ramirez <javamonn@gmail.com>Joel Sherrill2013-11-216-5/+10
| | | | | * d30v/syscalls.c, i960/mon960.c, m68k/io-stat.c, mt/stat.c, spu/lstat.c, spu/stat.c: Add restrict keyword.
* [AArch64] Set errno in ftruncate() and truncate().Marcus Shawcroft2013-11-213-0/+11
|
* [ARM] set errno in ftruncate and truncate stubs.Marcus Shawcroft2013-11-213-0/+11
|
* [AArch64] Provide ftruncate() and truncate() stubs.Marcus Shawcroft2013-11-183-2/+72
|
* [ARM] Provide ftruncate() and truncate() stubs.Marcus Shawcroft2013-11-184-1/+78
|
* 2013-10-14 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>Richard Earnshaw2013-10-144-8/+33
| | | | | | * arm/cpu-init/rdimon-aem.S: Disable for M class cores. * arm/crt0.S: Don't call _rdimon_hw_init_hook for non-A class cores. * arm/cpu-init/Makefile.in (CPU_INIT_OBJS): Use CFLAGS.
* 2013-09-30 Steve Ellcey <sellcey@mips.com>Jeff Johnston2013-09-302-1/+6
| | | | * mips/Makefile.in (install): Add mkdir, fix install command.
* [ARM] Add SPECS file for ARM validation model.Marcus Shawcroft2013-09-273-1/+28
|
* 2013-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>Richard Earnshaw2013-09-208-2/+712
| | | | | | | | | | | | | | | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> Greta Yorsh <greta.yorsh@arm.com> * arm/Makefile.in: Add support for cpu-init directory and add elf-aprofile-ve.specs. * arm/configure.in: Likewise. * arm/configure: Regenerate. * arm/cpu-init: New directory. * arm/cpu-init/Makefile.in: New file. * arm/cpu-init/rdimon-aem.S: Likewise. * arm/crt0.S: Call _rdimon_init_hook * arm/elf-aprofile-ve.specs: New file.
* * msp430/Makefile.in (SCRIPTS): Add intr_vectors.ld.Nick Clifton2013-09-1810-40/+318
| | | | | | | | | | | | | | | | | | (LIB_CRT): New. (CRT_OBJS): New. (all): Add dependency upon LIB_CRT. (install): Likewise. * msp430/msp430-sim.ld: Include intr_vectors.ld. KEEP crt code, lowtext code and tm_clone_table. Separate the noinit section from the .bss section. Allow for extended .debug_line sections. * msp430/msp430.ld: Likewise. * msp430/msp430F5438A-l.ld: Likewise. * msp430/msp430F5438A-s.ld: Likewise. * msp430/msp430xl-sim.ld: Likewise . * msp430/crt_movedata.S: New. * msp430/crt_bss.S: New. * msp430/intr_vectors.ld: New.
* 2013-09-17 Joey Ye <joey.ye@arm.com>Jeff Johnston2013-09-173-1/+15
| | | | | * libnosys/Makefile.in: Install nosys.specs. * libnosys/nosys.specs: New specs.
* Fix spaceCorinna Vinschen2013-08-121-1/+1
|
* * aarch64/crt0.S: Remove 'start'.Corinna Vinschen2013-08-124-3/+5
| | | | | * arm/crt0.S: Ditto. * arm/redboot-crt0.S: Ditto.
* 2013-07-24 Steve Ellcey <sellcey@mips.com>Steve Ellcey2013-07-242-0/+8
| | | | * mips/idtmon.S (unlink, lseek, stat): Add new functions.
* * microblaze/_exception_handler.S: Adjust to be weak.Corinna Vinschen2013-07-2311-5/+360
| | | | | | | | | | | | * microblaze/Makefile.in: Add LINUX_BSP. * microblaze/elf-gloss-linux.ld: New file. * microblaze/elf-gloss-linux.specs: Likewise. * microblaze/linux-crt0.S: Likewise. * microblaze/linux-inbyte.c: Likewise. * microblaze/linux-outbyte.c: Likewise. * microblaze/linux-syscalls-wrap.c: Likewise. * microblaze/linux-syscalls.S: Likewise. * microblaze/linux-syscalls.h: Likewise.
* * lm32/configure: Regenerate.Yaakov Selkowitz2013-07-174-4629/+6780
| | | | | * moxie/configure: Ditto. * spu/configure: Ditto.
* * microblaze/Makefile.in: Add GENOBJS and target_makefile_frag.Corinna Vinschen2013-07-165-1733/+1529
| | | | | | * microblaze/configure.in: Add target_makefile_frag. * microblaze/configure: Regenerate. * microblaze/xil_printf.c: Add new file.
* * configure.host: Change to microblaze*.Corinna Vinschen2013-07-164-4/+8
| | | | | | | | | | | | * libc/include/machine/ieeefp.h: Add __MICROBLAZEEL__. * libc/machine/microblaze/mb_endian.h: New file. * newlib/libc/machine/microblaze/strcmp.c: Add little endian support. * newlib/libc/machine/microblaze/strcpy.c: Likewise. * newlib/libc/machine/microblaze/strlen.c: Likewise. * configure.in: Change to microblaze*. * configure: Regenerate. * microblaze/xilinx.ld: Remove OUTPUT_FORMAT.
* [AArch64] Ensure vector table is page aligned.Marcus Shawcroft2013-07-122-2/+5
| | | | | | 2013-07-12 Marcus Shawcroft <marcus.shawcroft@arm.com> * aarch64/cpu-init/rdimon-aem-el3.S (vectors): Page align.
* 2013-07-09 Sabrina Ni <sabrina@andestech.com>Jeff Johnston2013-07-0934-0/+6114
| | | | | | | | | | | | | | | | | * configure.in: Add nds32 subdir. * configure: Regenerated. * nds32/configure.in: New. * nds32/configure: New (autogenerated). * nds32/{crt0.S,crt1.S}: New. * nds32/Makefile.in: New. * nds32/{syscall_argvlen.S,syscall_argv.S, syscall_chdirS, syscall_chmod.S, syscall_close.S,syscall_exit.S,syscall_extra.h, syscall_fstat.S, syscall_getpid.S,syscall_gettimeofday.S,syscall_isatty.S,syscall_kill.S, syscall_link.S,syscall_lseek.S,syscall_open.S,syscall_read.S, syscall_rename.S,syscall_sbrk.S,syscall_stat.S,syscall_system.S, syscall_time.S,syscall_times.S,syscall_unlink.S,syscall_utime.S, syscall_write.S}: New.
* * aarch64/syscalls.c (stack_ptr): Defined with asm ("wsp") if __ILP32__Corinna Vinschen2013-07-042-0/+9
| | | | is defined.
* 2013-07-02 Joey Ye <joey.ye@arm.com>Jeff Johnston2013-07-022-1/+22
| | | | | * arm/crt0.S (_mainCRTStartup): Weak reference to atexit and _fini when lite exit is enabled.
* * aarch64/syscalls.c (POINTER_TO_PARAM_BLOCK_T): New macro.Corinna Vinschen2013-06-282-10/+26
| | | | | | | | | | | (initialise_monitor_handles): Replace cast with macro POINTER_TO_PARAM_BLOCK_T. (_swiread): Likewise. (_swiwrite): Likewise. (_swiopen): Likewise. (_unlink): Likewise. (_system): Likewise. (_rename): Likewise.
* * aarch64/crt0.S (GEN_DWORD): New macro definition.Corinna Vinschen2013-06-252-17/+92
| | | | | | | | | | | | | | | | (PTR_REG): Ditto. (PTR_SIZE): Ditto. (PTR_LOG_SIZE): Ditto. (start): Use GEN_DWORD to replace the .dword of HeapBase, __bss_start__, __bss_end__, FUNCTION(_fini), env and CommandLine; when __ILP32__ is defined, set the stack base to the top end of the 32-bit address space if the returned value from the Angel API call is larger than or equal to 4 GiB. Also carry out sanity check on the heap base; abort if the base is larger than or equal to 4 GiB. Use other new macros in the instructions that processes the argv arrays. (StackBase): New lable; replace __stack_base__. (__stack_base__): Set with StackBase or StackBase + 4.
* 2013-05-30 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2013-05-303-1/+47
| | | | | | * rs6000/Makefile.in: Add sim-times support. This file has been moved from newlib/libc/machine/powerpc and renamed. * rs6000/sim-times.c: New file.
* [newlib]DJ Delorie2013-05-1321-0/+5518
| | | | | | | | | | | | | | | * configure.host (msp430): Add. * libc/include/machine/ieeefp.h: Add MSP430 support. * libc/include/machine/setjmp.h: Likewise. * libc/include/sys/config.h: Likewise. * libc/machine/configure.in (msp430): Add. * libc/machine/configure: Regenerate. * libc/machine/msp430: New directory. [libgloss] * configure.in (msp430*-*-elf): Add. * configure: Regenerate. * msp430: New directory.
* 2013-04-19 Steve Ellcey <sellcey@imgtec.com>Steve Ellcey2013-04-192-7/+9
| | | | | | | | | * mips/cfe_api.h (int64_t): Remove define. (uint64_t): Remove define. (intptr_t): Remove define. (uintptr_t): Remove define. (sys/types.h): Remove include. (_ansi.h): Remove include.
* [AArch64] Honour CFLAGS.Marcus Shawcroft2013-04-193-7/+16
| | | | | | | | | | 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com> * aarch64/Makefile.in (rdimon-crt0.o, rdimon-trap.o) (rdimon-_exit.o, rdimon-_kill.o, rdimon-syscalls.o) (rdimon-libcfunc.o): Add $(CFLAGS) to the compiler command line. * aarch64/cpu-init/Makefile.in (${CPU_INIT_OBJS}): Add $(CFLAGS) to the compiler command line.
* Fix wrongly applied patchCorinna Vinschen2013-02-121-1/+1
|