Nathan Sidwell
7a9372e3a9
libgloss/
...
* m68k/bdm-crt1.c: Call hardware_init_hook before copying
initialized data.
2006-08-31 13:08:46 +00:00
Nathan Sidwell
09a63eee98
libgloss/
...
* m68k/Makefile.in (CF_BDM_SCRIPTS): Rename to CF_RAM_SCRIPTS.
(CF_SCRIPTS): Update.
(%-bdm.ld): Rename to %-ram.ld.
2006-08-31 09:00:40 +00:00
Paul Brook
61cf169619
2006-08-30 Paul Brook <paul@codesourcery.com>
...
libgloss/
* arm/Makefile.in: Change armv7m linker script generation. Add
armv7m.spec. Build armv7m-crt0.o.
* arm/arm.sc: New file.
* arm/armv7m.specs: New file.
* arm/crt0.S: Add armv7m code.
* arm/elf-lm3s10x.ld: Remove.
* arm/elf-lm3s301.ld: Remove.
* arm/elf-lm3s31x.ld: Remove.
* arm/swi.h (do_AngelSWI): Add definition.
* arm/syscalls.c: Merge lazy semihosting initialization from newlib.
newlib/
* libc/sys/arm/crt0.S: Add armv7m rom startup code.
2006-08-30 22:24:19 +00:00
Nathan Sidwell
ffe60f8eda
libgloss/
...
* 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-08-25 11:55:48 +00:00
Nathan Sidwell
25ae6bd7e2
libgloss/
...
* m68k/cf.sc: Set entry point to _start.
* m68k/crt0.X (_start): New name for entrypoint
(start): Weak alias for start.
2006-07-24 16:49:07 +00:00
Mark Mitchell
43de4ec74d
Issue #754
...
libgloss/
* arm/elf-lm3s301.ld: Include cm3.ld.
* arm/elf-lm3s31x.ld: Likewise.
2006-06-23 22:11:49 +00:00
Mark Mitchell
b4d166ab77
Issue #733
...
libgloss/
* arm/Makefile.in (LMS_SCRIPTS): Add lm3s301.ld and lm3s31x.ld.
2006-06-13 20:56:37 +00:00
Nathan Sidwell
9205d8c99b
libgloss/
...
* m68k/bdm-system.c (_system): Support system(NULL).
2006-06-09 20:31:19 +00:00
Sandra Loosemore
c4f65466b9
Add additional ARM_RDI_MONITOR calls
2006-06-09 15:52:15 +00:00
Nathan Sidwell
bff8498235
* libgloss/m68k/bdm-system.c (_system): Properly encode non
...
failure exit code.
2006-06-08 06:55:17 +00:00
Nathan Sidwell
2cbb410deb
* libgloss/m68k/Makefile.in (BDM_SYSOBJS): Remove bdm-inbyte.o.
...
Add bdm-time.o.
* libgloss/m68k/bdm-close.c: Add copyright notice.
* libgloss/m68k/bdm-fstat.c: Add copyright notice.
* libgloss/m68k/bdm-gettimeofday.c: Add copyright notice. Fix &/|
thinko.
* libgloss/m68k/bdm-inbyte.c: Remove.
* libgloss/m68k/bdm-isatty.c: Add copyright notice.
* libgloss/m68k/bdm-lseek.c: Add copyright notice.
* libgloss/m68k/bdm-open.c: Add copyright notice.
* libgloss/m68k/bdm-read.c: Add copyright notice.
* libgloss/m68k/bdm-rename.c: Add copyright notice.
* libgloss/m68k/bdm-stat.c: Add copyright notice.
* libgloss/m68k/bdm-system.c: Add copyright notice.
* libgloss/m68k/bdm-time.c: New.
* libgloss/m68k/bdm-unlink.c: Add copyright notice.
* libgloss/m68k/bdm-write.c: Add copyright notice.
2006-06-05 14:22:26 +00:00
Mark Mitchell
4321ca1749
* libgloss/arm/elf-lm3s301.ld: New script.
...
* libgloss/arm/elf-lm3s31x.ld: Likewise.
2006-05-31 14:11:13 +00:00
Mark Mitchell
61da45342a
* libgloss/arm/Makefile.in (LMS_SCRIPTS): New variable.
...
(LMS_INSTALL): Likewise.
(install): Depend on LMS_INSTALL.
(install-lms): New target.
* libgloss/arm/elf-cm3.lmd: New file.
* libgloss/arm/elf-lm3s10x.ld: Likewise.
2006-05-31 14:07:02 +00:00
Nathan Sidwell
8d884980d2
* libgloss/m68k/Makefile.in (m52235-dbug.ld, m52235-bdm.ld): New
...
scripts.
2006-05-25 17:33:20 +00:00
Nathan Sidwell
0fecf1109c
* libgloss/m68k/Makefile.in (BDM_SYSOBJS): Remove bdm-outbyte.o
...
* libgloss/m68k/bdm-outbyte.c: Delete.
* libgloss/m68k/bdm-semihost.h (BDM_OUTBYTE): Mark as obsolete.
2006-05-24 07:54:51 +00:00
Sandra Loosemore
22bd8d8dc6
Add more semihosting support for BDM mode on ColdFire
2006-05-22 22:29:17 +00:00
Sandra Loosemore
398cdf8781
Add semihosting support for BDM mode on ColdFire
2006-05-22 22:26:10 +00:00
Nathan Sidwell
79470d2462
Bug 576.
...
* 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-04-18 13:41:14 +00:00
Nathan Sidwell
3f61ba29e0
* libgloss/m68k/bdm-isv.c (software_init_hook): Fix trap numbering.
2006-03-29 13:59:02 +00:00
Nathan Sidwell
43ba9d61a9
* libgloss/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.
2006-03-29 09:08:37 +00:00
Nathan Sidwell
49ad733d28
fix copyright typos
2006-03-29 07:29:11 +00:00
Nathan Sidwell
017a82abc6
* libgloss/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.
* libgloss/m68k/bdm-exit.c: New
* libgloss/m68k/bdm-inbyte.c: New
* libgloss/m68k/bdm-outbyte.c: New
* libgloss/m68k/bdm-semihost.c: New
* libgloss/m68k/bdm-semihost.h: New
* libgloss/m68k/bdm-isrs.c: New.
* libgloss/m68k/bdm-isv.c: New.
* cf-dbug.sc: Renamed to ...
* cf.sc: ... here. Add bdm flexibility. Remove GROUP
2006-03-29 07:03:19 +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
Jeff Johnston
9276ec15a7
2005-10-17 Jeff Johnston <jjohnstn@redhat.com>
...
* arm/configure.in: Support building crt0.o when syscalls
are disabled in newlib.
* arm/configure: Regenerated.
2005-10-17 21:17:17 +00:00
Jeff Johnston
dd8ed8c6f2
2005-10-03 James E Wilson <wilson@specifix.com>
...
* mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,
mips/dve.ld, mips/idt.ld, mips/idt32.ld, mips/idt64.ld,
mips/idtecoff.ld, mips/jmr3904app-java.ld, mips/jmr3904app.ld,
jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld, mips/nullmon.ld,
mips/pmon.ld: Add support for .bss.* sections.
2005-10-03 17:29:47 +00:00
Jeff Johnston
3924c5c780
2005-09-23 James E Wilson <wilson@specifix.com>
...
* mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,
mips/dve.ld, mips/idt.ld, mips/idt32.ld, mips/idt64.ld,
mips/idtecoff.ld, mips/jmr3904app-java.ld, mips/jmr3904app.ld,
jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld, mips/nullmon.ld,
mips/pmon.ld: Change x* to x.* in existing linkonce lines. Add
support for .gnu.linkonce.b.*.
2005-09-23 15:51:10 +00:00
Jeff Johnston
53fabb7b24
2005-08-30 Jeff Johnston <jjohnstn@redhat.com>
...
* rs6000/Makefile.in (VPATH): Use colon as separator.
2005-08-30 16:11:27 +00:00
Jeff Johnston
b9adb4af26
Fix date stamp.
2005-08-30 16:05:47 +00:00
Aldy Hernandez
b12e178425
* ms1/access.c: Change copyright notice.
2005-08-25 22:36:48 +00:00
DJ Delorie
82ef66c933
* m32c/Makefile.in (m16cmon.ld, m32cmon.ld): Fix output names.
...
(*.o): Add dependencies.
* m32c/m32csys.h: Move syscall location to 0x400 as per Renesas
recommendations.
2005-08-19 16:18:04 +00:00
DJ Delorie
91888cc07b
* m32c/Makefile.in: Block out memory regions reserved for monitors
...
and simulators. Add monitor link scripts.
2005-08-18 18:43:45 +00:00
Jeff Johnston
e448b01f6b
2005-08-16 Shaun Jackman <sjackman@gmail.com>
...
* arm/syscalls.c (initialise_monitor_handles): Set
monitor_stderr to the result of SWI_open(":tt", "a")
instead of simply duplicating stdout.
2005-08-16 18:05:35 +00:00
Jeff Johnston
250996a91b
Add * qualifier for file list.
2005-08-10 20:29:55 +00:00
Jeff Johnston
a663cd89a7
2005-08-10 DJ Delorie <dj@redhat.com>
...
* configure.in: Add m32c support.
* configure: Regenerated
* m32c: New directory, Renesas R8C/M16C/M32C support.
* m32c/abort.S m32c/argvlen.S m32c/argv.S m32c/chdir.S,
m32c/chmod.S m32c/close.S m32c/configure m32c/configure.in,
m32c/crt0.S, m32c/crtn.S, m32c/exit.S, m32c/fstat.S,
m32c/genscript, m32c/getpid.S, m32c/gettimeofday.S,
m32c/heaptop.S, m32c/isatty.S, m32c/kill.S, m32c/link.S,
m32c/lseek.S, m32c/m32csys.h, m32c/m32c.tmpl, m32c/Makefile.in,
m32c/open.S, m32c/read.S, m32c/sbrk.c, m32c/stat.S, m32c/time.S,
m32c/times.S, m32c/unlink.S, m32c/utime.S, m32c/write.S: New files
2005-08-10 20:29:33 +00:00