minix/lib/nbsd_libc
Thomas Veerman fb50da9dad Fine grained compatibility with _RENAMEd symbols
The NetBSD libc provides a mechanism to have versions of system calls.
By 'renaming' symbols to a new version, freshly compiled programs will
automatically use the new symbol iff they use the proper header files. The
old, not renamed, version of the symbol will still exist (after being moved
to the compat directory), so old programs can still link.

Since MINIX doesn't support dynamic linking, the whole rename mechanism
doesn't really work for us. However, removing it would create a huge diff
with the current NetBSD libc.

A lot of the compat code relies on things we don't (seem to) have, and
therefore does not get built and linked. This causes trouble for tools like
autoconf, which will fail to find the renamed symbols. For example,
currently select gets renamed to __select50 in libc. Autoconf looks for
'select' and doesn't find it and reports we don't have it. This is where
the compat.S stub comes into play: it generates the old symbols and jumps to
the new symbols. However, as this is done in one object file, all renamed
symbols get linked together, causing binaries to be huge. This patch fixes
that by generating an object file for each renamed symbol.

This patch also makes the MISSING_SYSCALLS more complete and marginally
reduces the diff with NetBSD.
2011-11-28 10:12:44 +00:00
..
arch Fix signal handling in NBSD libc. 2011-02-21 18:06:54 +00:00
atomic Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
cdb rename mmap() and munmap() 2011-07-16 13:01:19 +02:00
citrus rename mmap() and munmap() 2011-07-16 13:01:19 +02:00
compat Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
compat-43 Clean up NetBSD libc Minix port. 2011-02-15 16:31:16 +00:00
compat-minix Fine grained compatibility with _RENAMEd symbols 2011-11-28 10:12:44 +00:00
db rename mmap() and munmap() 2011-07-16 13:01:19 +02:00
dlfcn Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
gdtoa Port NetBSD libc functions to Minix. 2011-02-15 12:19:40 +00:00
gen Fix many more comiler warnings 2011-11-28 10:07:55 +00:00
gmon Clean up NetBSD libc Minix port. 2011-02-15 16:31:16 +00:00
hash Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
iconv Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
include add vfork to namespace.h 2011-07-22 14:07:04 +02:00
inet Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
isc Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
locale Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
md Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
misc Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
nameser Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
net Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
nls rename mmap() and munmap() 2011-07-16 13:01:19 +02:00
pkgconfig Reduce compiler/libraries/headers cases to only two 2011-07-04 04:09:52 +02:00
quad Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
regex Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
resolv Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
rpc Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
softfloat Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
ssp Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
stdio New stat structure. 2011-07-12 16:39:55 +02:00
stdlib Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
string Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
sys Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
sys-minix Fine grained compatibility with _RENAMEd symbols 2011-11-28 10:12:44 +00:00
termios Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
thread-stub Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
time make time functions pass PCTS test 2011-08-18 14:02:57 +00:00
uuid Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00
yp Port NetBSD libc functions to Minix. 2011-02-15 12:19:40 +00:00
libcincludes.mk Set MACHINE_ARCH and MACHINE_CPU to in NBSD libc Makefile 2011-02-22 09:22:26 +00:00
Makefile Fine grained compatibility with _RENAMEd symbols 2011-11-28 10:12:44 +00:00
Makefile.inc Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
minix-config.inc use minix malloc 2011-08-18 21:52:09 +00:00
shlib_version Import unmodified NetBSD libc in trunk 2011-02-14 19:36:03 +00:00