1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00
freebsd/lib/libc/powerpc64
Konstantin Belousov 0538aafc41 The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and
pwrite(2) syscalls are wrapped to provide compatibility with pre-7.x
kernels which required padding before the off_t parameter.  The
fcntl(2) contains compatibility code to handle kernels before the
struct flock was changed during the 8.x CURRENT development.  The
shims were reasonable to allow easier revert to the older kernel at
that time.

Now, two or three major releases later, shims do not serve any
purpose.  Such old kernels cannot handle current libc, so revert the
compatibility code.

Make padded syscalls support conditional under the COMPAT6 config
option.  For COMPAT32, the syscalls were under COMPAT6 already.

Remove WITHOUT_SYSCALL_COMPAT build option, which only purpose was to
(partially) disable the removed shims.

Reviewed by:	jhb, imp (previous versions)
Discussed with:	peter
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2015-04-18 21:50:13 +00:00
..
gen Save and restore non-volatile floating-point registers during longjmp(). 2015-03-08 19:37:08 +00:00
softfloat
sys The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and 2015-04-18 21:50:13 +00:00
_fpmath.h
arith.h
gd_qnan.h
Makefile.inc libc: Eliminate duplicate copies of __vdso_gettc.c 2015-04-02 21:18:11 +00:00
Symbol.map Replace a proliferation of buggy MD implementations of modf() with a 2011-10-21 06:40:36 +00:00
SYS.h Get rid of the CONCAT macro. 2013-11-23 18:50:43 +00:00