summaryrefslogtreecommitdiff
path: root/lib/csu/sparc64/Makefile
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2004-01-08 14:59:16 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2004-01-08 14:59:16 +0000
commit58b037aa2a117fe4c474549ee14e4c6bfbba585d (patch)
treef5d8f4fd6ca0aa5131b9bc178009e1cae0a1bae3 /lib/csu/sparc64/Makefile
parent6e07118b4073b7f92810dfdf7b6a0ea317d3ae5f (diff)
__init/__fini handling on ELF has not been correct. It is supposed to
be a section which code stubs (branches) can be added to initialize/destructor This adds MD stubs to allow this to operate as expected. should fix wine and behave according to ELF specs. ok miod@
Diffstat (limited to 'lib/csu/sparc64/Makefile')
-rw-r--r--lib/csu/sparc64/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csu/sparc64/Makefile b/lib/csu/sparc64/Makefile
index 27b8c5d3076..e63640416b8 100644
--- a/lib/csu/sparc64/Makefile
+++ b/lib/csu/sparc64/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2003/05/30 19:03:24 drahn Exp $
+# $OpenBSD: Makefile,v 1.3 2004/01/08 14:59:15 drahn Exp $
# $NetBSD: Makefile,v 1.6 1996/10/18 05:27:38 thorpej Exp $
CFLAGS+= -DLIBC_SCCS -DELFSIZE=64
@@ -7,7 +7,7 @@ SRCS= crt0.c crtbegin.c crtbeginS.c crtend.c crtendS.c
ELFDIR= ${.CURDIR}/../common_elf
.PATH: ${ELFDIR}
-CFLAGS+= -I${ELFDIR}
+CFLAGS+= -I${ELFDIR} -I${.CURDIR}
PICFLAG?=-fpic