summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/Makefile
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1998-03-07 19:24:35 +0000
committerjdp <jdp@FreeBSD.org>1998-03-07 19:24:35 +0000
commit350f58aa8f1baac341d34d10b452ce3d34d25447 (patch)
tree5b100ebbd54fbed2d6eff4d0fc9ec38edacfb9c1 /libexec/rtld-elf/Makefile
parent8222bc81a24ad204d76d22477847c9e34a4bbac2 (diff)
downloadFreeBSD-src-350f58aa8f1baac341d34d10b452ce3d34d25447.zip
FreeBSD-src-350f58aa8f1baac341d34d10b452ce3d34d25447.tar.gz
Import the ELF dynamic linker. This is the ElfKit version with
quite a few enhancements and bug fixes. There are still some known deficiencies, but it should be adequate to get us started with ELF. Submitted by: John Polstra <jdp@polstra.com>
Diffstat (limited to 'libexec/rtld-elf/Makefile')
-rw-r--r--libexec/rtld-elf/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
new file mode 100644
index 0000000..cc6dfbe
--- /dev/null
+++ b/libexec/rtld-elf/Makefile
@@ -0,0 +1,15 @@
+#
+# $Id: Makefile,v 1.5 1998/03/05 21:05:47 jdp Exp $
+#
+
+PROG= ld-elf.so.1
+SRCS= rtld_start.S rtld.c map_object.c malloc.c xmalloc.c debug.c
+NOMAN= true
+CFLAGS+= -elf -fpic
+CFLAGS+= -Wall
+LDFLAGS+= -elf -nostdlib -Wl,-Bshareable,-Bsymbolic
+LDADD+= -lc_pic
+
+.PATH: ${.CURDIR}/${MACHINE}
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud