Instead of using -I- -I${.CURDIR} and #include "dot_init.h", use:
-I${.CURDIR} and #include <dot_init.h>, since -I- is obsoleted in gcc-4, and it is too confusing anyway.
This commit is contained in:
parent
173e1af775
commit
351fa65664
@ -1,9 +1,9 @@
|
||||
# $NetBSD: Makefile,v 1.22 2002/01/14 01:31:58 thorpej Exp $
|
||||
# $NetBSD: Makefile,v 1.23 2006/05/19 19:11:12 christos Exp $
|
||||
|
||||
ELFSIZE= 64
|
||||
|
||||
#Uncomment the next line to enable the new .init fallthru
|
||||
CPPFLAGS+= -I- -I${.CURDIR}
|
||||
CPPFLAGS+= -I${.CURDIR}
|
||||
|
||||
OBJS+= crtfm.o
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# $NetBSD: Makefile,v 1.3 2004/08/21 12:12:28 rearnsha Exp $
|
||||
CPPFLAGS+= -I- -I${.CURDIR}
|
||||
# $NetBSD: Makefile,v 1.4 2006/05/19 19:11:12 christos Exp $
|
||||
CPPFLAGS+= -I${.CURDIR}
|
||||
|
||||
# Temporary hack to work around ld problems when linking Thumb applications
|
||||
# where the linker does not correctly insert an interworking veneer.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: crtbegin.c,v 1.27 2005/12/24 21:11:15 perry Exp $ */
|
||||
/* $NetBSD: crtbegin.c,v 1.28 2006/05/19 19:11:12 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2001, 2002 The NetBSD Foundation, Inc.
|
||||
@ -69,7 +69,7 @@
|
||||
#ifdef DWARF2_EH
|
||||
#include "dwarf2_eh.h"
|
||||
#endif
|
||||
#include "dot_init.h"
|
||||
#include <dot_init.h>
|
||||
|
||||
static void (*__CTOR_LIST__[1])(void)
|
||||
__attribute__((section(".ctors"))) = { (void *)-1 }; /* XXX */
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* $NetBSD: crtend.c,v 1.11 2004/08/28 00:19:22 thorpej Exp $ */
|
||||
/* $NetBSD: crtend.c,v 1.12 2006/05/19 19:11:12 christos Exp $ */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include "dot_init.h"
|
||||
#include <dot_init.h>
|
||||
|
||||
/*
|
||||
* WE SHOULD BE USING GCC-SUPPLIED crtend.o FOR GCC 3.3 AND
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: crti.c,v 1.2 2002/11/23 17:21:22 thorpej Exp $ */
|
||||
/* $NetBSD: crti.c,v 1.3 2006/05/19 19:11:12 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2001, 2002 The NetBSD Foundation, Inc.
|
||||
@ -41,7 +41,7 @@
|
||||
#include <sys/exec_elf.h>
|
||||
|
||||
#include "sysident.h"
|
||||
#include "dot_init.h"
|
||||
#include <dot_init.h>
|
||||
|
||||
INIT_FALLTHRU_DECL;
|
||||
FINI_FALLTHRU_DECL;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: crtn.c,v 1.1 2002/11/22 06:44:59 thorpej Exp $ */
|
||||
/* $NetBSD: crtn.c,v 1.2 2006/05/19 19:11:12 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2001, 2002 The NetBSD Foundation, Inc.
|
||||
@ -36,7 +36,7 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "dot_init.h"
|
||||
#include <dot_init.h>
|
||||
|
||||
MD_INIT_SECTION_EPILOGUE;
|
||||
MD_FINI_SECTION_EPILOGUE;
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.2 2003/10/06 05:28:05 matt Exp $
|
||||
CPPFLAGS+= -I- -I${.CURDIR}
|
||||
# $NetBSD: Makefile,v 1.3 2006/05/19 19:11:12 christos Exp $
|
||||
CPPFLAGS+= -I${.CURDIR}
|
||||
|
||||
.include "${.CURDIR}/../common_elf/Makefile.inc"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.8 2006/05/17 17:02:16 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2006/05/19 19:11:12 christos Exp $
|
||||
|
||||
#Uncomment the next line to enable the new .init fallthru
|
||||
CPPFLAGS+= -I- -I${.CURDIR}
|
||||
CPPFLAGS+= -I${.CURDIR}
|
||||
|
||||
.include "${.CURDIR}/../common_elf/Makefile.inc"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.6 2001/07/17 03:56:49 thorpej Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2006/05/19 19:11:12 christos Exp $
|
||||
|
||||
#Uncomment the next line to enable the new .init fallthru
|
||||
CPPFLAGS+= -I- -I${.CURDIR}
|
||||
CPPFLAGS+= -I${.CURDIR}
|
||||
|
||||
.include "${.CURDIR}/../common_elf/Makefile.inc"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.23 2001/07/18 04:43:48 simonb Exp $
|
||||
# $NetBSD: Makefile,v 1.24 2006/05/19 19:11:12 christos Exp $
|
||||
|
||||
#Uncomment the next line to enable the new .init fallthru
|
||||
CPPFLAGS+= -I- -I${.CURDIR}
|
||||
CPPFLAGS+= -I${.CURDIR}
|
||||
|
||||
.include "${.CURDIR}/../common_elf/Makefile.inc"
|
||||
|
@ -1,5 +1,5 @@
|
||||
# $NetBSD: Makefile,v 1.12 2001/07/17 12:16:43 tsubai Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2006/05/19 19:11:12 christos Exp $
|
||||
|
||||
CPPFLAGS+= -I- -I${.CURDIR}
|
||||
CPPFLAGS+= -I${.CURDIR}
|
||||
|
||||
.include "${.CURDIR}/../common_elf/Makefile.inc"
|
||||
|
@ -1,5 +1,5 @@
|
||||
# $NetBSD: Makefile,v 1.2 2001/07/23 20:43:31 tsubai Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2006/05/19 19:11:12 christos Exp $
|
||||
|
||||
CPPFLAGS+= -I- -I${.CURDIR}
|
||||
CPPFLAGS+= -I${.CURDIR}
|
||||
|
||||
.include "${.CURDIR}/../common_elf/Makefile.inc"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.1 2002/07/05 13:31:28 scw Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2006/05/19 19:11:12 christos Exp $
|
||||
|
||||
#Uncomment the next line to enable the new .init fallthru
|
||||
CPPFLAGS+= -I- -I${.CURDIR}
|
||||
CPPFLAGS+= -I${.CURDIR}
|
||||
|
||||
.include "${.CURDIR}/../common_elf/Makefile.inc"
|
||||
|
@ -1,7 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.5 2001/07/17 18:25:11 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2006/05/19 19:11:12 christos Exp $
|
||||
|
||||
#Uncomment the next line to enable the new .init fallthru
|
||||
CPPFLAGS+= -I- -I${.CURDIR}/../sparc_elf
|
||||
CPPFLAGS+= -I${.CURDIR}/../sparc_elf
|
||||
|
||||
ELFSIZE=64
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.5 2001/07/17 18:25:12 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2006/05/19 19:11:12 christos Exp $
|
||||
|
||||
#Uncomment the next line to enable the new .init fallthru
|
||||
CPPFLAGS+= -I- -I${.CURDIR}
|
||||
CPPFLAGS+= -I${.CURDIR}
|
||||
|
||||
.include "${.CURDIR}/../common_elf/Makefile.inc"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.2 2001/07/17 06:45:46 matt Exp $
|
||||
CPPFLAGS+= -I- -I${.CURDIR}
|
||||
# $NetBSD: Makefile,v 1.3 2006/05/19 19:11:12 christos Exp $
|
||||
CPPFLAGS+= -I${.CURDIR}
|
||||
|
||||
.include "${.CURDIR}/../common_elf/Makefile.inc"
|
||||
|
@ -1,6 +1,6 @@
|
||||
# $NetBSD: Makefile,v 1.4 2003/09/07 22:27:55 fvdl Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2006/05/19 19:11:13 christos Exp $
|
||||
|
||||
ELFSIZE=64
|
||||
CPPFLAGS+= -I- -I${.CURDIR} -D__EH_FRAME_CONST=const
|
||||
CPPFLAGS+= -I${.CURDIR} -D__EH_FRAME_CONST=const
|
||||
|
||||
.include "${.CURDIR}/../common_elf/Makefile.inc"
|
||||
|
Loading…
Reference in New Issue
Block a user