minix/libexec/ld.elf_so
Ben Gras 4b999f1962 build shared versions of libraries
building defaults to off until clang is updated.

current clang does not handle -shared, necessary to change the ld
invocation to build shared libraries properly. a new clang should be
installed and MKPIC defaults to no unless the newer clang is detected.

changes:

	. mainly small imports of a Makefile or two and small fixes
	  (turning things back on that were turned off in Makefiles)
	. e.g.: dynamic librefuse now depends on dynamic
	  libpuffs, so libpuffs has to be built dynamically too
	  and a make dependency barrier is needed in lib/Makefile
	. all library objects now have a PIC (for .so) and non-PIC
	  version, so everything is built twice.
	. generate PIC versions of the compat (un-RENAMEd) jump files,
	  include function type annotation in generated assembly
	. build progs with -static by default for now
	. also build ld.elf_so
	. also import NetBSD ldd
2012-04-16 05:21:20 +02:00
..
arch switch to netbsd csu 2012-04-12 13:26:24 +02:00
debug.c switch to netbsd csu 2012-04-12 13:26:24 +02:00
debug.h switch to netbsd csu 2012-04-12 13:26:24 +02:00
expand.c build shared versions of libraries 2012-04-16 05:21:20 +02:00
headers.c switch to netbsd csu 2012-04-12 13:26:24 +02:00
ld.elf_so.1 switch to netbsd csu 2012-04-12 13:26:24 +02:00
load.c build shared versions of libraries 2012-04-16 05:21:20 +02:00
Makefile build shared versions of libraries 2012-04-16 05:21:20 +02:00
map_object.c build shared versions of libraries 2012-04-16 05:21:20 +02:00
paths.c build shared versions of libraries 2012-04-16 05:21:20 +02:00
README switch to netbsd csu 2012-04-12 13:26:24 +02:00
reloc.c build shared versions of libraries 2012-04-16 05:21:20 +02:00
rtld.c build shared versions of libraries 2012-04-16 05:21:20 +02:00
rtld.h build shared versions of libraries 2012-04-16 05:21:20 +02:00
rtldenv.h switch to netbsd csu 2012-04-12 13:26:24 +02:00
search.c switch to netbsd csu 2012-04-12 13:26:24 +02:00
symbol.c switch to netbsd csu 2012-04-12 13:26:24 +02:00
sysident.h switch to netbsd csu 2012-04-12 13:26:24 +02:00
TODO switch to netbsd csu 2012-04-12 13:26:24 +02:00
xmalloc.c build shared versions of libraries 2012-04-16 05:21:20 +02:00
xprintf.c switch to netbsd csu 2012-04-12 13:26:24 +02:00

$NetBSD: README,v 1.11 2006/11/24 22:52:16 wiz Exp $

TO DO:

* Support for coexistence of 32-bit and 64-bit ELF on platforms that can
  do that.