newlib-cygwin/libgloss/m68k/cf-isrs.c

164 lines
5.2 KiB
C
Raw Normal View History

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 13:41:06 +08:00
/*
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-12 03:58:01 +08:00
* cf-isv.c --
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 13:41:06 +08:00
*
* Copyright (c) 2006 CodeSourcery Inc
*
* The authors hereby grant permission to use, copy, modify, distribute,
* and license this software and its documentation for any purpose, provided
* that existing copyright notices are retained in all copies and that this
* notice is included verbatim in any distributions. No written agreement,
* license, or royalty fee is required for any of the authorized uses.
* Modifications to this software may be copyrighted by their authors
* and need not follow the licensing terms described here, provided that
* the new terms are clearly indicated on the first page of each file where
* they apply.
*/
/* This file contains default interrupt handlers code for the
interrupt vector. All but one of the interrupts are user
replaceable.
These interrupt handlers are entered whenever the associated
interrupt occurs. All they do is stop the debugger to give the user
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-12 03:58:01 +08:00
the opportunity to determine where the problem was. */
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 13:41:06 +08:00
/* Each ISR is a loop containing a halt instruction */
#define ISR_DEFINE(NAME) \
void __attribute__((interrupt_handler)) NAME (void) \
{ \
while (1) \
__asm__ __volatile__ ("halt" ::: "memory"); \
} \
struct eat_trailing_semicolon
#if defined (L_other_interrupt)
static ISR_DEFINE (__other_interrupt);
#define ALIAS __other_interrupt
#define PREFIX interrupt
#define ALIASES A(6) A(7) \
A(15) A(16) A(17) A(18) A(19) A(20) A(21) A(22) A(23) \
A(25) A(26) A(27) A(28) A(29) A(30) A(31) \
A(56) A(57) A(58) A(59) A(60) A(62) A(63) \
A(64) A(65) A(66) A(67) A(68) A(69) A(70) A(71) \
A(72) A(73) A(74) A(75) A(76) A(77) A(78) A(79) \
A(80) A(81) A(82) A(83) A(84) A(85) A(86) A(87) \
A(88) A(89) A(90) A(91) A(92) A(93) A(94) A(95) \
A(96) A(97) A(98) A(99) A(100) A(101) A(102) A(103) \
A(104) A(105) A(106) A(107) A(108) A(109) A(110) A(111) \
A(112) A(113) A(114) A(115) A(116) A(117) A(118) A(119) \
A(120) A(121) A(122) A(123) A(124) A(125) A(126) A(127) \
A(128) A(129) A(130) A(131) A(132) A(133) A(134) A(135) \
A(136) A(137) A(138) A(139) A(140) A(141) A(142) A(143) \
A(144) A(145) A(146) A(147) A(148) A(149) A(150) A(151) \
A(152) A(153) A(154) A(155) A(156) A(157) A(158) A(159) \
A(160) A(161) A(162) A(163) A(164) A(165) A(166) A(167) \
A(168) A(169) A(170) A(171) A(172) A(173) A(174) A(175) \
A(176) A(177) A(178) A(179) A(180) A(181) A(182) A(183) \
A(184) A(185) A(186) A(187) A(188) A(189) A(190) A(191) \
A(192) A(193) A(194) A(195) A(196) A(197) A(198) A(199) \
A(200) A(201) A(202) A(203) A(204) A(205) A(206) A(207) \
A(208) A(209) A(210) A(211) A(212) A(213) A(214) A(215) \
A(216) A(217) A(218) A(219) A(220) A(221) A(222) A(223) \
A(224) A(225) A(226) A(227) A(228) A(229) A(230) A(231) \
A(232) A(233) A(234) A(235) A(236) A(237) A(238) A(239) \
A(240) A(241) A(242) A(243) A(244) A(245) A(246) A(247) \
A(248) A(249) A(250) A(251) A(252) A(253) A(254) A(255)
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 13:41:06 +08:00
#endif
#if defined (L_access_error)
ISR_DEFINE (__access_error);
#define DEFINED __access_error
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 13:41:06 +08:00
#endif
#if defined (L_address_error)
ISR_DEFINE (__address_error);
#define DEFINED __address_error
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 13:41:06 +08:00
#endif
#if defined (L_illegal_instruction)
ISR_DEFINE (__illegal_instruction);
#define DEFINED __illegal_instruction
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 13:41:06 +08:00
#endif
#if defined (L_divide_by_zero)
ISR_DEFINE (__divide_by_zero);
#define DEFINED __divide_by_zero
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 13:41:06 +08:00
#endif
#if defined (L_privilege_violation)
ISR_DEFINE (__privilege_violation);
#define DEFINED __privilege_violation
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 13:41:06 +08:00
#endif
#if defined (L_trace)
ISR_DEFINE (__trace);
#define DEFINED __trace
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 13:41:06 +08:00
#endif
#if defined (L_unimplemented_opcode)
static ISR_DEFINE (__unimplemented_opcode);
#define ALIAS __unimplemented_opcode
#define PREFIX unimplemented_
#define SUFFIX _opcode
#define ALIASES A(line_a) A(line_f)
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 13:41:06 +08:00
#endif
#if defined (L_breakpoint_debug_interrupt)
static ISR_DEFINE (__breakpoint_debug_interrupt);
#define ALIAS __breakpoint_debug_interrupt
#define SUFFIX _breakpoint_debug_interrupt
#define ALIASES A(non_pc) A(pc)
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 13:41:06 +08:00
#endif
#if defined (L_format_error)
ISR_DEFINE (__format_error);
#define DEFINED __format_error
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 13:41:06 +08:00
#endif
#if defined (L_spurious_interrupt)
ISR_DEFINE (__spurious_interrupt);
#define DEFINED __spurious_interrupt
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 13:41:06 +08:00
#endif
#if defined (L_trap_interrupt)
static ISR_DEFINE (__trap_interrupt);
#define ALIAS __trap_interrupt
#define PREFIX trap
#define ALIASES A(0) A(1) A(2) A(3) A(4) A(5) A(6) A(7) \
A(8) A(9) A(10) A(11) A(12) A(13) A(14) A(15)
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 13:41:06 +08:00
#endif
#if defined (L_fp_interrupt)
static ISR_DEFINE (__fp_interrupt);
#define ALIAS __fp_interrupt
#define PREFIX fp_
#define ALIASES A(branch_unordered) A(inexact_result) A(divide_by_zero) \
A(underflow) A(operand_error) A(overflow) A(input_not_a_number) \
A(input_denormalized_number)
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 13:41:06 +08:00
#endif
#if defined (L_unsupported_instruction)
ISR_DEFINE (__unsupported_instruction);
#define DEFINED __unsupported_instruction
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 13:41:06 +08:00
#endif
#if defined(ALIAS)
#ifndef PREFIX
#define PREFIX
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 13:41:06 +08:00
#endif
#ifndef SUFFIX
#define SUFFIX
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 13:41:06 +08:00
#endif
#define STRING_(a) #a
#define STRING(a) STRING_(a)
#define PASTE4_(a,b,c,d) a##b##c##d
#define PASTE4(a,b,c,d) PASTE4_(a,b,c,d)
#define A(N) \
void __attribute__((weak, alias(STRING(ALIAS)))) PASTE4(__,PREFIX,N,SUFFIX) (void);
ALIASES
#elif !defined(DEFINED)
#error "No interrupt routine requested"
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 13:41:06 +08:00
#endif