summaryrefslogtreecommitdiffstats
path: root/libgloss/crx/crtn.S
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2004-10-05 20:00:53 +0000
committerJeff Johnston <jjohnstn@redhat.com>2004-10-05 20:00:53 +0000
commit49a8b8f05cc85693a05dede399f4dfa5a829b718 (patch)
treed2aa759d150bf5ff4687433e66bc26cd7ca0f7aa /libgloss/crx/crtn.S
parent1185687a7b7f2e707484100d48a68d074d763f15 (diff)
downloadcygnal-49a8b8f05cc85693a05dede399f4dfa5a829b718.tar.gz
cygnal-49a8b8f05cc85693a05dede399f4dfa5a829b718.tar.bz2
cygnal-49a8b8f05cc85693a05dede399f4dfa5a829b718.zip
2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
* configure.in: Support crx-*-*. * configure: regenerate. * crx/_exit.c: New file. * crx/_getenv.c: Ditto. * crx/_rename: Ditto. * crx/close.c: Ditto. * crx/configure.in: Ditto. * crx/crti.S: Ditto. * crx/crtn.S: Ditto. * crx/crt0.S: Ditto. * crx/dvz_hndl.c: Ditto. * crx/flg_hndl.c: Ditto. * crx/fstat.c: Ditto. * crx/getpid.c: Ditto. * crx/iad_hndl.c: Ditto. * crx/intable.c: Ditto. * crx/isatty.c: Ditto. * crx/kill.c: Ditto. * crx/lseek.c: Ditto. * crx/Makefile.in: Ditto. * crx/open.c: Ditto. * crx/putnum.c: Ditto. * crx/read.c: Ditto. * crx/sbrk.c: Ditto. * crx/sim.ld: Ditto. * crx/stat.c: Ditto. * crx/svc_hndl.c: Ditto. * crx/time.c: Ditto. * crx/und_hndl.c: Ditto. * crx/unlink.c: Ditto. * crx/write.c: Ditto.
Diffstat (limited to 'libgloss/crx/crtn.S')
-rw-r--r--libgloss/crx/crtn.S41
1 files changed, 41 insertions, 0 deletions
diff --git a/libgloss/crx/crtn.S b/libgloss/crx/crtn.S
new file mode 100644
index 000000000..8375f43e8
--- /dev/null
+++ b/libgloss/crx/crtn.S
@@ -0,0 +1,41 @@
+/* Specialized code needed to support construction and destruction of
+ file-scope objects in C++ and Java code, and to support exception handling.
+ Copyright (C) 1999 Free Software Foundation, Inc.
+ Contributed by Charles-Antoine Gauthier (charles.gauthier@iit.nrc.ca).
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GCC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GCC; see the file COPYING. If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
+
+/* As a special exception, if you link this library with files
+ compiled with GCC to produce an executable, this does not cause
+ the resulting executable to be covered by the GNU General Public License.
+ This exception does not however invalidate any other reasons why
+ the executable file might be covered by the GNU General Public License. */
+
+/*
+ * This file supplies function epilogues for the .init and .fini sections.
+ * It is linked in after all other files.
+ */
+
+ .file "crtn.o"
+ .ident "GNU C crtn.o"
+
+ .section .init
+ popret ra
+
+ .section .fini
+ popret ra