Corinna Vinschen
1b580c732a
Add missing file from last patch
2014-08-15 10:52:38 +00:00
Corinna Vinschen
433de33ec2
* arm/elf-nano.specs: New file.
...
* arm/elf-rdimon.specs: Support nano.specs.
* arm/Makefile.in: Support nano.specs.
* libnosys/nosys.specs: Support nano.specs.
2014-08-14 15:00:33 +00:00
Anthony Green
ca6a65aa64
Fix typo in previous commit
2014-07-28 05:23:30 +00:00
Anthony Green
0a0f33e501
Add moxiebox support.
2014-07-27 14:37:10 +00:00
Corinna Vinschen
844557c9ed
* arm/elf-aprofile-validation.specs (*link): Make text segment
...
64k-aligned.
* arm/elf-aprofile-ve.specs (*link): Likewise.
2014-07-16 11:53:34 +00:00
Nick Clifton
179e25f0df
* msp430/Makefile.in (NOSYS_OBJS): Add unlink.o.
...
(SCRIPTS): Remove msp430F5438A-s.ld and msp430F5438A-s.ld.
* unlink.c: New file.
2014-04-30 11:30:14 +00:00
Jeff Johnston
d83d5c7d7b
2014-04-04 Ashish Kapania <akapania@ti.com>
...
* arm/configure.in: (*-*-tirtos*) Accept TIRTOS target when setting
objtype
* arm/configure: Regenerated.
2014-04-04 21:43:55 +00:00
Jeff Johnston
e669b401f7
2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
...
* nds32/_sbrk.S: Add .size and .type directive.
2014-03-21 21:17:43 +00:00
Jeff Johnston
c94fff60f1
2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
...
* nds32/crt0.S: Tweak initialization sqeuence.
* nds32/crt1.S: Ditto.
2014-03-21 21:16:40 +00:00
Jeff Johnston
23cf8028ec
2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
...
* 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 21:02:52 +00:00
Jeff Johnston
e59026e844
2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
...
* nds32/crt0.S: Initialize ITB base.
* nds32/crt1.S: Ditto.
2014-03-21 20:58:54 +00:00
Jeff Johnston
31b1f3e55f
2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
...
* 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 20:55:57 +00:00
Jeff Johnston
8194dcec36
2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
...
* 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 20:34:46 +00:00
Jeff Johnston
488d885bf3
2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
...
* nds32/crt0.S: Use pseudo-instruction "bal frame" to replace
"la + jral".
* nds32/crt1.S: Ditto.
2014-03-21 20:27:41 +00:00
Jeff Johnston
d35d103f08
2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
...
* nds32/crt0.S: Eliminate initialization for $fp.
* nds32/crt1.S: Ditto.
2014-03-21 20:26:01 +00:00
Jeff Johnston
b899f01579
2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
...
* nds32/crt0.S: Refine.
* nds32/crt1.S: Refine.
2014-03-21 20:24:04 +00:00
Jeff Johnston
5ff6903e69
2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
...
* nds32/crt0.S: Set argc=argv=env=0.
* nds32/crt1.S: Ditto.
2014-03-21 20:22:29 +00:00
Jeff Johnston
7f4230bdc8
2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
...
* nds32/Makefile.in: Add syscall_error_handler.o.
* nds32/syscall_error_handler.S: New.
* nds32/syscall_extra.h: Reduce code size.
2014-03-21 20:20:53 +00:00
Jeff Johnston
9246fbeced
2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>
...
* 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-03-21 20:16:14 +00:00
Jeff Johnston
065c7717b7
2014-02-27 Joey Ye <joey.ye@arm.com>
...
* libnosys/sbrk.c (_sbrk): Remove TWS
2014-03-04 17:39:26 +00:00
Jeff Johnston
6a7a80d83c
2014-02-11 Joey Ye <joey.ye@arm.com>
...
* arm/syscalls.c (_sbrk): Define as weak symbols.
(_read, _write): Ditto.
2014-02-11 19:55:22 +00:00
Richard Earnshaw
75d1027ccd
* aarch64/Makefile.in (RDIMON_SCRIPTS): Rule to build in-tree copies
...
of scripts.
(all): Build the in-tree copies of the scripts.
(clean): Also delete the in-tree copies of the scripts.
2014-02-03 10:30:34 +00:00
DJ Delorie
ed94d4a4aa
* msp430/Makefile.in (crt0-minrt.o, crtn-minrt.o): New. Build
...
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.
2014-01-30 02:46:34 +00:00
Corinna Vinschen
645ec39159
* aarch64/cpu-init/rdimon-aem-el3.S (flat_map): Use bic-immediate
...
form to clear WXN bit.
2014-01-28 11:16:19 +00:00
Jeff Johnston
0388ee3d90
2014-01-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
...
* aarch64/cpu-init/rdimon-aem-el3.S (flat_map): Clear WXN bit
in SCTLR_EL3. Add dsb.
2014-01-24 19:01:15 +00:00
Jeff Johnston
9a0786ea68
2014-01-10 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-10 23:04:01 +00:00
Jeff Johnston
847980a43b
2014-01-07 Jeff Johnston <jjohnstn@redhat.com>
...
* arm/configure.in: Fix host_makefile_frag to use ac_abs_srcdir.
* arm/configure: Regenerated.
2014-01-07 22:41:38 +00:00
Steve Ellcey
2f8a6f1947
2013-12-04 Steve Ellcey <sellcey@mips.com>
...
* mips/cfe_api.h: Include stdint.h.
2013-12-04 21:18:02 +00:00
Joel Sherrill
c9e978ed1b
2013-11-21 Daniel Ramirez <javamonn@gmail.com>
...
* d30v/syscalls.c, i960/mon960.c, m68k/io-stat.c, mt/stat.c,
spu/lstat.c, spu/stat.c: Add restrict keyword.
2013-11-21 16:42:17 +00:00
Marcus Shawcroft
37d3b04f88
[AArch64] Set errno in ftruncate() and truncate().
2013-11-21 15:53:52 +00:00
Marcus Shawcroft
eee6552c95
[ARM] set errno in ftruncate and truncate stubs.
2013-11-21 15:49:05 +00:00
Marcus Shawcroft
7c62befe16
[AArch64] Provide ftruncate() and truncate() stubs.
2013-11-18 10:04:56 +00:00
Marcus Shawcroft
c709105913
[ARM] Provide ftruncate() and truncate() stubs.
2013-11-18 09:53:46 +00:00
Richard Earnshaw
639951dda7
2013-10-14 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
...
* 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-10-14 15:15:12 +00:00
Jeff Johnston
05a8ad9f72
2013-09-30 Steve Ellcey <sellcey@mips.com>
...
* mips/Makefile.in (install): Add mkdir, fix install command.
2013-09-30 18:44:25 +00:00
Marcus Shawcroft
1dafbdd853
[ARM] Add SPECS file for ARM validation model.
2013-09-27 15:40:39 +00:00
Richard Earnshaw
99be2bc4ff
2013-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
...
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.
2013-09-20 14:23:41 +00:00
Nick Clifton
796a9241b3
* msp430/Makefile.in (SCRIPTS): Add intr_vectors.ld.
...
(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-18 07:38:13 +00:00
Jeff Johnston
5bff53b4f7
2013-09-17 Joey Ye <joey.ye@arm.com>
...
* libnosys/Makefile.in: Install nosys.specs.
* libnosys/nosys.specs: New specs.
2013-09-17 20:36:08 +00:00
Corinna Vinschen
c389cb11b8
Fix space
2013-08-12 11:29:07 +00:00
Corinna Vinschen
387b584725
* aarch64/crt0.S: Remove 'start'.
...
* arm/crt0.S: Ditto.
* arm/redboot-crt0.S: Ditto.
2013-08-12 11:27:37 +00:00
Steve Ellcey
2dc32f6ae4
2013-07-24 Steve Ellcey <sellcey@mips.com>
...
* mips/idtmon.S (unlink, lseek, stat): Add new functions.
2013-07-24 22:32:51 +00:00
Corinna Vinschen
2635a8d6df
* microblaze/_exception_handler.S: Adjust to be weak.
...
* 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.
2013-07-23 09:11:18 +00:00
Yaakov Selkowitz
38f2cb2c41
* lm32/configure: Regenerate.
...
* moxie/configure: Ditto.
* spu/configure: Ditto.
2013-07-17 06:14:27 +00:00
Corinna Vinschen
971a6c70a3
* microblaze/Makefile.in: Add GENOBJS and target_makefile_frag.
...
* microblaze/configure.in: Add target_makefile_frag.
* microblaze/configure: Regenerate.
* microblaze/xil_printf.c: Add new file.
2013-07-16 07:55:45 +00:00
Corinna Vinschen
6041792ec6
* configure.host: Change to microblaze*.
...
* 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.
2013-07-16 07:48:53 +00:00
Marcus Shawcroft
81fc3e842a
[AArch64] Ensure vector table is page aligned.
...
2013-07-12 Marcus Shawcroft <marcus.shawcroft@arm.com>
* aarch64/cpu-init/rdimon-aem-el3.S (vectors): Page align.
2013-07-12 09:42:46 +00:00
Jeff Johnston
bdf683b1c8
2013-07-09 Sabrina Ni <sabrina@andestech.com>
...
* 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.
2013-07-09 19:16:25 +00:00
Corinna Vinschen
a5be77b2fe
* aarch64/syscalls.c (stack_ptr): Defined with asm ("wsp") if __ILP32__
...
is defined.
2013-07-04 10:21:52 +00:00
Jeff Johnston
2404223df6
2013-07-02 Joey Ye <joey.ye@arm.com>
...
* arm/crt0.S (_mainCRTStartup): Weak reference to atexit and _fini
when lite exit is enabled.
2013-07-02 21:34:35 +00:00
Corinna Vinschen
b5cfad0bf1
* aarch64/syscalls.c (POINTER_TO_PARAM_BLOCK_T): New macro.
...
(initialise_monitor_handles): Replace cast with macro
POINTER_TO_PARAM_BLOCK_T.
(_swiread): Likewise.
(_swiwrite): Likewise.
(_swiopen): Likewise.
(_unlink): Likewise.
(_system): Likewise.
(_rename): Likewise.
2013-06-28 09:34:46 +00:00
Corinna Vinschen
15b1ed6dc7
* aarch64/crt0.S (GEN_DWORD): New macro definition.
...
(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-06-25 12:06:15 +00:00
Jeff Johnston
6d28d61df0
2013-05-30 Jeff Johnston <jjohnstn@redhat.com>
...
* 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.
2013-05-30 22:44:04 +00:00
DJ Delorie
2f2a304234
[newlib]
...
* 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-05-13 21:39:51 +00:00
Steve Ellcey
c22112f61a
2013-04-19 Steve Ellcey <sellcey@imgtec.com>
...
* 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.
2013-04-19 22:06:34 +00:00
Marcus Shawcroft
289a9a6d9b
[AArch64] Honour CFLAGS.
...
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.
2013-04-19 14:24:45 +00:00
Corinna Vinschen
6cb2bb7166
Fix wrongly applied patch
2013-02-12 15:26:30 +00:00
Corinna Vinschen
6fb8fc9012
* libgloss/rx/Makefile.in: Respect DESTDIR when installing
2013-02-11 08:28:46 +00:00
Corinna Vinschen
29507fecb4
* arm/elf-rdimon.specs (-lrdimon): Change link to lib.
2013-02-10 11:57:51 +00:00
Nick Clifton
92825fd954
* crt0.S: Add recognition of the e3v5 architecture variant.
2013-02-01 08:29:04 +00:00
Marcus Shawcroft
761dfa99ba
Correcting my previous commit.
...
In my previous commit I forget to cvs add two new files, this commit
corrects my mistake.
2013-01-22 09:49:27 +00:00
Marcus Shawcroft
085461c3ec
2013-01-18 Marcus Shawcroft <marcus.shawcroft@arm.com>
...
* aarch64/Machine.in (RDIMON_SCRIPTS):
Add aem-ve.specs and aem-validation.specs.
* aarch64/elf-aem-validation.specs: New file.
* aarch64/elf-aem-ve.specs: New file.
2013-01-18 15:52:32 +00:00
Nick Clifton
7d88a8d373
* libc/sys/sysnecv850/crt0.S (_start): Enable FPU for the
...
V850e2v3.
* v850/crt0.S (_start): Enable FPU for the V850e2v3.
2013-01-15 15:41:31 +00:00
Jeff Johnston
24fb7750f3
2012-12-17 Stuart Henderson <shenders@gcc.gnu.org>
...
* bfin/Makefile.in: Add BF60x support.
* bfin/basiccrt.S: Add core1 support.
* bfin/bf606.ld: New file.
* bfin/bf606c0.ld: New file.
* bfin/bf606c1.ld: New file.
* bfin/bf606m.ld: New file.
* bfin/bf607.ld: New file.
* bfin/bf607c0.ld: New file.
* bfin/bf607c1.ld: New file.
* bfin/bf607m.ld: New file.
* bfin/bf608.ld: New file.
* bfin/bf608c0.ld: New file.
* bfin/bf608c1.ld: New file.
* bfin/bf608m.ld: New file.
* bfin/bf609.ld: New file.
* bfin/bf609c0.ld: New file.
* bfin/bf609c1.ld: New file.
* bfin/bf609m.ld: New file.
* bfin/bfin-common-mc0.ld: New file.
* bfin/include/cdefBF606.h : New file.
* bfin/include/cdefBF607.h : New file.
* bfin/include/cdefBF608.h : New file.
* bfin/include/cdefBF609.h : New file.
* bfin/include/defBF606.h : New file.
* bfin/include/defBF607.h : New file.
* bfin/include/defBF608.h : New file.
* bfin/include/defBF609.h : New file.
* bfin/include/sys/_adi_platform.h: Add BF60x support.
* bfin/include/sys/anomaly_macros_rtl.h : Clean up.
2012-12-17 17:44:38 +00:00
Corinna Vinschen
77a74ed692
* aarch64/configure.in: Replace the direct generation of
...
cpu-init/Makefile.in with AC_CONFIG_SUBDIRS(cpu-init).
* aarch64/configure: Re-generate.
* aarch64/cpu-init/Makefile.in (objtype): Remove.
(Makefile, config.status): Update the rules.
* aarch64/cpu-init/aclocal.m4: New file (generated).
* aarch64/cpu-init/configure.in: New file.
* aarch64/cpu-init/configure: New file (generated).
2012-11-23 10:43:31 +00:00
Anthony Green
a910b33ad2
Minor debugging aid for the moxie port.
2012-10-27 19:41:18 +00:00
Anthony Green
ffa2dd6787
Minor optimization and bug fix for moxie.
2012-10-27 15:57:12 +00:00
DJ Delorie
2b74bec6c9
* libc/machine/rl78/setjmp.S: Convert from CPP macros to GAS
...
macros, to avoid dependence on the line separation character.
* rl78/crt0.S (_interrupt_vector_table): Convert from CPP macros
to GAS macros, to avoid dependence on the line separation
character.
2012-10-03 20:24:50 +00:00
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
Steve Ellcey
f7b96aaa8c
2012-10-02 Steve Ellcey <sellcey@mips.com>
...
* mips/configure.in: Add new linker scripts to script list.
* mips/configure: Regenerate.
* mips/mti32.ld: New.
* mips/mti64.ld: New.
* mips/mti64_n32.ld: New.
* mips/mti64_64.ld: New.
* mips/sde32.ld: New.
* mips/sde64.ld: New.
2012-10-02 20:14:15 +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
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
Jeff Johnston
47484065df
2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
...
* 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-20 21:53:01 +00:00
Jeff Johnston
d8988870fa
2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
...
* 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-20 21:50:53 +00:00
Jeff Johnston
7f8ec7f163
2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
...
* 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-20 21:44:54 +00:00
Jeff Johnston
72a14088c2
2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
...
* 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-20 21:41:33 +00:00
Jeff Johnston
2751142e3c
2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
...
* 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-20 21:38:55 +00:00
Jeff Johnston
38ebd2a6c0
2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
...
* 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-20 17:28:09 +00:00
Jeff Johnston
874e5ac68b
2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
...
* spu/getpagesize.c: New file add getpagesize via an assist call.
* spu/jsre.h: Add JSRE_GETPAGESIZE.
* spu/Makefile.in: Add getpagesize.
2007-06-20 17:24:05 +00:00
Jeff Johnston
8905d0dcfd
2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
...
* 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-13 17:40:27 +00:00
Jeff Johnston
184dcf2bc3
2007-06-05 Patrick Mansfield <patman@us.ibm.com>
...
* 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-06-05 19:01:30 +00:00
Kazu Hirata
3cde47d015
* m68k/cf-crt1.C, m68k/cf.sc, m68k/fido.sc, m68k/fido-crt0.S:
...
Replace __INIT_SECTION__ and __FINI_SECTION__ with _init and
_fini, respectively.
2007-05-30 18:33:56 +00:00
Jeff Johnston
a0050b64fc
2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
...
* 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 21:39:54 +00:00
Kazu Hirata
f8d7231006
* m68k/fido.sc (.data): Move .jcr to .text. Catch .got.plt
...
and .got.
2007-05-23 16:22:27 +00:00
Jeff Johnston
8f954ad3f8
2007-05-07 Patrick Mansfield <patmans@us.ibm.com>
...
* spu/open.c: Unconditionally set the "mode" to fix a bug where
mode was not properly set.
2007-05-07 22:22:05 +00:00
Kazu Hirata
a562045661
* m68k/fido-_exit.c (_exit): Use stop #0x700.
2007-05-03 01:19:45 +00:00
Jeff Johnston
7369eb7af3
2007-04-27 Kazu Hirata <kazu@codesourcery.com>
...
* libgloss/m68k/fido.sc: Catch .text.*, .rodata.*, .data.*,
.bss.*, .ctor.*, and .dtor.*. Wrap ctor/dtor-related sections
with KEEP.
2007-04-27 16:00:45 +00:00
Jeff Johnston
c6e05f0d08
2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
...
* spu/syscalls.c: Rename _send_to_ppe __send_to_ppe, and set errno
on return from the offload call.
* spu/jsre.h: Include sys/syscall.h for the send_to_ppe prototype.
* spu/access.c: Call __send_to_ppe instead of _send_to_ppe, and
remove the setting of errno.
* 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-04-04 20:59:38 +00:00
Ben Elliston
538b71077d
* spu/sbrk.c (sbrk): Adjust the stack pointer vector correctly so
...
that GCC runtime stack checking works. Handle the backchain, too.
2007-03-01 23:08:21 +00:00
Ben Elliston
990dce10cc
Remove superfluous libgloss/ directory names from recent ChangeLog entries.
2007-02-22 04:25:43 +00:00
Jeff Johnston
fbadebae4e
2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
...
* libgloss/spu/gettimeofday.c: New file which adds SPU gettimeofday.
* libgloss/spu/jsre.h: Remove time, add gettimeofday.
* libgloss/spu/Makefile.in: Ditto.
2007-02-21 19:30:44 +00:00
Hans-Peter Nilsson
0bb4152b76
* cris/crt0.S: Use jump, not ba, to skip the interrupt table. Use
...
"setf", not "nop", for common_v10_v32 compatibility.
Move out interrupt table to irqtable.S. Include here for non-ELF.
* cris/irqtable.S: Extracted from cris/crt0.S. Provide per-entry
weak default stub definitions.
* cris/crtn.c: Use "setf", not "nop", for common_v10_v32
compatibility.
* cris/setup.S [__arch_common_v10_v32]: Return.
* cris/Makefile.in (BSP_OBJS): Add irqtable.o.
2007-02-21 14:08:26 +00:00
Nick Clifton
868281075d
* sparc/cygmon.ld.src: Link .rodata.* input sections into .text output section.
...
* sparc/cygmon-sparc64-ld.src: Likewise.
2007-02-15 09:53:56 +00:00
Jeff Johnston
1d94f73114
2007-02-08 Dave Brolley <brolley@redhat.com>
...
* mep: New target directory.
* README: Add MeP.
* configure.in: Add support for MeP.
* configure: Regenerated.
* mep/configure.in: New file.
* mep/configure: Ditto.
* mep/Makefile.in: Ditto.
* mep/aclocal.m4: Ditto.
* mep/crt0.S: Ditto.
* mep/crtn.S: Ditto.
* mep/sim-crt0.S: Ditto.
* mep/sim-crtn.S: Ditto.
* mep/fmax.ld: Ditto.
* mep/gcov-io.h: Ditto.
* mep/gmap_default.ld: Ditto.
* mep/handlers.c: Ditto.
* mep/h_reset.c: Ditto.
* mep/isatty.c: Ditto.
* mep/mep-bb.c: Ditto.
* mep/mep-gmon.c: Ditto.
* mep/min.ld: Ditto.
* mep/read.c: Ditto.
* mep/sbrk.c: Ditto.
* mep/sdram-crt0.S: Ditto.
* mep/sdram-crtn.S: Ditto.
* mep/simnovec-crt0.S: Ditto.
* mep/simple.ld: Ditto.
* mep/simsdran-crt0.S: Ditto.
* mep/syscalls.S: Ditto.
* mep/write.c: Ditto.
2007-02-08 21:22:05 +00:00
Jeff Johnston
bdc75f5bf1
2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
...
* spu/syscalls.c: Replace vector with __vector.
2007-01-19 23:50:55 +00:00
Ben Elliston
5a308d4f2d
* spu/exit.c (_exit): Finish with an infinite loop to eliminate a
...
warning about this noreturn function returning.
2007-01-09 00:54:00 +00:00
Jeff Johnston
9d507d4d4b
2007-01-04 Kazu Hirata <kazu@codesourcery.com>
...
Merge from newlib-csl-20060320-branch:
2006-12-22 Nathan Sidwell <nathan@codesourcery.com>
libgloss/
* m68k/Makefile.in (CF_ISRS): Remove now shared routines.
* m68k/cf-crt0.S (__reset): Define here.
* m68k/cf-isrs.c: Share some ISRS. Add aliases for each IRQ slot.
* m68k/cf-isv.S: Move to .interrupt_vector section. Make each
slot a unique routine.
* m68k/cf.sc: Adjust for .interrupt_vector section.
libgloss/
* m68k/Makefile.in (m5273c3): Rename to ...
(m5272c3): ... here to fix typo.
(m5249c3): New.
(CF_BOARDS): Add it.
2007-01-04 18:05:56 +00:00
Jeff Johnston
4d95d0e99a
2006-01-03 Kazu Hirata <kazu@codesourcery.com>
...
* arm/Makefile (RDPMON_OBJS): Add _exit.o and _kill.o.
(RDIMON_OBJS): Define in terms of RDPMON_OBJS.
(rdimon-_exit.o, rdimon-_kill.o): New.
* arm/_exit.c, arm/_kill.c: New.
* arm/syscalls.c (_exit, _kill): Remove.
2007-01-03 16:55:25 +00:00
Jeff Johnston
35b4db0f30
2007-01-03 Kazu Hirata <kazu@codesourcery.com>
...
Merge from newlib-csl-20060320-branch:
2006-12-22 Nathan Sidwell <nathan@codesourcery.com>
* m68k/cf-crt0.S (__start): Adjust semihosting.
2007-01-03 16:47:53 +00:00
Jeff Johnston
acdd81c29a
2007-01-02 Kazu Hirata <kazu@codesourcery.com>
...
Merge from newlib-csl-20060320-branch:
2006-12-22 Nathan Sidwell <nathan@codesourcery.com>
* m68k/cf-hosted.S (__hosted): Adjust semihosting.
2007-01-02 17:03:41 +00:00
Jeff Johnston
b7d9bb7e5e
2007-01-02 Ben Elliston <bje@au.ibm.com>
...
* spu/time.c (time): Cast new sys.time value to unsigned int.
2007-01-02 16:51:42 +00:00
Kazu Hirata
3e0c6ff3a7
* arm/licfunc.c (do_AngelSWI): Remove.
...
* arm/syscalls.c (do_AngelSWI): Remove.
* arm/swi.h (do_AngelSWI): New.
2006-12-25 23:05:24 +00:00
Kazu Hirata
7f0213da6b
* arm/syscalls.c (_unlink, _system, _rename): Cast arguments
...
to do_AngelSWI to int.
2006-12-25 23:03:21 +00:00
Jeff Johnston
1b69cb3ac5
2006-12-18 Kazu Hirata <kazu@codesourcery.com>
...
Merge from newlib-csl-20060320-branch:
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_vector_table): Reference
_PrivilegeViolationHandler.
2006-12-15 Daniel Jacobowitz <dan@codesourcery.com>
* m68k/fido-crt0.S (_start): Set %vbr for context 0 in
RAM configs.
* m68k/fido.sc: Clean up formatting. Add comments. Move
stack and heap end to SDRAM for SRAM and SDRAM configurations.
Put RedBoot application text in SRAM.
2006-12-13 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile (install_cf): Don't loop over files here. Only
install sources for the default multilib.
(install_fido): Likewise.
(install_io): Install bsps in one go.
2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
Kazu Hirata <kazu@codesourcery.com>
* configure.in: Recognize fido-*-*.
* configure: Regenerate.
* m68k/Makefile.in (CF_ISRS): Use addprefix.
(FIDO_CRT0, FIDO_BSP, FIDO_OBJS, FIDO_HANDLERS,
FIDO_UNHOSTED_SCRIPTS, FIDO_HOSTED_SCRIPTS, FIDO_SCRIPTS,
FIDO_SOURCES, all_fido, fido-%-crt0.o, fido-rom.ld,
fido-rom-hosted.ld, fido-sram.ld, fido-sram-hosted.ld,
fido-sdram.ld, fido-sdram-hosted.ld, fido-redboot.ld,
install_fido): New.
* m68k/asm.h (mbb): New.
* m68k/configure.in (DO): Check for __mfido__.
* m68k/configure: Regenerate.
* m68k/fido-_exit.c, m68k/fido-crt0.S, m68k/fido-handler.c,
m68k/fido-hosted.S, m68k/fido-sbrk.c, m68k/fido.h,
m68k/fido.sc, m68k/fido_profiling.h: New.
2006-12-18 21:48:18 +00:00
Jeff Johnston
f4dc839650
2006-12-18 Ben Elliston <bje@au.ibm.com>
...
* spu/stat.c (stat): Cast new sys.pathname value to unsigned int.
2006-12-18 16:43:31 +00:00
Daniel Jacobowitz
afc9d95aca
Undo accidental checkin to HEAD.
2006-12-15 19:54:05 +00:00
Daniel Jacobowitz
b79b0cc0b0
libgloss/
...
* m68k/Makefile.in (FIDO_OBJS): Build fido-priv.o.
* m68k/fido-crt0.S (_vector_table): Reference
_PrivilegeViolationHandler.
* m68k/fido-priv.S: New file.
2006-12-15 18:09:06 +00:00
Jeff Johnston
057914fee4
2006-12-13 Ben Elliston <bje@au.ibm.com>
...
* libnosys/_exit.c (_exit): Finish with an infinite loop to
eliminate a warning about this noreturn function returning.
2006-12-13 22:57:10 +00:00
Jeff Johnston
d7d262442c
2006-12-13 Sa Liu <saliu@de.ibm.com>
...
* spu/access.c: New file
* spu/dup.c: New file
* spu/ftruncate.c: New file
* spu/jsre.h: add structures for new functions
* spu/time.c: New file
* spu/Makefile.in (access.o, dup.o, ftruncate.o, time.o): New targets.
2006-12-13 19:42:56 +00:00
Ben Elliston
c19f8a6ac0
* configure.in: Remove superfluous semicolons.
...
* configure: Regenerate.
2006-12-11 22:19:03 +00:00
Jeff Johnston
12cb181da7
2006-12-11 Kazu Hirata <kazu@codesourcery.com>
...
Merge from newlib-csl-20060320-branch:
2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
Kazu Hirata <kazu@codesourcery.com>
* m68k/Makefile.in (CF_ISRS): Use addprefix.
2006-11-01 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile.in (CFLAGS): Do not clear. Add to all compilations.
(ARFLAGS): Remove commented out definition.
* m68k/configure.in (DO) Set to list of target cpu families.
* m68k/configure: Rebuilt.
* m68k/Makefile.in (DO): New.
(UNHOSTED_BSP, UNHOSTED_OBJS, HOSTED_BSP, HOSTED_OBJS): Move
later.
(m5208evb, m5213evb, m52235evb, m5235evb, m5273c3, m5275evb,
m5282evb, m5329evb, m5485evb): Move earlier.
(all): Add all_$DO dependencies.
(all_cf, all_m68k): New targets, depend on cf & m68k bsps as
appropriate.
(m%-ram.ld, m%-rom.ld, m%-ram-hosted.ld, m%-rom-hosted.ld): Add
'm' prefix.
(install): Add install_$DO dependencies.
(install_cf, install_m68k): New targets. Perform cf and m68k
installs as appropriate.
(install_io): New, install the io libraries.
2006-10-23 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile.in (CF_CRT0): Rename to CF_CRT0S, separate hosted
& unhosted versions.
(CF_OBJS): Add cf-isv.o.
(CF_SOURCES): Add cf-isv.S.
(cf-hosted-crt0.o, cf-unhosted-crt0.o): New targets.
* m68k/cf-isv.S: New, broken out of ...
* m68k/cf-crt0.S: ... here. Add HOSTED & UNHOSTED differences.
* m68k/cf-crt1.c (__start1): Add heap_limit argument.
(__heap_limit): Define.
* m68k/cf-sbrk.c (__heap_limit): Declare.
(sbrk): Adjust for __heap_limit.
* m68k/cf.sc: Use different crt0's for hosted & unhosted.
Install a separate isv.o file.
* m68k/io.h (HOSTED_PUTCHAR): Replace with ...
(HOSTED_INIT_SIM): ... this.
2006-10-20 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile.in (CF_BOARDS): Add m5275evb.
(m5275evb): New board.
2006-10-20 Vladimir Prus <vladimir@codesourcery.com>
* m68k/cf.sc: Add linkonce sections and
DWARF sections.
2006-10-07 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile.in: Adjust Coldfire rules.
(BDM_CRT0, BDM_BSP, BDM_OBJS, BDM_ISRS): Rename to ...
(CF_CRT0, CF_BSP, CF_OBJS, CF_ISRS): ... here. Adjust.
(BDM_OTHER_OBJS): Remove.
(BDM_SYSOBJS): Rename to ...
(UNHOSTED_OBJS): ... here. Adjust.
(UNHOSTED_BSP, HOSTED_OBJS, HOSTED_BSP): New.
(CF_HOSTED_SCRIPTS): New.
(CF_SCRIPTS, CF_SOURCES): Adjust.
* m68k/cf.sc: Add IO library variable.
* m68k/bdm-crt0.S, m68k/bdm-crt1.c, m68k/bdm-isrs.c,
m68k/bdm-sbrk.c, m68k/bdm-semihost.S: Rename to ...
* m68k/cf-crt0.S, m68k/cf-crt1.c, m68k/cf-isrs.c, m68k/cf-sbrk.c,
m68k/cf-hosted.S: ... here.
* m68k/cf-exit.c: New.
* m68k/bdm-gdb.h, m68k/bdm-semihost.h: Merge into ...
* m68k/io.h: ... here. Add unhosted support. Adjust conversion
function names.
* m68k/bdm-gdb.c: Rename to ...
* m68k/io-gdb.c: ... here. Adjust names of conversion functions.
* m68k/bdm-close.c, m68k/bdm-exit.c, m68k/bdm-fstat.c,
m68k/bdm-gettimeofday.c, m68k/bdm-isatty.c, m68k/bdm-lseek.c,
m68k/bdm-open.c, m68k/bdm-read.c, m68k/bdm-rename.c,
m68k/bdm-stat.c, m68k/bdm-system.c, m68k/bdm-time.c,
m68k/bdm-unlink.c, m68k/bdm-write.c: Rename to ...
* m68k/io-close.c, m68k/io-exit.c, m68k/io-fstat.c,
m68k/io-gettimeofday.c, m68k/io-isatty.c, m68k/io-lseek.c,
m68k/io-open.c, m68k/io-read.c, m68k/io-rename.c, m68k/io-stat.c,
m68k/io-system.c, m68k/io-time.c, m68k/io-unlink.c,
m68k/io-write.c: ... here. Include io.h. Adjust for hosted &
unhosted libraries. Adjust names of gdb conversion functions.
2006-09-29 Nathan Sidwell <nathan@codesourcery.com>
* m68k/bdm-semihost.S: Add more comments. Make instruction weirder.
2006-09-22 Nathan Sidwell <nathan@codesourcery.com>
* m68k/bdm-crt1.c (hardware_init_hook): Use #defines for CACR bits.
2006-09-18 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile.in: Don't force a frame pointer on the ISRs.
* m68k/bdm-crt1.c (__start1): Don't set the VBR here.
(hardeare_init_hook): Define weakly. Set VBR here, enable caching
if supported.
* m68k/Makefile.in (bdm-semihost.o): Build from bdm-semihost.S.
* m68k/bdm-semihost.c: Remove.
* m68k/bdm-semihost.S: New.
* m68k/bdm-crt0.S: Don't install semihosting trap handler.
* m68k/bdm-close.c, bdm-exit.c, bdm-fstat.c, bdm-gettimeofday.c,
bdm-isatty.c, bdm-lseek.c, bdm-open.c, bdm-read.c, bdm-rename.c,
bdm-stat.c, bdm-system.c, bdm-unlink.c, bdm-write.c): Update.
* m68k/bdm-isrs.c: Update comment.
* m68k/bdm-semihost.h (BDM_TRAPNUM, BDM_FUNC_REG, BDM_ARG_REG,
BDM_TRAP): Remove.
(__bdm_semihost): Declare.
2006-09-15 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile.in (BDM_OTHER_OBJS): Remove sbrk.o.
(BDM_SYSOBJS): Add bdm-sbrk.o.
* m68k/bdm-sbrk.c: New.
2006-09-06 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile.in (CF_SOURCES): New.
(install): Install them.
2006-09-01 Nathan Sidwell <nathan@codesourcery.com>
* m68k/cf.sc: Add .jcr section to .text.
2006-12-11 19:58:01 +00:00
Jeff Johnston
23995dad75
2006-12-11 Ben Elliston <bje@au.ibm.com>
...
* configure.in: Remove extra whitespace from config_testsuite =
VALUE statements to eliminate shell errors. Remove superfluous
semicolons.
* configure: Regenerate.
2006-12-11 19:04:14 +00:00
Ben Elliston
931e17a3ca
* spu/exit.c (libgloss_exit): Rename from this ..
...
(_exit): .. to this. Overhaul.
(exit): Remove.
2006-12-11 00:04:00 +00:00
Ben Elliston
1ad5a4066d
Resurrect.
2006-12-10 23:53:07 +00:00
Ben Elliston
401f89de6b
Remove (missed in previous commit).
2006-12-10 23:14:32 +00:00
Ben Elliston
54ff7fb424
Typo fix.
2006-12-10 22:49:53 +00:00
Jeff Johnston
b81d0f0ec6
2006-12-08 Sa Liu <saliu@de.ibm.com>
...
* spu/exit.c (libgloss_exit): Rename from this ..
(_exit): .. to this. Overhaul.
(exit): Remove.
* spu/crt0.S, spu/crti.S, spu/crtn.S: New files.
* spu/crt0.C, spu/init.c: Remove.
* spu/configure.in (AC_INIT): Check for crt0.S, not crt0.C.
* spu/configure: Regenerate.
* spu/Makefile.in (crti.o, crtn.o, crt1.o, crt2.o): New targets.
(OBJS): Remove init.o.
(CRTOBJS): New.
(OUTPUTS): Add $(CRTOBJS).
2006-12-08 21:50:56 +00:00
Jeff Johnston
e2edec23e5
2006-11-27 Jeff Johnston <jjohnstn@redhat.com>
...
* mips/crt0.S: Fix preprocessor statements from previous patch
to be ANSI.
2006-11-27 16:12:51 +00:00
Jeff Johnston
406a0e047c
2006-11-24 Thiemo Seufer <ths@mips.com>
...
Nigel Stephens <nigel@mips.com>
* mips/crt0.S (_start): Use all available float registers. Don't touch
SR_PE on post-mips2 CPUs, it means soft reset there.
2006-11-24 18:19:18 +00:00
Jeff Johnston
729c0e6506
2006-11-22 Luca Barbato <lu_zero@gentoo.org>
...
* spu/syscalls.c: Include spu_intrinsics.h to provide vector keyword.
2006-11-22 21:20:31 +00:00
Jeff Johnston
634f2d7fa7
2006-11-17 Jeff Johnston <jjohnstn@redhat.com>
...
* mn10300/Makefile.in: Add spaces after do in "for" loop.
2006-11-17 19:18:02 +00:00
Jeff Johnston
b61bfe0440
Change Jie Zhang's e-mail address to work address.
2006-11-09 16:24:43 +00:00
Jeff Johnston
c0977673ac
2006-11-08 Jie Zhang <jzhang918@gmail.com>
...
* 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.
2006-11-08 19:36:56 +00:00
Jeff Johnston
d146860762
2006-10-10 Thiemo Seufer <ths@mips.com>
...
* mips/Makefile.in: Add INCLUDES to local compile rules.
2006-10-10 18:27:56 +00:00
Jeff Johnston
74e2b21eac
Removed.
2006-10-10 15:52:39 +00:00
Jeff Johnston
8375a05661
2006-10-06 Jeff Johnston <jjohnstn@redhat.com>
...
* Makefile.in: Add CFLAGS_FOR_TARGET and CCASFLAGS to
FLAGS_TO_PASS.
2006-10-06 20:34:49 +00:00
Jeff Johnston
bdcabb255c
2006-10-03 Jeff Johnston <jjohnstn@redhat.com>
...
* arm/linux-syscalls0.c: Rewrite bx insn architecture flag check to avoid use of __ARM_ARCH__.
2006-10-03 16:33:50 +00:00
Jeff Johnston
04a8b4ee18
2006-10-02 Nick Clifton <nickc@redhat.com>
...
* arm/linux-syscalls0.c: Add arm architecture flag
checks around bx insn.
2006-10-02 19:57:46 +00:00
Jeff Johnston
aa61d16c04
2006-09-07 Masaki Muranaka <monaka@monami-software.com>
...
* xstormy16/Makefile.in (clean): Fix a mismatched parenthesis.
2006-09-07 17:28:09 +00:00
Kazu Hirata
c023e783e9
libgloss/
...
Merge from newlib-csl-20060320-branch:
2006-08-31 Nathan Sidwell <nathan@codesourcery.com>
* m68k/bdm-crt1.c: Call hardware_init_hook before copying
initialized data.
* m68k/Makefile.in (CF_BDM_SCRIPTS): Rename to CF_RAM_SCRIPTS.
(CF_SCRIPTS): Update.
(%-bdm.ld): Rename to %-ram.ld.
2006-08-25 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile.in (DBUG_BSP, DBUG_OBJS): Remove.
(BDM_CRT0): New.
(BDM_OBJS): Add bdm-crt1.o.
(BDM_OTHER_OBJS): Remove print.o putnum.o
(CF_BOARDS): New.
(CF_BDM_SCRIPTS): Generated name of ram scripts.
(CF_ROM_SCRIPTS): Generated name of rom scripts.
(CF_SCRIPTS): Adjust.
(all): Add BDM_CRT0.
(bdm-crt0.o, bdm-crt1.o): New targets.
(bdm-isv.o): Remove.
(m5208evb, m5213evb, m52235evb, m5235evb, m5273c3, m5282evb,
m5329evb, m5485evb): New.
(%-bdm.ld, %-rom.ld): New. Replace individual linker script rules.
(install): Remove DBUG installs.
* m68k/bdm-crt0.S: New.
* m68k/bdm-crt1.c: New.
* m68k/bdm-exit.c: Call __reset.
* m68k/bdm-isv.c: Remove.
* m68k/cf.sc: Adjust to produce either rom or ram images.
* m68k/dbug-exit.S, m68k/dbug-inbyte.S, m68k/dbug-outbyte.S: Remove.
2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
Bug 844
* m68k/cf.sc: Set entry point to _start.
* m68k/crt0.X (_start): New name for entrypoint
(start): Weak alias for start.
2006-06-09 Nathan Sidwell <nathan@codesourcery.com>
* m68k/bdm-system.c (_system): Support system(NULL).
2006-06-08 Nathan Sidwell <nathan@codesourcery.com>
* m68k/bdm-system.c (_system): Properly encode non failure exit
code.
2006-06-05 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile.in (BDM_SYSOBJS): Remove bdm-inbyte.o.
Add bdm-time.o.
* m68k/bdm-close.c: Add copyright notice.
* m68k/bdm-fstat.c: Add copyright notice.
* m68k/bdm-gettimeofday.c: Add copyright notice.
* m68k/bdm-inbyte.c: Remove.
* m68k/bdm-isatty.c: Add copyright notice.
* m68k/bdm-lseek.c: Add copyright notice. Fix &/| thinko.
* m68k/bdm-open.c: Add copyright notice.
* m68k/bdm-read.c: Add copyright notice.
* m68k/bdm-rename.c: Add copyright notice.
* m68k/bdm-stat.c: Add copyright notice.
* m68k/bdm-system.c: Add copyright notice.
* m68k/bdm-time.c: New.
* m68k/bdm-unlink.c: Add copyright notice.
* m68k/bdm-write.c: Add copyright notice.
2006-05-25 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile.in (m52235-dbug.ld, m52235-bdm.ld): New
scripts.
2006-05-24 Nathan Sidwell <nathan@codesourcery.com>
* m68k/Makefile.in (BDM_SYSOBJS): Remove bdm-outbyte.o.
* m68k/bdm-outbyte.c: Delete.
* m68k/bdm-semihost.h (BDM_OUTBYTE): Mark as obsolete.
2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
* m68k/bdm-semihost.h: Add new constants for additional
semihosting functions. Add new BDM_TRAP macro to encapsulate
inline asm.
* m68k/bdm-exit.c (_exit): Use new BDM_TRAP macro.
* m68k/bdm-outbyte.c (outbyte): Ditto.
* m68k/bdm-isrs.c, m68k/bdm-isv.c: Former BDM_TRAP
now called BDM_TRAPNUM.
* m68k/bdm-gdb.h, m68k/bdm-gdb.c: New files
containing declarations and conversion functions for GDB's fileio
protocol.
* m68k/bdm-close.c: New file to define corresponding function.
* m68k/bdm-fstat.c: Ditto.
* m68k/bdm-gettimeofday.c: Ditto.
* m68k/bdm-isatty.c: Ditto.
* m68k/bdm-lseek.c: Ditto.
* m68k/bdm-open.c: Ditto.
* m68k/bdm-read.c: Ditto.
* m68k/bdm-rename.c: Ditto.
* m68k/bdm-stat.c: Ditto.
* m68k/bdm-system.c: Ditto.
* m68k/bdm-unlink.c: Ditto.
* m68k/bdm-write.c Ditto.
* m68k/Makefile.in: Add dependencies for new files.
2006-03-29 Nathan Sidwell <nathan@codesourcery.com>
* m68k/bdm-isv.c (software_init_hook): Fix trap numbering.
* m68k/Makefile.in (CF_SCRIPTS): Add m5329 board.
Reorder.
(*-dbug.ld, *-bdm.ld): Add appropriate IO definition.
(m5329evb-dbug.ld, m5329evb-bdm.ld): New.
* cf.sc (GROUP): Revert previous change. Add IO library.
* m68k/Makefile.in (BDM_BSP, BDM_OBJS, BDM_ISRS): New.
(CF_SCRIPTS): Rename dbug scripts. Add bdm scripts. Add m5485
scripts.
(all): Add new targets.
(BDM_BSP): New target.
(bdm-isv.o, bdm-exit.o, bdm-outbyte.o, bdm-semihost.o): New
targets.
(BDM_ISRS): New targets.
(m5208evb.ld, m5213evb.ld, m5235evb.ld, m5272c3.ld, m5282evb.ld):
Rename and adjust.
(m5485evb-dbug): New.
(m5208evb-bdm.ld, m5213evb-bdm.ld, m5235evb-bdm.ld,
m5272c3-bdm.ld, m5282evb-bdm.ld, m5485evb-bdm.ld): New.
(install): Add BDM_BSP.
* m68k/bdm-exit.c: New
* m68k/bdm-inbyte.c: New
* m68k/bdm-outbyte.c: New
* m68k/bdm-semihost.c: New
* m68k/bdm-semihost.h: New
* m68k/bdm-isrs.c: New.
* m68k/bdm-isv.c: New.
* dbug-cf.sc: Renamed to ...
* cf.sc: ... here. Add bdm flexibility. Remove GROUP
2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
* m68k/bdm-semihost.h: Add new constants for additional
semihosting functions. Add new BDM_TRAP macro to encapsulate
inline asm.
* m68k/bdm-exit.c (_exit): Use new BDM_TRAP macro.
* m68k/bdm-outbyte.c (outbyte): Ditto.
* m68k/bdm-isrs.c, m68k/bdm-isv.c: Former BDM_TRAP
now called BDM_TRAPNUM.
* m68k/bdm-gdb.h, m68k/bdm-gdb.c: New files
containing declarations and conversion functions for GDB's fileio
protocol.
* m68k/bdm-close.c: New file to define corresponding function.
* m68k/bdm-fstat.c: Ditto.
* m68k/bdm-gettimeofday.c: Ditto.
* m68k/bdm-isatty.c: Ditto.
* m68k/bdm-lseek.c: Ditto.
* m68k/bdm-open.c: Ditto.
* m68k/bdm-read.c: Ditto.
* m68k/bdm-rename.c: Ditto.
* m68k/bdm-stat.c: Ditto.
* m68k/bdm-system.c: Ditto.
* m68k/bdm-unlink.c: Ditto.
* m68k/bdm-write.c Ditto.
* m68k/Makefile.in: Add dependencies for new files.
newlib/
Merge from newlib-csl-20060320-branch:
2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
* configure.host: Tell it we have _rename and _system when
building m68k-unknown-elf.
2006-09-01 05:41:06 +00:00
Jeff Johnston
52d82ba527
2006-08-30 Kazunori Asayama <asayama@sm.sony.co.jp>
...
* spu/syscalls.c: Add a new argument to _send_to_ppe() to
specify signal code.
* spu/jsre.h: Update declaration of _send_to_ppe().
* spu/close.c: Replace _send_to_ppe_0x2101() by _send_to_ppe().
* spu/fstat.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.
2006-08-30 19:06:48 +00:00
Jeff Johnston
6f91c38b89
2006-08-30 Kazunori Asayama <asayama@sm.sony.co.jp>
...
* spu/Makefile.in: Add dependency.
2006-08-30 19:04:31 +00:00
Jeff Johnston
d82b4a993b
2006-08-24 Paul Brook <paul@codesourcery.com>
...
* arm/linux-crt0.c: Disable Arm stub for Thumb-2.
2006-08-24 23:07:15 +00:00
Jeff Johnston
1fa66a83d1
2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
...
* spu/Makefile.in: Add new object files.
* spu/syscalls.c: Move each system call to individual file.
* spu/jsre.h: Add declaration of _send_to_ppe_0x2101().
* spu/close.c: New file. Moved from spu/syscalls.c.
* spu/fstat.c: Likewise.
* spu/getpid.c: Likewise.
* spu/isatty.c: Likewise.
* spu/kill.c: Likewise.
* spu/lseek.c: Likewise.
* spu/open.c: Likewise.
* spu/read.c: Likewise.
* spu/stat.c: Likewise.
* spu/unlink.c: Likewise.
* spu/write.c: Likewise.
2006-08-23 16:13:24 +00:00
Jeff Johnston
cb5e3d1df7
2006-08-21 David Ung <davidu@mips.com>
...
* mips/Makefile.in: Add rule for cygmon.o and pass the -mno-mips16
option since it uses the syscall instruction.
2006-08-21 22:24:42 +00:00
Jeff Johnston
5781965533
2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
...
* spu/Makefile.in: Add special compiler
options to reduce size.
2006-08-16 21:49:24 +00:00
Jeff Johnston
1641d724b8
2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
...
* spu/jsre.h(JSRE_STAT): New define.
(syscall_stat_t): New type.
* spu/syscalls.c(stat): New syscall.
2006-08-16 21:45:53 +00:00
Jeff Johnston
0486bb7f0d
2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
...
* configure.in: Add spu support.
* configure: Regenerated.
* spu/Makefile.in: New file.
* spu/aclocal.m4: Ditto.
* spu/configure: Ditto.
* spu/configure.in: Ditto.
* spu/crt0.c: Ditto.
* spu/exit.c: Ditto.
* spu/init.c: Ditto.
* spu/jsre.h: Ditto.
* spu/sbrk.c: Ditto.
* spu/syscalls.c: Ditto.
2006-08-16 21:15:03 +00:00
Shaun Jackman
0b6bb78b34
2006-07-05 Shaun Jackman <sjackman@gmail.com>
...
* arm/linux-crt0.S: Remove file.
* arm/linux-crt0.c: New file. Supports PIC code.
2006-07-05 15:24:30 +00:00
Shaun Jackman
0a22f2e537
2006-07-04 Shaun Jackman <sjackman@gmail.com>
...
* arm/linux-syscalls0.S (ftruncate, getegid, geteuid, getgid,
getgroups, getpgid, getpgrp, getuid, lchown, pause, pipe,
setpgid, setgid, setsid, setuid, sigprocmask, sync, uname): New
system call.
2006-07-04 23:58:02 +00:00
DJ Delorie
6d2903ba95
* m32c/crt0.S (done_inilist): Fix dwarf2 address sizes.
2006-06-30 21:55:23 +00:00
Jeff Johnston
c3297a3c90
2006-06-23 Shaun Jackman <sjackman@gmail.com>
...
* arm/elf-linux.specs: New file.
2006-06-23 16:27:34 +00:00
Jeff Johnston
73c20c325d
2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
...
* arm/syscalls.c (_unlink, isatty, _system, _rename):
Make them do something useful in the ARM_RDI_MONITOR case.
2006-06-13 20:51:08 +00:00
Jeff Johnston
6d153d4ebb
2006-06-08 Fred Fish <fnf@specifix.com>
...
* mips/idt.ld, mips/idt32.ld, mips/idt64.ld, mips/nullmon.ld,
mips/pmon.ld: Keep special sections generated by mips gcc.
2006-06-08 16:13:11 +00:00
Jeff Johnston
986b5d2246
2006-06-05 Shaun Jackman <sjackman@gmail.com>
...
* arm/linux-syscalls0.S (reboot): Remove.
* arm/linux-syscalls1.c (reboot): New function.
2006-06-05 20:15:23 +00:00
Jeff Johnston
4c602151f2
2006-06-05 Shaun Jackman <sjackman@gmail.com>
...
* arm/syscalls.c (kill) [ARM_RDI_MONITOR]: Use the signal
argument to choose an ADP exception reason.
* arm/libcfunc.c (abort): Remove this function.
2006-06-05 19:46:18 +00:00
Jeff Johnston
47e55476be
2006-05-30 Shaun Jackman <sjackman@gmail.com>
...
* arm/Makefile.in: Add Linux syscall interface.
* arm/linux-crt0.S: New file.
* arm/linux-syscall.h: New file.
* arm/linux-syscalls0.S: New file.
* arm/linux-syscalls1.c: New file.
2006-05-30 17:40:47 +00:00
Jeff Johnston
13220d1a70
2006-05-23 Fred Fish <fnf@specifix.com>
...
* mips/configure.in: Change mipsisa64-*-* to
mipsisa64*-*-* to catch minor variations like
mipsisa64sb1.
* mips/configure: Regenerated.
2006-05-23 19:54:37 +00:00
Jeff Johnston
42e7baffec
2006-05-23 Fred Fish <fnf@specifix.com>
...
* mips/configure.in: Change mipsisa64-*-* to
mipsisa64*-*-* to catch minor variations like
mipsisa64sb1.
2006-05-23 19:17:05 +00:00
Jeff Johnston
00a4b31ad0
2006-05-10 Jeff Johnston <jjohnstn@redhat.com>
...
* Makefile.in: Pass some additional flags in FLAGS_TO_PASS.
* configure.in: Add additional flags when creating Makefile.
* configure: Regenerated.
* arm/configure
* arm/configure.in: Set with_multisubdir when creating Makefile.
* cris/configure.in: Ditto.
* d30v/configure.in: Ditto.
* frv/configure.in: Ditto.
* i386/configure.in: Ditto.
* iq2000/configure.in: Ditto.
* libnosys/configure.in: Ditto.
* m32c/configure.in: Ditto.
* m32r/configure.in: Ditto.
* m68hc11/configure.in: Ditto.
* m68k/configure.in: Ditto.
* mcore/configure.in: Ditto.
* mips/configure.in: Ditto.
* mn10200/configure.in: Ditto.
* mn10300/configure.in: Ditto.
* mt/configure.in: Ditto.
* pa/configure.in: Ditto.
* rs6000/configure.in: Ditto.
* sparc/configure.in: Ditto.
* cris/configure: Regenerated.
* d30v/configure: Ditto.
* frv/configure: Ditto.
* i386/configure: Ditto.
* iq2000/configure: Ditto.
* libnosys/configure: Ditto.
* m32c/configure: Ditto.
* m32r/configure: Ditto.
* m68hc11/configure: Ditto.
* m68k/configure: Ditto.
* mcore/configure: Ditto.
* mips/configure: Ditto.
* mn10200/configure: Ditto.
* mn10300/configure: Ditto.
* mt/configure: Ditto.
* pa/configure: Ditto.
* rs6000/configure: Ditto.
* sparc/configure: Ditto.
2006-05-10 20:51:41 +00:00
Jeff Johnston
4e71dc1e3a
2006-04-19 Jeff Johnston <jjohnstn@redhat.com>
...
* configure.in: Modified to support autoconf 2.59.
* */configure.in: Ditto.
* configure: Regenerated.
* */configure: Ditto.
* wince/aclocal.m4: Ditto.
* acinclude.m4: New file.
* aclocal.m4: Ditto.
* arm/aclocal.m4: Ditto.
* cris/aclocal.m4: Ditto.
* crx/aclocal.m4: Ditto.
* d30v/aclocal.m4: Ditto.
* fr30/aclocal.m4: Ditto.
* frv/aclocal.m4: Ditto.
* hp74x/aclocal.m4: Ditto.
* i386/aclocal.m4: Ditto.
* i960/aclocal.m4: Ditto.
* iq2000/aclocal.m4: Ditto.
* libnosys/aclocal.m4: Ditto.
* m32c/aclocal.m4: Ditto.
* m32r/aclocal.m4: Ditto.
* m68hc11/aclocal.m4: Ditto.
* m68k/aclocal.m4: Ditto.
* mcore/aclocal.m4: Ditto.
* mips/aclocal.m4: Ditto.
* mn10200/aclocal.m4: Ditto.
* mn10300/aclocal.m4: Ditto.
* mt/aclocal.m4: Ditto.
* pa/aclocal.m4: Ditto.
* rs6000/aclocal.m4: Ditto.
* sparc/aclocal.m4: Ditto.
* sparc/libsys/aclocal.m4: Ditto.
* xstormy16/aclocal.m4: Ditto.
2006-04-19 19:44:05 +00:00
Mark Mitchell
d76895a142
* doc/porting.texi: Document libgloss build conventions.
2006-04-18 16:14:57 +00:00
Nathan Sidwell
b40d2db7b0
* mt/startup-16-002.S (.internal_io): Make @nobits.
...
* mt/startup-16-003.S (.internal_io): Make @nobits.
* mt/startup-ms2.S (.internal_io): Make @nobits.
2006-03-22 12:47:59 +00:00
DJ Delorie
dff8cd7700
* m32c/exit.S: Preserve r1.
2006-03-03 03:20:58 +00:00
Jeff Johnston
ff20d12a66
2006-02-24 Paul Brook <paul@codesourcery.com>
...
* arm/redboot-crt0.S: Use cps in Thumb-2 mode.
2006-02-24 20:43:19 +00:00
Jeff Johnston
7db9cdd24e
2006-02-22 Nathan Sidwell <nathan@codesourcery.com>
...
* m68k/Makefile.in (CF_SCRIPTS): New.
(all): Add CF_SCRIPTS.
(m5208evb.ld, m5213evb.ld, m5235evb.ld, m5272c3.ld,
m5282evb.ld): New targets
(install): Iterate over CF_SCRIPTS.
* m68k/crt0.S: Don't use dbra on any cf chips.
* m68k/dbug-cf.sc: New.
2006-02-22 18:02:54 +00:00
Jeff Johnston
f9fa511d46
2006-02-07 Paul Brook <paul@codesourcery.com>
...
* arm/crt0.S: Add Thumb-2 startup code.
* arm/redboot-crt0.S: Ditto.
* arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
* arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
* arm/trap.S: Disable for Thumb-2.
2006-02-07 18:46:23 +00:00
Nathan Sidwell
b985a434a0
* mt/ms2.ld (.sram): Correct typo in section names.
2006-01-18 10:57:19 +00:00
Jeff Johnston
6c54812ca3
2006-01-16 Nathan Sidwell <nathan@codesourcery.com>
...
* mt/Makefile.in (SCRIPTS, CRT0): Add ms2 files.
(crt0-ms2.o): New target.
* mt/crt0-ms2.S, mt/exit-ms2.c, mt/ms2.ld, mt/startup-ms2.S: New.
2006-01-16 23:23:30 +00:00
Jeff Johnston
ab7eaf6971
2006-01-04 Paul Brook <paul@codesourcery.com>
...
* m68k/bcc.ld: Add .got.plt and .got
* m68k/idp.ld: Ditto.
* m68k/idpgdb: Ditto.
* m68k/mvme135.ld: Ditto.
* m68k/sbc5204.ld: Ditto.
* m68k/sbc5206.ld: Ditto.
* m68k/sim.ld: Ditto.
2006-01-04 21:30:52 +00:00
DJ Delorie
fbe7cb7681
* m32c/crt0.S: Add support for preinit, init, and fini arrays, and
...
.init and .fini processing.
* m32c/crtn.S: Likewise.
* m32c/exit.S: Likewise.
2005-12-14 03:38:27 +00:00
Jeff Johnston
b24dda0b9d
2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
...
* mt/16-002.ld: Change architecture to 'mt'. Remove
SEARCH_DIR.
* mt/16-003.ld: Likewise.
* mt/64-001.ld: Likewise.
* mt/Makefile.in: Change comment to reference 'mt' rather than 'ms1'.
* mt/crt0.S: Likewise.
2005-12-13 22:59:26 +00:00
Nathan Sidwell
74ecef0dea
Rename ms1 to mt, part 1
...
* config.sub: Replace ms1 arch with mt. Allow ms1 as alias.
* configure.in: Replace ms1 arch with mt.
* configure: Rebuilt.
* bfd/Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES,
BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Replace ms1 with mt.
(cpu_mt.lo, elf32-mt.lo): Update target and dependency names.
* bfd/Makefile.in: Rebuilt.
* bfd/config.bfd: Replace ms1 arch with mt.
* bfd/configure.in: Replace ms1 files with mt files.
* bfd/configure: Rebuilt.
* bfd/elf32-mt.c: Renamed from elf32-ms1.c. Update include files.
* bfd/cpu-mt.c: Renamed from cpu-ms1.c.
* cpu/mt.cpu: Rename from ms1.cpu.
* cpu/mt.opc: Rename from ms1.opc.
* binutils/Makefile.am: Replace ms1 files with mt files.
* binutils/Makefile.in: Rebuilt.
* binutils/readelf.c (elf/mt.h): Adjust #include.
* gas/configure.in: Replace ms1 arch with mt arch.
* gas/configure: Rebuilt.
* gas/configure.tgt: Replace ms1 arch with mt arch.
* gas/config/tc-mt.c: Renamed from tc-ms1.c: Update include files.
* gas/doc/Makefile.am (CPU_DOCS): Replace ms1 files with mt files.
* gas/doc/Makefile.in: Rebuilt.
* gas/testsuite/gas/mt: Renamed from ms1 dir. Update file names as
needed.
* gas/testsuite/gas/mt/errors.exp: Replace ms1 arch with mt arch.
* gas/testsuite/gas/mt/mt.exp: Replace ms1 arch with mt arch.
* gas/testsuite/gas/mt/relocs.exp: Replace ms1 arch with mt arch.
* gdb/configure.tgt: Replace ms1 arch with mt arch.
* gdb/config/mt: Renamed from ms1 dir. Update file names as needed.
* gdb/config/mt/mt.mt (TDEPFILES): Replace ms1 file with mt file.
* include/elf/mt.h: Renamed from ms1.h
* ld/Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files.
(eelf32mt.c): Update target name and dependencies.
* ld/Makefile.in: Rebuilt.
* ld/configure.tgt: Replace ms1 arch with mt arch.
* ld/emulparams/elf32mt.sh: Renamed from elf32ms1.sh. Update
comment.
* libgloss/configure.in: Replace ms1 arch with mt arch.
* libgloss/configure: Rebuilt.
* libgloss/mt: Renamed from ms1 dir.
* newlib/configure.host: Replace ms1 arch with mt arch.
* newlib/libc/machine/mt: Renamed from ms1 dir.
* opcodes/Makefile.am (CLEANFILES, CGEN_CPUS, MT_DEPS): Replace ms1
with mt.
* opcodes/Makefile.in: Rebuilt.
* opcodes/configure.in: Replace ms1 files with mt files.
* opcodes/configure: Rebuilt.
* sid/component/cgen-cpu/mt: Renamed from ms1 dir. Update file
names as appropriate.
* sid/component/cgen-cpu/mt/Makefile.am: Replace ms1 files with mt
files.
* sid/component/cgen-cpu/mt/Makefile.in: Rebuilt.
2005-12-12 11:25:07 +00:00
Nathan Sidwell
ad83f0cc13
Rename ms1 files to mt files (part 1 -- renames only)
2005-12-12 11:16:41 +00:00
Jeff Johnston
e01c5cce75
2005-12-06 Paul Brook <paul@codesourcery.com>
...
* m68k/bcc.ld: Add .text.*, .rodata.*, .data.* and .bss.*.
* m68k/idp.ld: Ditto.
* m68k/idpgdb: Ditto.
* m68k/mvme135.ld: Ditto.
* m68k/sbc5204.ld: Ditto.
* m68k/sbc5206.ld: Ditto.
* m68k/sim.ld: Ditto.
2005-12-06 22:04:29 +00:00
Jeff Johnston
32e616339a
2005-11-30 Shaun Jackman <sjackman@gmail.com>
...
* libnosys/Makefile.in (OBJS): Add chown, readlink, and symlink.
* libnosys/chown.c: New file.
* libnosys/readlink.c: New file.
* libnosys/symlink.c: New file.
2005-11-30 23:43:57 +00:00
Jeff Johnston
7c15164f17
2005-11-30 Shaun Jackman <sjackman@gmail.com>
...
* arm/libcfunc.c (clock, sleep, usleep): New functions.
* arm/syscalls.c (_clock): New function.
(_times): Call _clock.
2005-11-30 23:37:14 +00:00
Jeff Johnston
b92f9343b3
2005-11-17 Shaun Jackman <sjackman@gmail.com>
...
* libgloss/arm/libcfunc.c (isatty): Call _isatty. GDB now supports
the IsTTY SWI that _isatty calls.
2005-11-17 18:56:41 +00:00
Hans-Peter Nilsson
d55950ba3a
* cris/linunistd.h: Don't redefine errno as extern int.
2005-11-17 12:01:44 +00:00
Jeff Johnston
34da20b26f
2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
...
* arm/configure.in: Add AC_SUBST for BUILD_CRT0_TRUE and
BUILD_CRT0_FALSE.
* arm/configure: Regenerate.
2005-10-20 20:17:50 +00:00