| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
As they will actually be usable on x86_64 too.
|
|
|
|
|
|
|
|
|
|
| |
The content of the structure is only used internally, so we can make
__pthread_attr_getschedparam and __pthread_attr_setschedparam convert
between the public sched_param type and an internal __sched_param.
This allows to avoid to spuriously expose the sched_param type.
This fixes BZ #23088.
|
|
|
|
| |
They are using setpshared but are outside the htl directory.
|
| |
|
|
|
|
|
| |
This just moves the existing nptl implementation to reuse as it is in
htl.
|
|
|
|
|
|
| |
The implementation is extremely similar to the nptl implementation, but
with slight differences in the futex interface. This fixes some of BZ
25521.
|
|
|
|
|
| |
Libc has actually been using mach's lock-internal.h mutex for a long
time already.
|
|
|
|
|
|
|
|
|
|
| |
* nptl/tst-cancel16.c, tst-cancel20.c, tst-cancelx16.c, tst-cancelx20.c:
Move to...
* sysdeps/pthread: ... here.
* nptl/Makefile: Move corresponding references and rules to...
* sysdeps/pthread/Makefile: ... here.
* sysdeps/mach/hurd/i386/Makefile: Xfail tst-cancel*16 for now: missing
barrier pshared support, but test should be working otherwise.
|
|
|
|
|
|
|
|
|
|
|
| |
They need setpshared support.
* nptl/tst-flock2.c, tst-signal1.c, tst-signal2.c: Move to...
* sysdeps/pthread: ... here.
* nptl/Makefile: Move corresponding tests references to...
* sysdeps/pthread/Makefile: ... here.
* sysdeps/mach/hurd/i386/Makefile (test-xfail-tst-flock2,
test-xfail-tst-signal1, test-xfail-tst-signal2): Add.
|
|
|
|
|
| |
* sysdeps/mach/hurd/i386/Makefile (test-xfail-tst-pututxline-cache,
test-xfail-tst-pututxline-lockfail, test-xfail-tst-mallocfork2): Add.
|
|
|
|
| |
* sysdeps/mach/hurd/i386/Makefile: Add comments.
|
|
|
|
|
|
|
|
|
|
|
| |
* sysdeps/i386/htl/Makefile: New file.
* sysdeps/i386/htl/tcb-offsets.sym: New file.
* sysdeps/mach/hurd/i386/Makefile [setjmp] (gen-as-const-headers): Add
signal-defines.sym.
* sysdeps/mach/hurd/i386/____longjmp_chk.S: Include tcb-offsets.h.
(____longjmp_chk): Harmonize with i386's __longjmp. Clear SS_ONSTACK
when jumping off the alternate stack.
* sysdeps/mach/hurd/i386/__longjmp.S: New file.
|
|
|
|
|
| |
tst-robust8.c prints some mutex internals for nptl debugging, this
needed to be made conditioned by getting built with nptl.
|
| |
|
|
|
|
| |
So they can be checked with htl too.
|
|
|
|
| |
So they can be checked with htl too.
|
| |
|
|
|
|
| |
So they can be checked with htl too.
|
|
|
|
|
|
| |
So they can be checked with htl too.
XFAIL tst-mutex4, for which support is still missing in htl.
|
|
|
|
|
|
|
|
|
|
| |
Adapted from the Linux x86 functions.
Not thoroughly tested, but manual testing as well as glibc tests look fine, and
manual -lpthread testing also looks fine (within the given bounds for a new
stack to be used with makecontext).
This has also been in use in Debian since 2013.
|
|
|
|
|
|
| |
* sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
(test-xfail-ISO11/threads.h/linknamespace,
test-xfail-ISO11/threads.h/conform): Add.
|
|
|
|
|
|
|
|
|
|
|
| |
* scripts/check-execstack.awk: Consider `xfail' variable containing a
list
of libraries whose stack executability is expected.
* elf/Makefile ($(objpfx)check-execstack.out): Pass
$(check-execstack-xfail) to check-execstack.awk through `xfail'
variable.
* sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
libc.so libpthread.so.
|
|
|
|
|
|
|
| |
They need more work to implement, see bug 23286.
* sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
test-xfail-check-abi-libmachuser): Add.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reported at BZ #23088.
* sysdeps/mach/hurd/i386/Makefile
(test-xfail-POSIX/fcntl.h/conform): Add.
(test-xfail-POSIX/signal.h/conform): Add.
(test-xfail-POSIX/semaphore.h/conform): Add.
(test-xfail-POSIX/regex.h/conform): Add.
(test-xfail-POSIX/aio.h/conform): Add.
(test-xfail-POSIX/mqueue.h/conform): Add.
(test-xfail-POSIX/sys/types.h/conform): Add.
(test-xfail-UNIX98/fcntl.h/conform): Add.
(test-xfail-UNIX98/netdb.h/conform): Add.
(test-xfail-UNIX98/signal.h/conform): Add.
(test-xfail-UNIX98/semaphore.h/conform): Add.
(test-xfail-UNIX98/regex.h/conform): Add.
(test-xfail-UNIX98/aio.h/conform): Add.
(test-xfail-UNIX98/ftw.h/conform): Add.
(test-xfail-UNIX98/mqueue.h/conform): Add.
(test-xfail-UNIX98/netinet/in.h/conform): Add.
(test-xfail-UNIX98/sys/wait.h/conform): Add.
(test-xfail-UNIX98/sys/sem.h/conform): Add.
(test-xfail-UNIX98/sys/uio.h/conform): Add.
(test-xfail-UNIX98/sys/socket.h/conform): Add.
(test-xfail-UNIX98/sys/types.h/conform): Add.
(test-xfail-UNIX98/stdlib.h/conform): Add.
(test-xfail-UNIX98/arpa/inet.h/conform): Add.
(test-xfail-POSIX2008/fcntl.h/conform): Add.
(test-xfail-POSIX2008/netdb.h/conform): Add.
(test-xfail-POSIX2008/signal.h/conform): Add.
(test-xfail-POSIX2008/semaphore.h/conform): Add.
(test-xfail-POSIX2008/regex.h/conform): Add.
(test-xfail-POSIX2008/aio.h/conform): Add.
(test-xfail-POSIX2008/mqueue.h/conform): Add.
(test-xfail-POSIX2008/netinet/in.h/conform): Add.
(test-xfail-POSIX2008/sys/wait.h/conform): Add.
(test-xfail-POSIX2008/sys/socket.h/conform): Add.
(test-xfail-POSIX2008/sys/types.h/conform): Add.
(test-xfail-POSIX2008/arpa/inet.h/conform): Add.
(test-xfail-XOPEN2K/fcntl.h/conform): Add.
(test-xfail-XOPEN2K/netdb.h/conform): Add.
(test-xfail-XOPEN2K/signal.h/conform): Add.
(test-xfail-XOPEN2K/semaphore.h/conform): Add.
(test-xfail-XOPEN2K/regex.h/conform): Add.
(test-xfail-XOPEN2K/aio.h/conform): Add.
(test-xfail-XOPEN2K/ftw.h/conform): Add.
(test-xfail-XOPEN2K/mqueue.h/conform): Add.
(test-xfail-XOPEN2K/netinet/in.h/conform): Add.
(test-xfail-XOPEN2K/sys/wait.h/conform): Add.
(test-xfail-XOPEN2K/sys/sem.h/conform): Add.
(test-xfail-XOPEN2K/sys/uio.h/conform): Add.
(test-xfail-XOPEN2K/sys/socket.h/conform): Add.
(test-xfail-XOPEN2K/sys/types.h/conform): Add.
(test-xfail-XOPEN2K/stdlib.h/conform): Add.
(test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
(test-xfail-XOPEN2K8/fcntl.h/conform): Add.
(test-xfail-XOPEN2K8/netdb.h/conform): Add.
(test-xfail-XOPEN2K8/signal.h/conform): Add.
(test-xfail-XOPEN2K8/semaphore.h/conform): Add.
(test-xfail-XOPEN2K8/regex.h/conform): Add.
(test-xfail-XOPEN2K8/aio.h/conform): Add.
(test-xfail-XOPEN2K8/ftw.h/conform): Add.
(test-xfail-XOPEN2K8/mqueue.h/conform): Add.
(test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
(test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
(test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
(test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
(test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
(test-xfail-XOPEN2K8/sys/types.h/conform): Add.
(test-xfail-XOPEN2K8/stdlib.h/conform): Add.
(test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
(conformtest-xfail-conds): Add i386-gnu.
* conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL for
i386-gnu.
* conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
ipc_perm.cuid, ipc_perm.cgid): Likewise.
* conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
msqid_ds.msg_lrpid): Likewise.
* conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
Likewise.
* conform/data/sys/stat.h-data (stat.st_dev): Likewise.
* conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
|
|
|
|
|
|
|
|
|
|
| |
This follows db3d848 ('Build divdi3 only for architecture that required
it').
* sysdeps/mach/hurd/i386/Makefile
[$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
[$(subdir) = csu] (sysdep-only-routines): Likewise.
[$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
|
| |
|
|
|
|
|
|
|
|
|
| |
clobber the `ebp' register.
* sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Removed.
Reverts change from 2004-05-07 by Jeroen Dekkers.
* sysdeps/mach/hurd/i386/init-first.c (init): Changed the type of
NEWSP from `void *' to `int *'. Changed all casts accordingly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-05-10 Jakub Jelinek <jakub@redhat.com>
* sysdeps/posix/sysconf.c (__sysconf) <cases _SC_REALTIME_SIGNALS,
_SC_PRIORITY_SCHEDULING, _SC_TIMERS, _SC_ASYNCHRONOUS_IO,
_SC_PRIORITIZED_IO, _SC_SYNCHRONIZED_IO, _SC_FSYNC, _SC_MAPPED_FILES,
_SC_MEMLOCK, _SC_MEMLOCK_RANGE, _SC_MEMORY_PROTECTION,
_SC_MESSAGE_PASSING, _SC_SEMAPHORES, _SC_SHARED_MEMORY_OBJECTS,
_SC_THREADS, _SC_THREAD_SAFE_FUNCTIONS, _SC_THREAD_ATTR_STACKADDR,
_SC_THREAD_ATTR_STACKSIZE, _SC_THREAD_PRIORITY_SCHEDULING,
_SC_THREAD_PRIO_INHERIT, _SC_THREAD_PRIO_PROTECT,
_SC_THREAD_PROCESS_SHARED>: Return _POSIX_* value instead of 1.
* sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
<case _SC_MONOTONIC_CLOCK>: Return _POSIX_VERSION instead of 1.
2004-05-07 Jeroen Dekkers <jeroen@dekkers.cx>
* sysdeps/mach/hurd/i386/Makefile (CFLAGS-init-first.c): Add
-momit-leaf-frame-pointer.
* inet/test-ifaddrs.c (addr_string): Surround AF_PACKET case with
#ifdef AF_PACKET.
* sysdeps/mach/hurd/getcwd.c
(_hurd_canonicalize_directory_name_intern): Only realloc when
size is <= 0.
* sysdeps/mach/hurd/mmap.c (__mmap): Fail when addr or offset
isn't page aligned.
* sysdeps/mach/hurd/spawni.c (EXPAND_DTABLE): Set dtablesize to
new size.
* sysdeps/mach/hurd/Versions (GLIBC_PRIVATE): Add __libc_read,
__libc_write and __libc_lseek64.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sysdeps/mach/hurd/i386/Makefile
(sysdep_routines, shared-only-routines): Don't add framestate,
reverting 2001-10-02 change.
* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
* sysdeps/generic/Makefile (sysdep_routines, shared-only-routines):
Do it here instead, only if [$(unwind-find-fde) = yes].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-02 Jakub Jelinek <jakub@redhat.com>
H.J. Lu <hjl@gnu.org>
* configure.in (libc_cv_gcc_static_libgcc): Set to -static-libgcc
if gcc supports this flag.
(EXPORT_UNWIND_FIND_FDE): Define unless target configure disables it.
(gcc3): Allow glibc to be compiled with gcc 3.x.
* config.h.in (EXPORT_UNWIND_FIND_FDE): Add.
* config.make.in (static-libgcc, unwind-find-fde): Add.
* Makerules (build-shlib-helper, build-module-helper): Use it.
* scripts/versions.awk: Make sure GLIBC_ versions come first.
* elf/soinit.c (__libc_global_ctors): Set tbases and dbases if
necessary.
(_fini): Call __deregister_frame_info_bases if
__register_frame_info_bases was used to register.
* elf/Versions (__register_frame_info, __deregister_frame_info): Add
for GLIBC_2.0.
(__register_frame_info_bases, __register_frame_info_table_bases,
__deregister_frame_info_bases, _Unwind_Find_FDE): Add for GLIBC_2.2.5.
* elf/Makefile (routines): Add unwind-dw2-fde.
(shared-only-routines): Add unwind-dw2-fde.
* sysdeps/alpha/gccframe.h: New file.
* sysdeps/arm/gccframe.h: New file.
* sysdeps/generic/framestate.c: New file.
* sysdeps/generic/dwarf2.h: New file.
* sysdeps/generic/gccframe.h (struct object): Update from gcc 3.0.
* sysdeps/generic/unwind-dw2-fde.c: New file.
* sysdeps/unix/sysv/linux/ia64/unwind-dw2-fde.c: New file.
* sysdeps/generic/unwind-dw2-fde.h: New file.
* sysdeps/generic/unwind-dw2.c: New file.
* sysdeps/generic/unwind-pe.h: New file.
* sysdeps/generic/unwind.h: New file.
* sysdeps/hppa/gccframe.h: New file.
* sysdeps/i386/gccframe.h: New file.
* sysdeps/m68k/gccframe.h: New file.
* sysdeps/mips/gccframe.h: New file.
* sysdeps/powerpc/gccframe.h: New file.
* sysdeps/s390/gccframe.h: New file.
* sysdeps/sh/gccframe.h: New file.
* sysdeps/sparc/gccframe.h: New file.
* sysdeps/vax/gccframe.h: New file.
* sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde):
Set on all architectures except ia64.
* sysdeps/mach/hurd/configure.in (libc_cv_gcc_unwind_find_fde): Set
for i386.
* sysdeps/mach/hurd/i386/Versions (__register_frame_info,
__deregister_frame_info): Move to elf/Versions.
* sysdeps/unix/sysv/linux/m68k/Versions: Likewise.
* sysdeps/unix/sysv/linux/arm/Versions: Likewise.
* sysdeps/unix/sysv/linux/alpha/Versions: Likewise.
* sysdeps/unix/sysv/linux/i386/Versions: Likewise.
* sysdeps/unix/sysv/linux/mips/Versions: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Versions: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
* sysdeps/mach/hurd/i386/Makefile (sysdep-routines): Add framestate.
* sysdeps/unix/sysv/linux/arm/Makefile: Likewise.
* sysdeps/unix/sysv/linux/alpha/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: New file.
* sysdeps/unix/sysv/linux/s390/ldd-rewrite.sed: New file.
* sysdeps/generic/strnlen.c: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sysdeps/mach/powerpc/machine-sp.h: New file.
* sysdeps/mach/powerpc/sysdep.h: New file.
* sysdeps/mach/powerpc/thread_state.h: New file.
* sysdeps/mach/hurd/i386/Makefile: File removed; crt0.o rules moved ...
* sysdeps/mach/hurd/Makefile: ... to here. For the time being, we can
expect to need the same thing on every platform.
* sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: File moved ...
* sysdeps/generic/sys/ucontext.h: ... to replace this one.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
static pattern rule also that also covers
$(objpx)g$(static-start-installed-name).
[$(start-installed-name) != $(static-start-installed-name)]
(extra-objs, omit-deps, install-lib): Add
$(static-start-installed-name) and g$(static-start-installed-name).
* sysdeps/mach/hurd/i386/Makefile: Don't add crt0.o to those here;
just setting static-start-installed-name is now sufficient.
(extra-objs): Add static-start.o here.
(CFLAGS-initfini.s): Remove obsolete variable.
* sysdeps/mach/hurd/i386/Makeconfig: New file.
Define static-start-installed-name here.
* Makeconfig: Include existing $(full_config_sysdirs:=/Makeconfig).
* Make-dist (+sysdep-tsrcs): Look for Makeconfig files.
* Makerules ($(+sysdir_pfx)sysd-Makefile): Remove this target and
associated hair. Instead, just use $(wildcard ...) in the include.
* configure.in (critic_missing, aux_missing): Collect in these vars
the names of the missing programs, and include them in the error msgs.
* configure: Regenerated.
|
|
|
|
|
|
|
|
|
|
| |
$(start-installed-name) if not defined.
(+link-static): Use $(static-start-installed-name) instead of
$(start-installed-name).
* sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
Set to crt0.o.
1999-06-12 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
| |
* sysdeps/mach/hurd/i386/Makefile [$(subdir) = csu]
(CFLAGS-initfini.s): New variable, add -DWEAK_GMON_START.
This does for Hurd/i386 what the 1998-09-08 change did for Linux/i386.
|
|
|
|
|
|
|
| |
* sysdeps/mach/hurd/i386/init-first.c (init1): Call
__getopt_clean_environment with __environ instead of envp.
* sysdeps/mach/hurd/i386/Makefile (omit-deps): Define to crt0.
|
|
1998-06-25 19:26 Ulrich Drepper <drepper@cygnus.com>
* Makeconfig (CPPFLAGS): Use $($(subdir)-CPPFLAGS) if defined first.
* locale/Makefile: Define locale-CPPFLAGS instead of redefining
CPPFLAGS.
* libc.map: Export __sigaction.
1998-06-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/bits/sched.h (CLONE_PTRACE): Add it
(from Linux 2.1.107).
1998-06-24 Ulrich Drepper <drepper@cygnus.com>
* nss/nss_files/files-XXX.c (_nss_files_get,ENTNAME_r): Initialize
position when file was opened here.
Reported by Howard Chu <hyc@platinum.com>.
* sysdeps/generic/glob.c: Also protect FNM_* macros from being
undefined in a second inclusion.
1998-06-20 Mark Kettenis <kettenis@phys.uva.nl>
* sysdeps/mach/hurd/i386/Makefile: New file.
* sysdeps/mach/hurd/i386/init-first.c [!PIC] (init1): Call
__libc_init_secure.
(_hurd_stack_setup): Renamed
from __libc_init_first.
(__libc_init_first): New function.
* sysdeps/mach/hurd/i386/static-start.S: New file.
1998-05-30 Mark Kettenis <kettenis@phys.uva.nl>
* sysdeps/mach/hurd/i386/init-first.c
1998-06-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* grp/initgroups.c: Use _CALL_DL_FCT.
1998-06-23 Mark Kettenis <kettenis@phys.uva.nl>
* elf/dl-load.c (_dl_map_object_from_fd): Add missing cast.
|