From a8b02d46937e9d11ec28d10c9d701b11b099788f Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 2 May 2006 18:20:12 +0000 Subject: 2006-05-02 Jeff Johnston * libc/sys/sysnec810/Makefile.am: Specify .S files instead of .s. * libc/sys/sysnec810/Makefile.in: Regenerated. * libc/sys/sysnec810/crt0.S: Renamed from .s file. * libc/sys/sysnec810/io.S: Ditto. * libc/sys/sysnec810/crt0.s: Renamed to .S file. * libc/sys/sysnec810/io.s: Ditto. --- newlib/libc/sys/sysnec810/Makefile.am | 2 +- newlib/libc/sys/sysnec810/Makefile.in | 30 ++++++++++++------------- newlib/libc/sys/sysnec810/crt0.S | 22 +++++++++++++++++++ newlib/libc/sys/sysnec810/crt0.s | 22 ------------------- newlib/libc/sys/sysnec810/io.S | 41 +++++++++++++++++++++++++++++++++++ newlib/libc/sys/sysnec810/io.s | 41 ----------------------------------- 6 files changed, 79 insertions(+), 79 deletions(-) create mode 100644 newlib/libc/sys/sysnec810/crt0.S delete mode 100644 newlib/libc/sys/sysnec810/crt0.s create mode 100644 newlib/libc/sys/sysnec810/io.S delete mode 100644 newlib/libc/sys/sysnec810/io.s (limited to 'newlib/libc/sys/sysnec810') diff --git a/newlib/libc/sys/sysnec810/Makefile.am b/newlib/libc/sys/sysnec810/Makefile.am index ffdb988c2..e407730df 100644 --- a/newlib/libc/sys/sysnec810/Makefile.am +++ b/newlib/libc/sys/sysnec810/Makefile.am @@ -8,7 +8,7 @@ AM_CCASFLAGS = $(INCLUDES) noinst_LIBRARIES = lib.a -lib_a_SOURCES = io.s write.c sbrk.c misc.c +lib_a_SOURCES = io.S write.c sbrk.c misc.c lib_a_CCASFLAGS = $(AM_CCASFLAGS) lib_a_CFLAGS = $(AM_CFLAGS) diff --git a/newlib/libc/sys/sysnec810/Makefile.in b/newlib/libc/sys/sysnec810/Makefile.in index a8a58df19..661bbafff 100644 --- a/newlib/libc/sys/sysnec810/Makefile.in +++ b/newlib/libc/sys/sysnec810/Makefile.in @@ -64,11 +64,11 @@ lib_a_OBJECTS = $(am_lib_a_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) depcomp = am__depfiles_maybe = +CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS) COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS) SOURCES = $(lib_a_SOURCES) ETAGS = etags CTAGS = ctags @@ -182,7 +182,7 @@ AUTOMAKE_OPTIONS = cygnus INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) AM_CCASFLAGS = $(INCLUDES) noinst_LIBRARIES = lib.a -lib_a_SOURCES = io.s write.c sbrk.c misc.c +lib_a_SOURCES = io.S write.c sbrk.c misc.c lib_a_CCASFLAGS = $(AM_CCASFLAGS) lib_a_CFLAGS = $(AM_CFLAGS) ACLOCAL_AMFLAGS = -I ../../.. @@ -190,7 +190,7 @@ CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host all: all-am .SUFFIXES: -.SUFFIXES: .c .o .obj .s +.SUFFIXES: .S .c .o .obj am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @@ -238,6 +238,18 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c +.S.o: + $(CCASCOMPILE) -c $< + +.S.obj: + $(CCASCOMPILE) -c `$(CYGPATH_W) '$<'` + +lib_a-io.o: io.S + $(CCAS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-io.o `test -f 'io.S' || echo '$(srcdir)/'`io.S + +lib_a-io.obj: io.S + $(CCAS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-io.obj `if test -f 'io.S'; then $(CYGPATH_W) 'io.S'; else $(CYGPATH_W) '$(srcdir)/io.S'; fi` + .c.o: $(COMPILE) -c $< @@ -261,18 +273,6 @@ lib_a-misc.o: misc.c lib_a-misc.obj: misc.c $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(lib_a_CFLAGS) $(CFLAGS) -c -o lib_a-misc.obj `if test -f 'misc.c'; then $(CYGPATH_W) 'misc.c'; else $(CYGPATH_W) '$(srcdir)/misc.c'; fi` - -.s.o: - $(CCASCOMPILE) -c $< - -.s.obj: - $(CCASCOMPILE) -c `$(CYGPATH_W) '$<'` - -lib_a-io.o: io.s - $(CCAS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-io.o `test -f 'io.s' || echo '$(srcdir)/'`io.s - -lib_a-io.obj: io.s - $(CCAS) $(lib_a_CCASFLAGS) $(CCASFLAGS) -c -o lib_a-io.obj `if test -f 'io.s'; then $(CYGPATH_W) 'io.s'; else $(CYGPATH_W) '$(srcdir)/io.s'; fi` uninstall-info-am: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) diff --git a/newlib/libc/sys/sysnec810/crt0.S b/newlib/libc/sys/sysnec810/crt0.S new file mode 100644 index 000000000..3c7a382ff --- /dev/null +++ b/newlib/libc/sys/sysnec810/crt0.S @@ -0,0 +1,22 @@ + .set STACKTOP, 0x100000 + + .extern __tp_TEXT, 4 + .extern __gp_DATA, 4 + .extern _main + .globl __start + .globl _exit + .globl __exit + + .text +__start: + mov 2, r10 -- set Cache Control Word + ldsr r10, 24 -- +# + mov STACKTOP, sp -- set stack pointer + mov #__tp_TEXT, tp -- set tp register + mov #__gp_DATA, gp -- set gp register offset + add tp, gp -- set gp register + jal _main -- call main function +__exit: + halt -- end of the program + diff --git a/newlib/libc/sys/sysnec810/crt0.s b/newlib/libc/sys/sysnec810/crt0.s deleted file mode 100644 index 3c7a382ff..000000000 --- a/newlib/libc/sys/sysnec810/crt0.s +++ /dev/null @@ -1,22 +0,0 @@ - .set STACKTOP, 0x100000 - - .extern __tp_TEXT, 4 - .extern __gp_DATA, 4 - .extern _main - .globl __start - .globl _exit - .globl __exit - - .text -__start: - mov 2, r10 -- set Cache Control Word - ldsr r10, 24 -- -# - mov STACKTOP, sp -- set stack pointer - mov #__tp_TEXT, tp -- set tp register - mov #__gp_DATA, gp -- set gp register offset - add tp, gp -- set gp register - jal _main -- call main function -__exit: - halt -- end of the program - diff --git a/newlib/libc/sys/sysnec810/io.S b/newlib/libc/sys/sysnec810/io.S new file mode 100644 index 000000000..f85975a1f --- /dev/null +++ b/newlib/libc/sys/sysnec810/io.S @@ -0,0 +1,41 @@ +# V800 Series Assembler Source File created by cxx732 + .data + .sdata + .bss + .sbss + .text + #@(#)V800 Series Assembly Code Improver E1.50c [16 Jul 93] + #@(#)V800 Series Assembly Code Generator E1.00f'[25 Nov 93] + #@(#)V800 Series Optic Optimizer E1.00e [13 Jul 93] + #@(#)optimized at Wed May 11 13:37:07 1994 + #@(#)option:_R_xcedfgbhjqkn___s____T: + #@(#)V800 Series Optic Inliner E1.00c [14 Jul 93] + #@(#)V800 Series Optic Merger E1.00b [15 Jul 93] + #@(#)V800 Series Optimizing C Compiler Frontend E1.00j [26 Feb 94] + .file "/sethra/death/sef/v810/devo/newlib/libc/sys/v810/io.c" + #@(#) fsort : -N8192 -G512 -C1024 -q -e -a -d + .align 4 + .frame __inb, .F2 + .globl __inb +__inb: + add -.F2, sp + in.b [r6],r10 + andi 0xff, r10, r10 + add .F2, sp + jmp [lp] + .set .F2, 0x8 + .set .A2, 0x4 + .set .T2, 0x0 + .align 4 + .frame __outb, .F3 + .globl __outb +__outb: + andi 0xff, r7, r10 + out.b r10,[r6] + jmp [lp] + .set .F3, 0x0 + .set .A3, 0x0 + .set .T3, 0x0 + .vline + .vdebug + .vdbstrtab diff --git a/newlib/libc/sys/sysnec810/io.s b/newlib/libc/sys/sysnec810/io.s deleted file mode 100644 index f85975a1f..000000000 --- a/newlib/libc/sys/sysnec810/io.s +++ /dev/null @@ -1,41 +0,0 @@ -# V800 Series Assembler Source File created by cxx732 - .data - .sdata - .bss - .sbss - .text - #@(#)V800 Series Assembly Code Improver E1.50c [16 Jul 93] - #@(#)V800 Series Assembly Code Generator E1.00f'[25 Nov 93] - #@(#)V800 Series Optic Optimizer E1.00e [13 Jul 93] - #@(#)optimized at Wed May 11 13:37:07 1994 - #@(#)option:_R_xcedfgbhjqkn___s____T: - #@(#)V800 Series Optic Inliner E1.00c [14 Jul 93] - #@(#)V800 Series Optic Merger E1.00b [15 Jul 93] - #@(#)V800 Series Optimizing C Compiler Frontend E1.00j [26 Feb 94] - .file "/sethra/death/sef/v810/devo/newlib/libc/sys/v810/io.c" - #@(#) fsort : -N8192 -G512 -C1024 -q -e -a -d - .align 4 - .frame __inb, .F2 - .globl __inb -__inb: - add -.F2, sp - in.b [r6],r10 - andi 0xff, r10, r10 - add .F2, sp - jmp [lp] - .set .F2, 0x8 - .set .A2, 0x4 - .set .T2, 0x0 - .align 4 - .frame __outb, .F3 - .globl __outb -__outb: - andi 0xff, r7, r10 - out.b r10,[r6] - jmp [lp] - .set .F3, 0x0 - .set .A3, 0x0 - .set .T3, 0x0 - .vline - .vdebug - .vdbstrtab -- cgit v1.2.3