summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/sparc
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2002-07-03 03:17:35 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2002-07-03 03:17:35 +0000
commit3cf5a9922388efce10545d3aa590e326d9e903ca (patch)
tree287b45793f1e9900b1914b381161449362a63e5e /c/src/exec/score/cpu/sparc
parent2002-07-01 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-3cf5a9922388efce10545d3aa590e326d9e903ca.tar.bz2
2002-07-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* rtems.S: Remove. * Makefile.am: Reflect changes above.
Diffstat (limited to 'c/src/exec/score/cpu/sparc')
-rw-r--r--c/src/exec/score/cpu/sparc/ChangeLog5
-rw-r--r--c/src/exec/score/cpu/sparc/Makefile.am7
-rw-r--r--c/src/exec/score/cpu/sparc/rtems.S50
3 files changed, 6 insertions, 56 deletions
diff --git a/c/src/exec/score/cpu/sparc/ChangeLog b/c/src/exec/score/cpu/sparc/ChangeLog
index 70f38f25d2..e1571874f5 100644
--- a/c/src/exec/score/cpu/sparc/ChangeLog
+++ b/c/src/exec/score/cpu/sparc/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * rtems.S: Remove.
+ * Makefile.am: Reflect changes above.
+
2002-07-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_PROJECT_ROOT.
diff --git a/c/src/exec/score/cpu/sparc/Makefile.am b/c/src/exec/score/cpu/sparc/Makefile.am
index b6222466f5..68153cba62 100644
--- a/c/src/exec/score/cpu/sparc/Makefile.am
+++ b/c/src/exec/score/cpu/sparc/Makefile.am
@@ -41,19 +41,14 @@ REL = $(ARCH)/rtems-cpu.rel
rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
-$(PROJECT_RELEASE)/lib$(MULTISUBDIR)/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
- $(INSTALL_DATA) $< $@
-
$(REL): $(rtems_cpu_rel_OBJECTS)
$(make-rel)
-TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/rtems$(LIB_VARIANT).o
-
all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) \
$(TMPINSTALL_FILES)
.PRECIOUS: $(REL)
-EXTRA_DIST = cpu.c cpu_asm.S rtems.S
+EXTRA_DIST = cpu.c cpu_asm.S
include $(top_srcdir)/../../../automake/local.am
diff --git a/c/src/exec/score/cpu/sparc/rtems.S b/c/src/exec/score/cpu/sparc/rtems.S
deleted file mode 100644
index ac7c66c729..0000000000
--- a/c/src/exec/score/cpu/sparc/rtems.S
+++ /dev/null
@@ -1,50 +0,0 @@
-/* rtems.s
- *
- * This file contains the single entry point code for
- * the SPARC port of RTEMS.
- *
- * COPYRIGHT (c) 1989-1999.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.OARcorp.com/rtems/license.html.
- *
- * $Id$
- */
-
-#include <asm.h>
-
-/*
- * RTEMS
- *
- * This routine jumps to the directive indicated in the
- * CPU defined register. This routine is used when RTEMS is
- * linked by itself and placed in ROM. This routine is the
- * first address in the ROM space for RTEMS. The user "calls"
- * this address with the directive arguments in the normal place.
- * This routine then jumps indirectly to the correct directive
- * preserving the arguments. The directive should not realize
- * it has been "wrapped" in this way. The table "_Entry_points"
- * is used to look up the directive.
- *
- * void RTEMS()
- */
-
- .align 4
- PUBLIC(RTEMS)
-SYM(RTEMS):
- /*
- * g2 was chosen because gcc uses it as a scratch register in
- * similar code scenarios and the other locals, ins, and outs
- * are off limits to this routine unless it does a "save" and
- * copies its in registers to the outs which only works up until
- * 6 parameters. Best to take the simple approach in this case.
- */
- sethi SYM(_Entry_points), %g2
- or %g2, %lo(SYM(_Entry_points)), %g2
- sll %g1, 2, %g1
- add %g1, %g2, %g2
- jmp %g2
- nop
-