From: John Marino Date: Sat, 17 Mar 2012 14:46:52 +0000 (+0100) Subject: crtstuff: Remove unused crtbegin/crtend support files X-Git-Tag: v3.2.0~1225 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/6be2de9ae82304bc0de4968f93a79216bc59cf0e crtstuff: Remove unused crtbegin/crtend support files These files were imported: commit 9b1e249481830caa2004c437ecda34c48b92798d (joerg, 2004-06-14) The files stop being useful here: commit fd8b66cd017f88e1baffc6426ca74ea7f57dbadd (corecode, 2007-01-15) --- diff --git a/lib/csu/common/dot_init.h b/lib/csu/common/dot_init.h deleted file mode 100644 index 1f36441a34..0000000000 --- a/lib/csu/common/dot_init.h +++ /dev/null @@ -1,47 +0,0 @@ -/* $NetBSD: dot_init.h,v 1.1 2001/05/11 22:44:15 ross Exp $ */ -/* $DragonFly: src/lib/csu/common/dot_init.h,v 1.1 2004/06/14 18:56:12 joerg Exp $ */ - -/*- - * Copyright (c) 2001 Ross Harvey - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the NetBSD - * Foundation, Inc. and its contributors. - * 4. Neither the name of The NetBSD Foundation nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -#define INIT_FALLTHRU_DECL -#define FINI_FALLTHRU_DECL - -#define INIT_FALLTHRU() -#define FINI_FALLTHRU() - -#define MD_INIT_SECTION_PROLOGUE -#define MD_FINI_SECTION_PROLOGUE - -#define MD_INIT_SECTION_EPILOGUE -#define MD_FINI_SECTION_EPILOGUE diff --git a/lib/csu/common/dwarf2_eh.h b/lib/csu/common/dwarf2_eh.h deleted file mode 100644 index cdaf557d34..0000000000 --- a/lib/csu/common/dwarf2_eh.h +++ /dev/null @@ -1,78 +0,0 @@ -/* $NetBSD: dwarf2_eh.h,v 1.1 2001/08/03 05:54:44 thorpej Exp $ */ -/* $DragonFly: src/lib/csu/common/dwarf2_eh.h,v 1.1 2004/06/14 18:56:12 joerg Exp $ */ - -/*- - * Copyright (c) 2001 The NetBSD Foundation, Inc. - * All rights reserved. - * - * This code is derived from software contributed to The NetBSD Foundation - * by Jason R. Thorpe. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the NetBSD - * Foundation, Inc. and its contributors. - * 4. Neither the name of The NetBSD Foundation nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS - * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE - * POSSIBILITY OF SUCH DAMAGE. - */ - -/* - * Definitions for DWARF2 stack frame unwinding/exception handling. - */ - -#ifdef __GNUC__ -/* - * We must pass a DWARF2 unwind object to __register_frame_info(). - * Since we don't reference any members of this object, but rather - * only provide storage for it, we just declare it in a simple, - * dumb way. We need room for 6 pointers in GCC 2.95.3 and GCC 3.0, - * but declare it with a little slop at the end. - */ -struct dwarf2_eh_object { - void *space[8]; -}; - -/* - * These routines are provided by libgcc to register/unregister - * frame info. Note these prototypes must generate weak references - * (even though the routines in libgcc have strong definitions). - * This is so that we can link with a libgcc that doesn't have these - * routines (e.g. one that uses sjlj exceptions). - */ - -/* - * A few platforms (x86_64, s390) have read-only .eh_frame by default, - * so they must have it declared 'const'. These platforms will override - * __EH_FRAME_CONST (which is empty by default) in their CPP flags. - */ - -#ifndef __EH_FRAME_CONST -#define __EH_FRAME_CONST -#endif - -void __register_frame_info(__EH_FRAME_CONST void *, - struct dwarf2_eh_object *) __attribute__((weak)); -void __deregister_frame_info(__EH_FRAME_CONST void *) __attribute__((weak)); - -#endif /* __GNUC__ */