diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2004-01-08 14:59:16 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2004-01-08 14:59:16 +0000 |
commit | 58b037aa2a117fe4c474549ee14e4c6bfbba585d (patch) | |
tree | f5d8f4fd6ca0aa5131b9bc178009e1cae0a1bae3 /lib/csu/i386/Makefile | |
parent | 6e07118b4073b7f92810dfdf7b6a0ea317d3ae5f (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/i386/Makefile')
-rw-r--r-- | lib/csu/i386/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csu/i386/Makefile b/lib/csu/i386/Makefile index 234e9f70a87..0155a11ac85 100644 --- a/lib/csu/i386/Makefile +++ b/lib/csu/i386/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2003/05/30 19:03:24 drahn Exp $ +# $OpenBSD: Makefile,v 1.9 2004/01/08 14:59:15 drahn Exp $ # from: @(#)Makefile 5.5 (Berkeley) 5/21/91 CFLAGS+= -DLIBC_SCCS -fno-omit-frame-pointer @@ -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 |