Stefan Liebler
509361270b
S390: Fix namespace violation in struct stat (BZ #16714 ).
2014-03-24 16:59:01 +01:00
Joseph Myers
acd7f096d7
Complete _BSD_SOURCE / _SVID_source followup cleanup.
...
This patch completes the headers cleanup consequent on removal of
_BSD_SOURCE and _SVID_SOURCE (apart from any subsequent deprecations):
* #endif conditionals that referred to BSD or SVID are updated.
* Redundant __USE_* tests in cases involving __USE_MISC are removed.
This includes cases such as __USE_MISC || __USE_ISOC99, where
__USE_MISC is redundant (because __USE_MISC is only ever defined in
the default / _DEFAULT_SOURCE / _GNU_SOURCE case, when __USE_ISOC99
is also defined; the same applies to the non-XSI-extended POSIX
versions), and cases involving __USE_GNU, where __USE_GNU is
redundant (because if __USE_GNU is defined, so are the other __USE_*
macros). There may well be other cases of __USE_FOO || __USE_BAR
tests that could be simplified because one macro implies the other;
this patch only addresses cases involving __USE_MISC.
Tested x86_64.
* bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
* bits/sigaction.h [__USE_MISC]: Likewise.
* bits/waitstatus.h: Update #endif comments.
* ctype/ctype.h: Likewise.
* dirent/dirent.h: Likewise.
[__USE_MISC]: Remove redundant conditionals.
* grp/grp.h: Update #endif comments.
[__USE_GNU]: Remove redundant conditionals.
[__USE_MISC]: Likewise.
* inet/netinet/in.h [__USE_GNU]: Likewise.
* io/sys/stat.h [__USE_MISC]: Likewise.
* libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
* libio/bits/stdio.h: Update #endif comments.
[__USE_MISC]: Remove redundant conditionals.
* libio/bits/stdio2.h [__USE_MISC]: Likewise.
* libio/stdio.h: Update #endif comments.
[__USE_MISC]: Remove redundant conditionals.
* math/bits/math-finite.h [__USE_MISC]: Likewise.
* math/bits/mathcalls.h [__USE_MISC]: Likewise.
* math/math.h: Update #else and #endif comments.
[__USE_MISC]: Remove redundant conditionals.
* misc/sys/uio.h: Update #endif comments.
* posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
* posix/glob.h [__USE_MISC]: Likewise.
* posix/sys/types.h: Update #endif comments.
[__USE_MISC]: Remove redundant conditionals.
* posix/sys/wait.h: Update #endif comments.
[__USE_MISC]: Remove redundant conditionals.
* posix/unistd.h: Update #endif comments.
[__USE_MISC]: Remove redundant conditionals.
* pwd/pwd.h [__USE_GNU]: Likewise.
[__USE_MISC]: Likewise.
* resolv/netdb.h [__USE_GNU]: Likewise.
* signal/signal.h: Update #endif comments.
[__USE_MISC]: Remove redundant conditionals.
* stdlib/stdlib.h: Update #else and #endif comments.
[__USE_MISC]: Remove redundant conditionals.
[__USE_GNU]: Likewise.
* string/bits/string2.h [__USE_MISC]: Likewise.
* string/string.h: Update #endif comments.
[__USE_MISC]: Remove redundant conditionals.
* sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
Likewise.
* sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
* sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
Likewise.
* sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
comments.
[__USE_MISC]: Remove redundant conditionals.
* sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
* sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
* sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
* sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
Likewise.
* sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
Likewise.
* sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
Likewise.
* sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
Likewise.
* sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
* sysdeps/x86/bits/string.h: Update #endif comments.
* sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
conditionals.
* time/sys/time.h: Update #endif comments.
* time/time.h: Likewise.
[__USE_MISC]: Remove redundant conditionals.
2014-02-21 21:45:26 +00:00
Allan McRae
d4697bc93d
Update copyright notices with scripts/update-copyrights
2014-01-01 22:00:23 +10:00
Ondřej Bílka
d1d9eaf478
Use __glibc_reserved instead __unused.
2013-11-26 12:32:28 +01:00
Joseph Myers
568035b787
Update copyright notices with scripts/update-copyrights.
2013-01-02 19:05:09 +00:00
Paul Eggert
59ba27a63a
Replace FSF snail mail address with URLs.
2012-02-09 23:18:22 +00:00
Ulrich Drepper
64c1f3af5d
Fix double-inclusion problem of bits/stat.h.
2010-01-11 11:03:27 -08:00
Ulrich Drepper
f095bb7204
Add support for XPG7 testing.
...
The header conformance testing code needed extending for XPG7. This
exposed a few bugs in the headers. There are more changes to come.
2010-01-09 10:56:41 -08:00
Andreas Schwab
e3611aefb4
Use struct timespec for timestamps in struct stat also if __USE_XOPEN2K8.
...
POSIX.1-2008 made stat.st_[acm]tim mandatory.
2009-11-23 07:10:27 -08:00
Ulrich Drepper
3e6b0a28eb
* include/features.h: Define macros for XPG7/POSIX 2008.
...
* sysdeps/unix/sysv/linux/bits/stat.h: Protect UTIME_NOW and
UTIME_OMIT only with __USE_ATFILE.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
* io/sys/stat.h: Move mknodat definition into same conditional as
mknod.
* time/sys/time.h: futimesat is not among the functions accepted
into the POSIX standard.
2009-02-26 01:43:53 +00:00
Ulrich Drepper
c27d207813
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Define UTIME_NOW and
...
UTIME_OMIT.
* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_UTIMENSAT.
* io/sys/stat.h: Declare utimensat, futimens.
* io/utimensat.c: New file.
* io/futimens.c: New file.
* sysdeps/unix/sysv/linux/utimensat.c: New file.
* sysdeps/unix/sysv/linux/futimens.c: New file.
* io/Makefile (routines): Add utimensat, futimens.
* io/Versions: Add utimensat, futimens to GLIBC_2.6.
* sysdeps/unix/sysv/linux/lutimes.c: New file.
* sysdeps/unix/sysv/linux/futimes.c: Use utimensat syscall if
available.
* include/sys/cdefs.h: Redefine __nonnull so that test for
incorrect parameters in the libc code itself are not omitted.
2007-05-10 21:44:41 +00:00
Ulrich Drepper
752c83a2b6
Define _STATBUF_ST_NSEC.
2003-06-26 17:00:37 +00:00
Andreas Jaeger
d5f001d4e1
* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync
...
with Linux kernel.
* sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/kernel_stat.h
(_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.
* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Readd
__unused[1-3] since they're needed by some platforms. Handle
_HAVE_STAT_NSEC and _HAVE_STAT_NSEC64.
* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Add nsec resolution
for structs stat and stat64.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2002-12-31 13:24:35 +00:00
Ulrich Drepper
7bf75551f0
Update.
...
2002-07-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/bits/byteswap.h: Unified 31/64 bit byteswap.h.
* sysdeps/s390/s390-32/bits/byteswap.h: Remove.
* sysdeps/s390/s390-64/bits/byteswap.h: Remove.
* sysdeps/s390/bits/link.h: Unified 31/64 bit link.h.
* sysdeps/s390/s390-32/bits/link.h: Remove.
* sysdeps/s390/s390-64/bits/link.h: Remove.
* sysdeps/s390/bits/setjmp.h: Unified 31/64 bit setjmp.h.
* sysdeps/s390/s390-32/bits/setjmp.h: Remove.
* sysdeps/s390/s390-64/bits/setjmp.h: Remove.
* sysdeps/s390/bits/wordsize.h: New file.
* sysdeps/unix/sysv/linux/s390/bits/elfclass.h: Unified 31/64 bit
elfclass.h.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: Remove.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Unified 31/64 bit fcntl.h.
* sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: Remove.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: Remove.
* sysdeps/unix/sysv/linux/s390/bits/ipc.h: Unified 31/64 bit ipc.h.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: Remove.
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Unified 31/64 bit mman.h.
* sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: Remove.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: Remove.
* sysdeps/unix/sysv/linux/s390/bits/msq.h: Unified 31/64 bit msq.h.
* ysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: Remove.
* sysdeps/unix/sysv/linux/s390/bits/resource.h: Unified 31/64 bit
resource.h.
* sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: Remove.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: Remove.
* sysdeps/unix/sysv/linux/s390/bits/sem.h: Unified 31/64 bit sem.h.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: Remove.
* sysdeps/unix/sysv/linux/s390/bits/shm.h: Unified 31/64 bit shm.h.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: Remove.
* sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Unified 31/64 bit
sigaction.h.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Remove.
* sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Unified 31/64 bit
siginfo.h.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: Remove.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: Remove.
* sysdeps/unix/sysv/linux/s390/bits/socket.h: Unified 31/64 bit
socket.h.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/socket.h: Remove.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Unified 31/64 bit stat.h.
* sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: Remove.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: Remove.
* sysdeps/unix/sysv/linux/s390/bits/types.h: Unified 31/64 bit types.h.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: Remove.
* sysdeps/unix/sysv/linux/s390/net/route.h: New file.
* sysdeps/unix/sysv/linux/s390/sys/procfs.h: Unified 31/64 bit
procfs.h.
* sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: Remove.
* sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: Remove.
* sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Unified 31/64 bit
ucontext.h.
* sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Remove.
* sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Remove.
2002-07-11 21:44:15 +00:00
Ulrich Drepper
ffeac41785
Update.
...
2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/Dist: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
* sysdeps/unix/sysv/linux/s390/Makefile: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
* sysdeps/unix/sysv/linux/s390/Versions: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
* sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
* sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
* sysdeps/unix/sysv/linux/s390/chown.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
* sysdeps/unix/sysv/linux/s390/clone.S: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
* sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
* sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
* sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
* sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
* sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
* sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
* sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
* sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
* sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
* sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
* sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
* sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
* sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
* sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
* sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
* sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
* sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
* sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
* sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
* sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
* sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
* sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
* sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
* sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
* sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
* sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
* sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
* sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
* sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
* sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
* sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
* sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
* sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
* sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
* sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
* sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
* sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
* sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
* sysdeps/unix/sysv/linux/s390/socket.S: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
* sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
* sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
* sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
* sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
* sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
* sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
* sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
* sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
* sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/Dist: Move to...
* sysdeps/s390/390-32/Dist: ...here.
* sysdeps/s390/Implies: Move to...
* sysdeps/s390/s390-32/Implies: ...here.
* sysdeps/s390/Makefile: Move to...
* sysdeps/s390/s390-32/Makefile: ...here.
* sysdeps/s390/Versions: Move to...
* sysdeps/s390-32/s390/Versions: ...here.
* sysdeps/s390/add_n.S: Move to...
* sysdeps/s390/s390-32/add_n.S: ...here.
* sysdeps/s390/addmul_1.S: Move to...
* sysdeps/s390/s390-32/addmul_1.S: ...here.
* sysdeps/s390/atomicity.h: Move to...
* sysdeps/s390/s390-32/atomicity.h: ...here.
* sysdeps/s390/backtrace.c: Move to...
* sysdeps/s390/s390-32/backtrace.c: ...here.
* sysdeps/s390/bcopy.S: Move to...
* sysdeps/s390/s390-32/bcopy.S: ...here.
* sysdeps/s390/bits/byteswap.h: Move to...
* sysdeps/s390/s390-32/bits/byteswap.h: ...here.
* sysdeps/s390/bits/huge_val.h: Move to...
* sysdeps/s390/s390-32/bits/huge_val.h: ...here.
* sysdeps/s390/bsd-_setjmp.S: Move to...
* sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
* sysdeps/s390/bsd-setjmp.S: Move to...
* sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
* sysdeps/s390/bzero.S: Move to...
* sysdeps/s390/s390-32/bzero.S: ...here.
* sysdeps/s390/elf/bsd-_setjmp.S: Move to...
* sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
* sysdeps/s390/elf/bsd-setjmp.S: Move to...
* sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
* sysdeps/s390/elf/start.S: Move to...
* sysdeps/s390/s390-32/elf/start.S: ...here.
* sysdeps/s390/ffs.c: Move to...
* sysdeps/s390/s390-32/ffs.c: ...here.
* sysdeps/s390/memchr.S: Move to...
* sysdeps/s390/s390-32/memchr.S: ...here.
* sysdeps/s390/memcpy.S: Move to...
* sysdeps/s390/s390-32/memcpy.S: ...here.
* sysdeps/s390/memset.S: Move to...
* sysdeps/s390/s390-32/memset.S: ...here.
* sysdeps/s390/mul_1.S: Move to...
* sysdeps/s390/s390-32/mul_1.S: ...here.
* sysdeps/s390/s390-mcount.S: Move to...
* sysdeps/s390/s390-32/s390-mcount.S: ...here.
* sysdeps/s390/strcpy.S: Move to...
* sysdeps/s390/s390-32/strcpy.S: ...here.
* sysdeps/s390/strncpy.S: Move to...
* sysdeps/s390/s390-32/strncpy.S: ...here.
* sysdeps/s390/sub_n.S: Move to...
* sysdeps/s390/s390-32/sub_n.S: ...here.
2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/s390-64/Dist: New file.
* sysdeps/s390/s390-64/Implies: New file.
* sysdeps/s390/s390-64/Makefile: New file.
* sysdeps/s390/s390-64/__longjmp.c: New file.
* sysdeps/s390/s390-64/add_n.S: New file.
* sysdeps/s390/s390-64/atomicity.h: New file.
* sysdeps/s390/s390-64/backtrace.c: New file.
* sysdeps/s390/s390-64/bcopy.S: New file.
* sysdeps/s390/s390-64/bits/byteswap.h: New file.
* sysdeps/s390/s390-64/bits/huge_val.h: New file.
* sysdeps/s390/s390-64/bits/setjmp.h: New file.
* sysdeps/s390/s390-64/bits/string.h: New file.
* sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
* sysdeps/s390/s390-64/bsd-setjmp.S: New file.
* sysdeps/s390/s390-64/bzero.S: New file.
* sysdeps/s390/s390-64/dl-machine.h: New file.
* sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
* sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
* sysdeps/s390/s390-64/elf/setjmp.S: New file.
* sysdeps/s390/s390-64/elf/start.S: New file.
* sysdeps/s390/s390-64/ffs.c: New file.
* sysdeps/s390/s390-64/initfini.c: New file.
* sysdeps/s390/s390-64/memchr.S: New file.
* sysdeps/s390/s390-64/memcpy.S: New file.
* sysdeps/s390/s390-64/memset.S: New file.
* sysdeps/s390/s390-64/s390x-mcount.S: New file.
* sysdeps/s390/s390-64/setjmp.S: New file.
* sysdeps/s390/s390-64/strcpy.S: New file.
* sysdeps/s390/s390-64/strncpy.S: New file.
* sysdeps/s390/s390-64/sub_n.S: New file.
* sysdeps/s390/s390-64/sysdep.h: New file.
2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* scripts/config.guess: Add support for Linux on 64 bit S/390.
* scripts/config.sub: Likewise.
2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* configure.in: Add support for 64 bit S/390.
* elf/elf.h: Add new relocations for 64 bit S/390.
* shlib-versions: Add rules for Linux on 64 bit S/390.
2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/__longjmp.c: Move to...
* sysdeps/s390/s390-32/__longjmp.c: ...here. Add code
to load the floating point registers that should be saved
according to the ABI.
* sysdeps/s390/bits/setjmp.h: Move to...
* sysdeps/s390/s390-32/bits/setjmp.h: ...here. Avoid
the use of long long in the __jmp_buf type definition.
* sysdeps/s390/bits/string.h: Move to...
* sysdeps/s390/s390-32/bits/string.h: ...here. Add several missing
#ifndef _FORCE_INLINES.
* sysdeps/s390/dl-machine.h: Move to...
* sysdeps/s390/s390-32/dl-machine.h: ...here. Add a check for the
executables EI_CLASS in elf_machine_matches_host.
* sysdeps/s390/elf/setjmp.S: Move to...
* sysdeps/s390/s390-32/elf/setjmp.S: ...here. Replace
branches to globally defined symbol __sigsetjmp by branches to
a local label (this avoids the generation of a R_390_PC16DBL
relocation in -fpic code).
* sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
* sysdeps/s390/initfini.c: Move to...
* sysdeps/s390/s390-32/initfini.c: ...here. Replace ALIGN with
".align 4,0x07".
* sysdeps/s390/setjmp.S: Move to...
* sysdeps/s390/s390-32/setjmp.S: ...here. Add code to store the
floating point registers that should be saved according to the ABI.
* sysdeps/s390/sys/ucontext.h: Remove since it is unused.
* sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
2001-03-13 Martin Schwidefsky <schwidefsky@de.ibm.com>
* configure.in: Change machine=s390 to machine=s390/s390-32.
* elf/elf.h: Correct comment for R_390_PLT16DBL.
2001-03-16 09:57:45 +00:00
Ulrich Drepper
368cfb949f
(__S_TYPEISMQ, __S_TYPEISSEM, __S_TYPEISSHM): Rewrite to enforce correct use the macros. They still always return zero.
2001-03-05 18:28:43 +00:00
Andreas Jaeger
9546f2e25a
Linux/S390 specific version.
2000-08-21 17:07:40 +00:00