diff --git a/ChangeLog.csl b/ChangeLog.csl index e5122bfd5..3f961cb21 100644 --- a/ChangeLog.csl +++ b/ChangeLog.csl @@ -1,3 +1,9 @@ +2006-05-24 Nathan Sidwell + + * libgloss/m68k/Makefile.in (BDM_SYSOBJS): Remove bdm-outbyte.o + * libgloss/m68k/bdm-outbyte.c: Delete. + * libgloss/m68k/bdm-semihost.h (BDM_OUTBYTE): Mark as obsolete. + 2006-05-22 Sandra Loosemore * libgloss/m68k/bdm-semihost.h: Add new constants for additional diff --git a/libgloss/m68k/Makefile.in b/libgloss/m68k/Makefile.in index 59c192619..4c3513391 100644 --- a/libgloss/m68k/Makefile.in +++ b/libgloss/m68k/Makefile.in @@ -132,7 +132,7 @@ BDM_OBJS= bdm-isv.o bdm-semihost.o $(BDM_SYSOBJS) \ BDM_OTHER_OBJS= getpid.o kill.o sbrk.o print.o putnum.o BDM_SYSOBJS= bdm-close.o bdm-exit.o bdm-fstat.o bdm-gdb.o \ bdm-gettimeofday.o bdm-inbyte.o bdm-isatty.o bdm-lseek.o \ - bdm-open.o bdm-outbyte.o bdm-read.o bdm-rename.o \ + bdm-open.o bdm-read.o bdm-rename.o \ bdm-stat.o bdm-system.o bdm-unlink.o bdm-write.o BDM_ISRS= other_interrupt reset access_error address_error \ illegal_instruction divide_by_zero privilege_violation \ diff --git a/libgloss/m68k/bdm-outbyte.c b/libgloss/m68k/bdm-outbyte.c deleted file mode 100644 index 536c77717..000000000 --- a/libgloss/m68k/bdm-outbyte.c +++ /dev/null @@ -1,27 +0,0 @@ -/* - * bdm-outbyte.c -- - * - * 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. - */ - -#include "bdm-semihost.h" - -/* - * outbyte -- output a byte to a console. - */ - -void outbyte (char c) -{ - int code = c & 0xff; - BDM_TRAP (BDM_OUTBYTE, code); -} diff --git a/libgloss/m68k/bdm-semihost.h b/libgloss/m68k/bdm-semihost.h index 43f4dcfe0..4d6e2b9cc 100644 --- a/libgloss/m68k/bdm-semihost.h +++ b/libgloss/m68k/bdm-semihost.h @@ -32,7 +32,7 @@ /* Codes for BDM_FUNC_REG. */ #define BDM_EXIT 0 -#define BDM_OUTBYTE 1 +#define BDM_PUTCHAR 1 /* Obsolete */ #define BDM_OPEN 2 #define BDM_CLOSE 3 #define BDM_READ 4 @@ -46,7 +46,6 @@ #define BDM_ISATTY 12 #define BDM_SYSTEM 13 - /* Here is the macro that generates the trap. */ #define BDM_TRAP(func, arg) \