freebsd-dev/lib/libc/amd64
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 siglongjmp(): Preserve floating point exception flags on i386 and amd64. 2014-06-09 21:35:36 +00:00
stdlib Add section .note.GNU-stack for assembly files used by 386 and amd64. 2011-01-07 16:08:40 +00:00
string Remove incorrect attribution. 2011-07-21 20:06:14 +00:00
sys The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and 2015-04-18 21:50:13 +00:00
_fpmath.h Add an alternative view of the bits in an 80-bit long double (64+16 2008-01-17 16:39:07 +00:00
arith.h
gd_qnan.h Arrange so that the NaN returned by strtod("nan", NULL) is the same as 2007-12-16 21:15:09 +00:00
Makefile.inc Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
Symbol.map libc/amd64: Do not export .cerror. 2012-09-06 20:59:49 +00:00
SYS.h Introduce a WEAK_REFERENCE() alias and use it. Get rid of the CNAME and the 2013-11-21 21:25:58 +00:00