minix/lib
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
..
ack libfp: use ${CC} instead of cc, reported by Antoine Leca. 2010-07-22 22:24:08 +00:00
csu csu: add code to call constructors to be used by clang 2011-11-20 20:20:51 +01:00
libarchive Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libaudiodriver Split block/character protocols and libdriver 2011-11-23 14:06:37 +01:00
libbdev Split block/character protocols and libdriver 2011-11-23 14:06:37 +01:00
libblockdriver Add block device tracing facility 2011-11-25 13:47:21 +01:00
libbz2 import NetBSD bzip2 and libbz2 2011-11-18 11:11:04 +01:00
libc Fix many more comiler warnings 2011-11-28 10:07:55 +00:00
libchardriver Split block/character protocols and libdriver 2011-11-23 14:06:37 +01:00
libcrypt don't keep minix-port.patch files in repo 2011-08-10 13:38:12 +00:00
libcurses minor bugfixes caught by clang warnings 2011-11-18 12:18:23 +01:00
libddekit Fix many more comiler warnings 2011-11-28 10:07:55 +00:00
libdevman Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libedit fix many clang warnings in lib/ 2011-06-23 19:25:36 +02:00
libelf Reduce compiler/libraries/headers cases to only two 2011-07-04 04:09:52 +02:00
libend Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
libexec Reduce compiler/libraries/headers cases to only two 2011-07-04 04:09:52 +02:00
libfetch Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libhgfs Build NetBSD libc library in world in ELF mode. 2011-06-24 11:46:30 +02:00
libl Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
liblwip Cleanup servers to make GCC/Clang a little happier 2011-09-08 13:57:03 +00:00
libm Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
libminc Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libminixfs Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libminixutil rename -lutil to -lminixutil 2011-08-01 14:32:14 +02:00
libmthread Clean up mthread 2011-07-27 09:30:26 +00:00
libnetdriver Rename mkfiles from minix.*.mk to bsd.*.mk 2010-06-25 18:29:09 +00:00
libpuffs Fix compiler warnings 2011-11-14 14:21:39 +00:00
librefuse Fix many more comiler warnings 2011-11-28 10:07:55 +00:00
libsys Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libterminfo don't keep minix-port.patch files in repo 2011-08-10 13:38:12 +00:00
libtimers Replace NULL macro defs with null.h include 2010-07-22 10:03:31 +00:00
libusb Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libutil Fine grained compatibility with _RENAMEd symbols 2011-11-28 10:12:44 +00:00
libvassert Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
libvtreefs Tell VFS how many requests an FS can handle concurrently 2011-08-26 12:47:43 +00:00
libz Reduce compiler/libraries/headers cases to only two 2011-07-04 04:09:52 +02:00
nbsd_libasyn Reduce compiler/libraries/headers cases to only two 2011-07-04 04:09:52 +02:00
nbsd_libc Fine grained compatibility with _RENAMEd symbols 2011-11-28 10:12:44 +00:00
nbsd_libcompat_minix Switch to NetBSD passwd format 2011-11-14 14:47:42 +00:00
nbsd_libm make: set MACHINE_ARCH variable 2011-11-18 16:22:25 +01:00
nbsd_libminlib Fix a ton of compiler warnings 2011-11-14 10:07:49 +00:00
ack_build.sh changes for detecting and building for clang/binutils elf 2011-06-07 16:49:52 +02:00
elf_build.sh Reduce compiler/libraries/headers cases to only two 2011-07-04 04:09:52 +02:00
Makefile Split block/character protocols and libdriver 2011-11-23 14:06:37 +01:00
Makefile.inc minix.ack.mk: use CPPFLAGS for ACK asm files 2011-08-05 14:16:48 +02:00
README Incorporate bsdmake into buildsystem and reorganize libs 2010-02-16 14:41:33 +00:00

ack_build.sh - for ACK library building
gnu_build.sh - for GNU library building

ack_build.sh obj     - create objdirs for gnu libraries
ack_build.sh depend  - find dependencies of ack libraries
ack_build.sh all     - compile ack libraries
ack_build.sh install - compile and install ack libraries
ack_build.sh clean   - clean for ack libraries

gnu_build.sh obj     - create objdirs for gnu libraries
gnu_build.sh depend  - find dependencies of gnu libraries
gnu_build.sh all     - compile gnu libraries
gnu_build.sh install - compile and install gnu libraries
gnu_build.sh clean   - clean for gnu libraries