summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-02-03 22:51:31 +0000
committerart <art@openbsd.org>2001-02-03 22:51:31 +0000
commit1fc6db69f897745f5187ef1fa350ef3fd454d273 (patch)
treec5e42f8bf9368428a05da408e4c794913f5f0473
parentUse crtbegin and crtend from common_elf. (diff)
downloadwireguard-openbsd-1fc6db69f897745f5187ef1fa350ef3fd454d273.tar.xz
wireguard-openbsd-1fc6db69f897745f5187ef1fa350ef3fd454d273.zip
Decruftification.
-rw-r--r--lib/csu/common_elf/crtbegin.c9
-rw-r--r--lib/csu/crtbegin.c9
2 files changed, 2 insertions, 16 deletions
diff --git a/lib/csu/common_elf/crtbegin.c b/lib/csu/common_elf/crtbegin.c
index 02baf77f8ce..d18d35a652c 100644
--- a/lib/csu/common_elf/crtbegin.c
+++ b/lib/csu/common_elf/crtbegin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crtbegin.c,v 1.1 2001/02/03 22:47:00 art Exp $ */
+/* $OpenBSD: crtbegin.c,v 1.2 2001/02/03 22:51:31 art Exp $ */
/* $NetBSD: crtbegin.c,v 1.1 1996/09/12 16:59:03 cgd Exp $ */
/*
@@ -31,12 +31,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef ECOFF_COMPAT
-
-/*
- * XXX EVENTUALLY SHOULD BE MERGED BACK WITH c++rt0.c
- */
-
/*
* Run-time module for GNU C++ compiled shared libraries.
*
@@ -109,4 +103,3 @@ __fini()
__dtors();
}
-#endif /* !ECOFF_COMPAT */
diff --git a/lib/csu/crtbegin.c b/lib/csu/crtbegin.c
index 02baf77f8ce..d18d35a652c 100644
--- a/lib/csu/crtbegin.c
+++ b/lib/csu/crtbegin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crtbegin.c,v 1.1 2001/02/03 22:47:00 art Exp $ */
+/* $OpenBSD: crtbegin.c,v 1.2 2001/02/03 22:51:31 art Exp $ */
/* $NetBSD: crtbegin.c,v 1.1 1996/09/12 16:59:03 cgd Exp $ */
/*
@@ -31,12 +31,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef ECOFF_COMPAT
-
-/*
- * XXX EVENTUALLY SHOULD BE MERGED BACK WITH c++rt0.c
- */
-
/*
* Run-time module for GNU C++ compiled shared libraries.
*
@@ -109,4 +103,3 @@ __fini()
__dtors();
}
-#endif /* !ECOFF_COMPAT */