Add generic versions of pthread_spin_lock and pthread_spin_trylock.
[glibc.git] / ports / ChangeLog.hppa
bloba28fbceb37f7704bb219fcbd4fb49f47057c5803
1 2012-08-15  Maxim Kuvyrkov  <maxim@codesourcery.com>
3         * sysdeps/hppa/nptl/pthread_spin_lock.c: Use generic code.
4         * sysdeps/hppa/nptl/pthread_spin_trylock.c: Remove, use generic version.
6 2012-08-12  Mike Frysinger  <vapier@gentoo.org>
8         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Add prlimit64.
9         * sysdeps/unix/sysv/linux/hppa/Versions (GLIBC_2.17): Likewise.
11 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
13         * sysdeps/unix/sysv/linux/hppa/nptl/configure.in: Remove.
14         * sysdeps/unix/sysv/linux/hppa/nptl/configure: Likewise.
15         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16         (__ASSUME_LWS_CAS): Define unconditionally.
18 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21         (__ASSUME_FCNTL64): Remove.
23 2012-07-26  Andreas Jaeger  <aj@suse.de>
25         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h (EPOLLWAKEUP): Add new
26         value.
28 2012-05-19  Carlos O'Donell  <carlos@systemhalted.org>
30         * sysdeps/hppa/add_n.s: Rename this...
31         * sysdeps/hppa/add_n.S: ... to this.
32         * sysdeps/hppa/hppa1.1/addmul_1.s: Rename this...
33         * sysdeps/hppa/hppa1.1/addmul_1.S: ... to this.
34         * sysdeps/hppa/hppa1.1/mul_1.s: Rename this...
35         * sysdeps/hppa/hppa1.1/mul_1.S ... to this.
36         * sysdeps/hppa/hppa1.1/submul_1.s: Rename this...
37         * sysdeps/hppa/hppa1.1/submul_1.S: ... to this.
38         * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Rname this...
39         * sysdeps/hppa/hppa1.1/udiv_qrnnd.S: ... to this.
40         * sysdeps/hppa/lshift.s: Rename this...
41         * sysdeps/hppa/lshift.S: ... to this.
42         * sysdeps/hppa/rshift.s: Rename this...
43         * sysdeps/hppa/rshift.S: ... to this.
44         * sysdeps/hppa/sub_n.s: Rename this...
45         * sysdeps/hppa/sub_n.S: ... to this.
46         * sysdeps/hppa/udiv_qrnnd.s: Rename this...
47         * sysdeps/hppa/udiv_qrnnd.S: ... to this.
49 2012-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51         * sysdeps/hppa/libgcc_s.h: Remove.
52         * sysdeps/hppa/shlib-versions: Add libgcc_s.
54 2012-04-17  Carlos O'Donell  <carlos@systemhalted.org>
56         * sysdeps/hppa/dl-irel.h: New file.
58 2012-04-17  Carlos O'Donell  <carlos@systemhalted.org>
60         * sysdeps/hppa/dl-fptr.h: Add prototype for _dl_fptr_init.
61         * sysdeps/hppa/dl-fptr.c: New file.
62         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
63         Call _dl_fptr_init.
65 2012-04-17  Carlos O'Donell  <carlos@systemhalted.org>
67         * sysdeps/hppa/elf/configure: Removed file.
68         * sysdeps/hppa/elf/configure.in: Move to...
69         * sysdeps/hppa/configure.in: ... here.
70         * sysdeps/hppa/configure: Regenerate.
71         * sysdeps/hppa/elf/initfini.c: Removed file.
72         * sysdeps/hppa/crti.S: New file.
73         * sysdeps/hppa/crtn.S: New file.
74         * sysdeps/hppa/elf/entry.h: Moved to ...
75         * sysdeps/hppa/entry.h: ... here.
76         * sysdeps/hppa/elf/start.S: Move to ...
77         * sysdeps/hppa/start.S: ... here.
79 2012-03-22  Carlos O'Donell  <carlos@systemhalted.org>
81         [BZ #6730]
83         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Don't negate %r21 and
84         check for -EFAULT and -ENOSYS instead.
86 2012-03-09  Richard Henderson  <rth@twiddle.net>
88         * sysdeps/hppa/hppa1.1/s_signbit.c: Use <> to include math_private.h.
90 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
92         [BZ #13673]
93         Replace FSF snail mail address with URLs, as per GNU coding standards.
95 2012-03-03  Carlos O'Donell  <carlos@systemhalted.org>
97         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Name 
98         pthread_attr_t union.
99         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Sync from libc copy.
100         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Likewise.
102 2012-01-08  Carlos O'Donell  <carlos@systemhalted.org>
104         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h (EPOLLONESHOT)
105         (EPOLLET): Initialize with unsiged values.
107 2012-01-08  Carlos O'Donell  <carlos@systemhalted.org>
109         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Sync from libc copy.
111 2012-01-08  Carlos O'Donell  <carlos@systemhalted.org>
113         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Use const instead of __const.
114         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Likewise.
116 2011-10-21  Carlos O'Donell  <carlos@systemhalted.org>
118         * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Update copyright year.
119         Do not include signal.h and sys/ucontext.h. 
121 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
123         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Update copyright 
124         year. 
125         (PSEUDO): Define __*_nocancel version. Add CFI directives to __*_nocancel
126         and normal version.
127         (PUSHARGS_1): Add CFI directive.
128         (PUSHARGS_2): Likewise.
129         (PUSHARGS_3): Likewise.
130         (PUSHARGS_4): Likewise.
131         (PUSHARGS_5): Likewise.
132         (PUSHARGS_6): Likewise.
133         (POPARGS_1): Likewise.
134         (POPARGS_2): Likewise.
135         (POPARGS_3): Likewise.
136         (POPARGS_4): Likewise.
137         (POPARGS_5): Likewise.
138         (POPARGS_6): Likewise.
140 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
142         * sysdeps/unix/sysv/linux/hppa/linuxthreads/aio_cancel.c: Remove.
143         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/initspin.h: Remove.
144         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h: Remove.
145         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h: Remove.
146         * sysdeps/unix/sysv/linux/hppa/linuxthreads/pt-initfini.c: Remove.
147         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: Remove.
148         * sysdeps/hppa/linuxthreads/pspinlock.c: Remove.
149         * sysdeps/hppa/linuxthreads/pt-machine.h: Remove.
150         * sysdeps/hppa/linuxthreads/tls.h: Remove.
152 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
154         * sysdeps/hppa/stackinfo.h: Update copyright year.
155         Include elf.h and define DEFAULT_STACK_PERMS.
157 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
159         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Synchronize
160         with canonical fcntl.h.
162 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
164         * sysdeps/hppa/fpu/fegetenv.c: Add hidden alias.
165         * sysdeps/hppa/fpu/feupdateenv.c: Likewise.
166         * sysdeps/hppa/fpu/ftestexcept.c: Likewise.
168 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
170         * sysdeps/hppa/dl-tls.h: Update copyright year.
171         Define TLS_DTV_UNALLOCATED.
173 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
175         * sysdeps/hppa/elf/configure.in: Always test for TLS support
176         and error out if missing.
177         * sysdeps/hppa/elf/configure: Regenerate.
178         * sysdeps/hppa/configure: Regenerate.
180 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
182         * sysdeps/hppa/nptl/tls.h: Update copyright year.
183         Remove HAVE_TLS_SUPPORT check.
185 2011-10-17  Guy Martin  <gmsoft@tuxicoman.be>
187         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h
188         Fix EPOLL_CLOEXEC and EPOLL_NONBLOCK to match kernel definition.
189         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h
190         Fix EFD_CLOEXEC and EFD_NONBLOCK to match kernel definition.
191         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h
192         Fix IN_CLOEXEC and IN_NONBLOCK to match kernel definition.
193         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h
194         Fix SFD_CLOEXEC and SFD_NONBLOCK to match kernel definition.
195         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h
196         Fix TFD_CLOEXEC and TFD_NONBLOCK to match kernel definition.
198 2011-10-05  Andreas Schwab  <schwab@redhat.com>
200         * sysdeps/hppa/dl-machine.h (elf_machine_rela)
201         (elf_machine_lazy_rel): Add parameter skip_ifunc.
203 2010-06-24  Carlos O'Donell  <carlos@codesourcery.com>
205         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Only create stack
206         frame around call to SYSCALL_ERROR_HANDLER. Do not restore %rp
207         from the stack frame on successfull return.
209 2010-06-23  Carlos O'Donell  <carlos@codesourcery.com>
211         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext_ret):
212         Document that this function is a non-standard calling ABI.
213         Document register usage.
214         (__getcontext): Use normal %sp without adjustment. Use named
215         resgister %sp.
216         * sysdeps/unix/sysv/linux/hppa/makecontext.c: Remove FRAME_SIZE.
217         Define FRAME_SIZE_UL, FRAME_SIZE_BYTES, ARGS.
218         (__makecontext): Create and setup a stack frame.
219         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
220         Use named register %sp. Do not use oSS_SP.
222 2010-06-07  Andreas Schwab  <schwab@redhat.com>
224         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Update to agree
225         with generic file.
227 2010-03-30  Carlos O'Donell <carlos@codesourcery.com>
229         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Define
230         MSG_WAITFORONE.
232 2010-02-17  Matt Turner  <mattst88@gmail.com>
234         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Actually fix
235         SOCK_CLOEXEC to match O_CLOEXEC.
237 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
239         * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Define
240         MADV_MERGEABLE and MADV_UNMERGEABLE.
242 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
244         * sysdeps/hppa/nptl/tls.h (__set_cr27): Clobber
245         link register r31.
247 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
249         * sysdeps/unix/sysv/linux/hppa/makecontext.c (__makecontext):
250         Support more than 8 arguments.
252 2010-02-01  Kyle McMartin  <kyle@redhat.com>
254         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Fix value of
255         SOCK_CLOEXEC to match O_CLOEXEC.
257 2010-02-01  Carlos O'Donell  <carlos@codesourcery.com>
259         * sysdeps/unix/sysv/linux/hppa/Versions: Bump
260         errlist-compat to 257 for GLIBC_2.12.
261         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
262         (EOWNERDEAD): Define if not already defined.
263         (ENOTRECOVERABLE): Likewise.
264         (ERFKILL): Likewise.
266 2009-11-29  Carlos O'Donell  <carlos@codesourcery.com>
268         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h:
269         Rearrange file to reduce future maintenance.
270         [__USE_GNU]: Update F_GETOWN_EX, and F_SETOWN_EX.
271         Define f_owner_ex an __pid_type.
273 2009-11-25  Carlos O'Donell  <carlos@codesourcery.com>
275         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
276         Use correct alignment for pthread_mutex_t, pthread_cond_t,
277         and pthread_rwlock_t.
279 2009-11-22  Carlos O'Donell  <carlos@codesourcery.com>
281         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Avoid warnings
282         by casting oldval to int.
284 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
286         [BZ #6676]
288         * sysdeps/unix/sysv/linux/hppa/socket.h: Move from here...
289         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: ... to here.
291 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
293         * sysdeps/unix/sysv/linux/hppa/Versions (libc): Add
294         fallocate64@@GLIBC_2.11.
295         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
296         [__USE_GNU]: Define F_GETOWN_EX, and F_SETOWN_EX.
297         [!__USE_FILE_OFFSET64]: Define fallocate.
298         [__USE_FILE_OFFSET64 && __REDIRECT]: Define __REDIRECT.
299         [__USE_FILE_OFFSET64 && !__REDIRECT]: Define fallocate as
300         fallocate64.
301         [__USE_LARGEFILE64]: define fallocate64.
303 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
305         * sysdeps/hppa/dl-fptr.h: Update copyright year.
306         Reduce ELF_MACHINE_BOOT_FPTR_TABLE_LEN to 64.
307         Implement ELF_MACHINE_LOAD_ADDRESS using PC relative loads.
309 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
311         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
312         Remove FUTEX_WAITERS, FUTEX_OWNER_DIED, and FUTEX_TID_MASK.
314 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
315             Aurelian Jarno  <aurelien@aurel32.net>
317         [BZ #10527]
319         * sysdeps/unix/sysv/linux/hppa/socket.h: New file.
321 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
323         [BZ #6676]
325         * sysdeps/hppa/elf/start.S: Use R_PARISC_DLTIND* relocations
326         to support -fPIE.
328 2009-11-08  Carlos O'Donell  <carlos@codesourcery.com>
330         [BZ #10920]
332         * sysdeps/hppa/libgcc_s.h: New file.
333         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Remove.
334         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Remove.
336 2009-09-08  Carlos O'Donell  <carlos@codesourcery.com>
338         sysdeps/unix/sysv/linux/hppa/
339         * internaltypes.h: New file.
341         sysdeps/unix/sysv/linux/hppa/nptl/
342         * pthreadP.h: New file.
343         * pthread.h: New file.
344         * pthread_cond_broadcast.c: New file.
345         * pthread_cond_destroy.c: New file.
346         * pthread_cond_init.c: New file.
347         * pthread_cond_signal.c: New file.
348         * pthread_cond_timedwait.c: New file.
349         * pthread_cond_wait.c: New file.
350         * bits/pthreadtypes.h: Make pthread_mutex_t,
351         pthread_rwlock_t, and pthread_cond_t backwards
352         compatible.
354 2009-04-24  Carlos O'Donell  <carlos@codesourcery.com>
356         * sysdeps/hppa/hppa1.1/s_signbit.c: New file.
358 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
360         * sysdeps/hppa/dl-machine.h: Remove VALID_ELF_OSABI,
361         VALID_ELF_ABIVERSION, and VALID_ELF_HEADER.
363 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
365         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Do not include
366         sysdep.h. Document the reason for other includes.
368 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
370         * sysdeps/unix/sysv/linux/hppa/sysdep.h [!__ASSEMBLER__]:
371         Include errno.h.
373 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
375         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
376         Adjust comment. Sort macros alphabetically. Remove old
377         lock comments.
379 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
381         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c:
382         Update from nptl/sysdeps/pthread/unwind-forcedunwind.c
383         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c:
384         Update from nptl/sysdeps/pthread/unwind-resume.c
386 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
388         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define
389         FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME,
390         and FUTEX_BITSET_MATCH_ANY.
392 2009-02-22  Carlos O'Donell  <carlos@codesourcery.com>
394         * sysdeps/unix/sysv/linux/hppa/Versions: Add missing bracket.
396 2009-02-22  Carlos O'Donell  <carlos@codesourcery.com>
398         * sysdeps/hppa/dl-machine.h: Use _dl_runtime_profile.
400 2009-02-13  Khem Raj  <raj.khem@gmail.com>
402         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c
403         (libgcc_s_handle): New variable.
404         (pthread_cancel_init): Depend in libgcc_s_handle for decision to
405         load DSO.  Assign last.
406         (__unwind_freeres): New function.
408 2009-02-09  Arthur Loiret  <aloiret@debian.org>
410         [BZ #9717]
412         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h
413         (MALLOC): Adjust __libc_tsd_define arguments.
414         (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
415         arguments.
417 2008-08-07  Helge Deller  <deller@gmx.de>
419         * sysdeps/unix/sysv/linux/hppa/ucontext_i.sym: New file.
420         * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
421         * sysdeps/unix/sysv/linux/hppa/getcontext.S: New file.
422         * sysdeps/unix/sysv/linux/hppa/makecontext.c: New file.
423         * sysdeps/unix/sysv/linux/hppa/setcontext.S: New file.
424         * sysdeps/unix/sysv/linux/hppa/swapcontext.c: New file.
426 2008-06-17  Aurelian Jarno  <aurelien@aurel32.net>
427             Carlos O'Donell  <carlos@systemhalted.org>
429         [BZ #6037]
430         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Check for -11
431         (-EAGAIN) instead of 11. Loop again when the kernel
432         returns -45 (-EDEADLOCK). Add back memory clobber.
433         Do not initialize lws_ret and lws_errno.
435 2008-06-17  Guy Martin  <gmsoft@tuxicoman.be>
437         [BZ #5957]
438         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
439         Use shared futex in lll_wait_tid().
441 2008-05-12  Aurelien Jarno  <aurelien@aurel32.net>
443         [BZ #6506]
444         * sysdeps/hppa/fpu/fesetenv.c: bufptr is always read, temp is
445         read while writing back status word.
447 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
449         * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Fix comment describing
450         shmid_ds.
452 2008-04-04  Carlos O'Donell  <carlos@codesourcery.com>
454         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove
455         memory contraint and instead indicate that *mem is
456         written to.
458 2008-03-24  Carlos O'Donell  <carlos@codesourcery.com>
460         * sysdeps/unix/sysv/linux/hppa/sys/user.h: New file.
462 2008-03-14  Carlos O'Donell  <carlos@codesourcery.com>
463             Guy Martin <gmsoft@tuxicoman.be>
465         [BZ #5923]
466         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Pass
467         timespec and futexp.
469 2008-02-22  Carlos O'Donell  <carlos@codesourcery.com>
471         * sysdeps/unix/sysv/linux/hppa/Makefile: Remove.
472         * sysdeps/hppa/nptl/Makefile: Set tst-oddstacklimit-ENV.
474 2007-12-05  Jeff Bailey  <jeffbailey@google.com>
476         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
477         (__lll_unlock): Use define instead of inline function.
478         (__lll_robust_unlock): Likewise.
480 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
482         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
484 2007-10-18  Carlos O'Donell  <carlos@systemhalted.org>
486         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c
487         (__lll_lock_wait): Add private argument. Pass private
488         to lll_futex_wait. Use atomic_compare_and_exchange_val_acq.
489         (__lll_lock_wait_private): New function.
490         (__lll_timedlock_wait): Add private argument. Pass private
491         to lll_futex_timed_wait.
492         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
493         Include kernel-features.h and tls.h.
494         (FUTEX_WAITERS): Define.
495         (FUTEX_OWNER_DIED): Define.
496         (FUTEX_TID_MASK): Define.
497         (__lll_private_flag): Define.
498         (lll_futex_timed_wait): Use __lll_private_flag.
499         (lll_futex_wake): Use __lll_private_flag.
500         (lll_futex_requeue): Use __lll_private_flag.
501         (lll_robust_mutex_dead): Rename to...
502         (lll_robust_dead): ... this. Add private argument. Pass private
503         to lll_futex_wake.
504         (lll_futex_wake_unlock): Use __lll_private_flag.
505         (__lll_mutex_trylock): Remove.
506         (lll_mutex_tryock): Remove.
507         (__lll_robust_mutex_trylock): Rename to...
508         (__lll_robust_trylock): ... this.
509         (lll_robust_mutex_trylock): Rename to...
510         (lll_robust_trylock): ... this. Call __lll_robust_trylock.
511         (__lll_mutex_cond_trylock): Rename to...
512         (__lll_cond_trylock): ... this.
513         (lll_mutex_cond_trylock): Rename to...
514         (lll_cond_trylock): ... this. Call __lll_cond_trylock.
515         (__lll_mutex_lock): Add private argument.
516         (__lll_robust_mutex_lock): Remove.
517         (lll_mutex_lock): Define.
518         (__lll_robust_lock): Define.
519         (lll_robust_mutex_lock): Remove.
520         (__lll_mutex_cond_lock): Remove.
521         (lll_robust_lock) Define.
522         (lll_robust_cond_lock): Define.
523         (lll_robust_mutex_cond_lock): Remove.
524         (__lll_cond_lock): Define.
525         (lll_cond_lock): Define.
526         (__lll_mutex_timedlock): Remove.
527         (__lll_timedlock): Define.
528         (lll_timedlock): Define.
529         (lll_robust_mutex_timedlock): Remove.
530         (lll_robust_timedlock): Define.
531         (__lll_mutex_unlock): Remove.
532         (__lll_unlock): Define.
533         (__lll_robust_mutex_unlock): Remove.
534         (__lll_robust_unlock): Define.
535         (lll_robust_mutex_unlock): Remove.
536         (lll_robust_unlock): Define.
537         (__lll_mutex_unlock_force): Remove.
538         (lll_mutex_unlock_force): Remove.
539         (lll_islocked): Remove.
540         (lll_mutex_islocked): Rename to...
541         (lll_islocked): ... this.
542         (lll_trylock): Remove.
543         (lll_unlock): Remove.
544         (lll_wait_tid): Format whitespace.
545         (lll_cond_wait): Remove.
546         (lll_cond_timedwait): Remove.
547         (lll_cond_wake): Remove.
548         (lll_cond_broadcast): Remove.
550 2007-10-17  Carlos O'Donell  <carlos@systemhalted.org>
552         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Correct return value
553         type and __THROW marker of splice, vmsplice, and tee.
555 2007-09-24  Carlos O'Donell  <carlos@systemhalted.org>
557         * sysdeps/hppa/nptl/tls.h: Fix comment.
558         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Fix comment format.
559         [__USE_GNU] (O_CLOEXEC): Define.
560         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Issue error
561         if the library is unsupported.
562         [ASSEMBLER && IS_IN_librt]: Define CENABLE, CDISABLE, and
563         __local_multiple_threads.
565 2007-08-03  Aurelien Jarno  <aurelien@aurel32.net>
567         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h:
568         (__local_multiple_threads): Declare as hidden only in libc and
569         in libpthread.
571 2007-07-28  Carlos O'Donell  <carlos@systemhalted.org>
573         * sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Remove.
574         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
575         (pthread_rwlock_t): Split __flags into __pad2, __pad1, __shared,
576         and __flags. Update comments. Update copyright.
577         * sysdeps/hppa/nptl/tls.h: Define THREAD_GSCOPE_FLAG_UNUSED,
578         THREAD_GSCOPE_FLAG_USED, THREAD_GSOPE_FLAG_WAIT,
579         THREAD_GSCOPE_RSEET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_WAIT.
580         Update copyright.
581         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Update copyright.
582         (__lll_lock_wait): Call lll_futex_wait with LLL_SHARED.
583         (__lll_timedlock_wait): Call lll_futex_timed_wait with LLL_SHARED.
584         (lll_unlock_Wake_cb): Use lll_private_futex_wake.
585         (___lll_timedwait_tid): Call lll_futex_timed_wait with LLL_SAHRED.
586         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define
587         FUTEX_PRIVATE_FLAG, LLL_PRIVATE, LLL_SHARED, lll_private_futex_wait,
588         lll_private_futex_timed_wait, lll_private_Futex_wake. Add private
589         argument to lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
590         lll_futex_wake_unlock.
591         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Update copyright.
592         (clear_once_control): Use lll_private_futex_wake.
593         (__pthread_once): Use lll_private_futex_wait, and
594         lll_private_futex_wake.
596 2007-07-28  Randolph Chung  <tausq@debian.org>
598         * sysdeps/hppa/nptl/tls.h (DB_THREAD_SELF): Fix definition.
600 2007-06-16  Jeff Bailey  <jbailey@raspberryginger.com>
602         * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Don't
603         include asm/elf.h.  Declare elf_greg_t, elf_gregset_t,
604         elf_fpreg_t, and elf_fpregset_t.
606 2007-06-16  Jeff Bailey  <jbailey@raspberryginger.com>
608         * sysdeps/unix/sysv/linux/hppa/nptl/configure.in: Require
609         at least kernel 2.6.9.
610         * sysdeps/unix/sysv/linux/hppa/nptl/configure: Rebuilt.
612 2007-05-17  Carlos O'Donell  <carlos@systemhalted.org>
614         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h
615         (SEM_VALUE_MAX): Remove.
617 2007-05-17  Carlos O'Donell  <carlos@systemhalted.org>
619         * sysdeps/unix/sysv/linux/hppa/sysdep.h (PIC_REG_DEF): Define.
620         (PIC_REG_USE): Define.
621         (INLINE_SYSCALL): Use PIC_REG_DEF, PIC_REG_USE.
622         (INTERNAL_SYSCALL): Likewise.
623         (INTERNAL_SYSCALL_NCS): Likewise.
624         * sysdeps/unix/sysv/linux/hppa/sysdep.c (syscall): Use
625         PIC_REG_DEF, PIC_REG_USE.
627 2007-05-01  Carlos O'Donell  <carlos@systemhalted.org>
629         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h
630         [__USE_XOPEN2K]: Define pthread_rwlock_t and
631         pthread_rwlockattr_t.
633 2007-02-02  Carlos O'Donell  <carlos@systemhalted.org>
635         * sysdeps/unix/sysv/linux/hppa/sysdep.h (PTR_MANGLE): Define.
636         (PTR_DEMANGLE): Define.
638 2007-02-02  Guy Martin  <gmsoft@tuxicoman.be>
640         * sysdeps/hppa/dl-trampoline.S (_dl_runtime_profile):
641         Add cfi_endproc.
643 2006-12-03  Carlos O'Donell  <carlos@systemhalted.org>
645         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove non-atomic
646         versions. Adjust jump target to '0b'.
648 2006-12-03  Carlos O'Donell  <carlos@systemhalted.org>
650         * sysdeps/hppa/Makefile: Set long-double-fcts to `no'.
651         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
652         * sysdeps/hppa/fpu/bits/mathdef.h: New file.
654 2006-11-10  Carlos O'Donell  <carlos@systemhalted.org>
656         * sysdeps/hppa/nptl/pthread_spin_init.c: New file.
657         * sysdeps/hppa/nptl/pthread_spin_unlock.c: Remove strong alias
658         to pthread_spin_init.
659         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Define
660         RTLD_SINGLE_THREAD_P.
662 2006-09-20  Carlos O'Donell  <carlos@systemhalted.org>
664         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (splice): Add offin
665         and offout arguments to the prototype.
667 2006-09-15  Carlos O'Donell  <carlos@systemhalted.org>
669         * sysdeps/hppa/nptl/tcb-offsets.sym: Define TID_THREAD_OFFSET.
670         * sysdeps/unix/sysv/linux/hppa/clone.S: Handle RESET_PID, and
671         restore r19 before call to _exit.
672         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: New file.
674 2006-09-13  Carlos O'Donell  <carlos@systemhalted.org>
676         * sysdeps/hppa/dl-machine.h (RTLD_START): Comment the use of
677         _dl_fini_plabel.
678         * sysdeps/hppa/elf/start.S: Correctly pass r23 to argument 6 of
679         __libc_start_main. Comment the order of arguments at entry and
680         those to __libc_start_main.
682 2006-09-07  Carlos O'Donell  <carlos@systemhalted.org>
684         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Remove
685         lvalue cast.
686         * sysdeps/hppa/dl-trampoline.S (_dl_fixup): Correct stack usage.
687         (_dl_runtime_profile): LA fixups.
688         * sysdeps/unix/sysv/linux/hppa/clone.S: Correct stack usage. Return
689         -1 on error. Use branch and link for error handler funciton.
690         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Correct stack usage.
691         Avoid register shuffling.
692         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (ASM_EAGAIN): Define
693         as -EAGAIN.
694         * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Adjust definitions to
695         match required standards.
696         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
697         (lll_futex_wait): Return __ret.
698         (lll_futex_timed_wait): Likewise.
699         (lll_futex_wake): Likewise.
700         (lll_futex_requeue): Likewise.
701         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Correct stack
702         usage and adjust error return.
703         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Adjust
704         stack usage for gdb, and avoid extra register loads.
705         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Copy
706         nptl/sysdeps/pthread/unwind-forcedunwind.c.
707         (LIBGCC_SO): Define and use.
708         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Copy
709         nptl/sysdeps/pthread/unwind-resume.c.
710         (LIBGCC_SO): Define and use.
712 2006-08-13  Carlos O'Donell  <carlos@systemhalted.org>
714         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h (FUTEX_LOCK_PI,
715         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
717 2006-07-24  Carlos O'Donell  <carlos@systemhalted.org>
719         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
720         __SIZEOF_PTHREAD_COND_T is 64 bytes. Remove __PAD_ATOMIC_LOCK_T.
722 2006-07-18  Carlos O'Donell  <carlos@systemhalted.org>
724         * sysdeps/hppa/nptl/pthread_spin_lock.c (pthread_spin_lock): Swap
725         newval and oldval.
726         * sysdeps/hppa/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
727         Likewise.
729 2006-07-16  Jeff Bailey  <jbailey@ubuntu.com>
731         * sysdeps/hppa/tst-audit.h: New file.
733 2006-07-16  Carlos O'Donell  <carlos@systemhalted.org>
735         * sysdeps/hppa/tls-macros.h: Cleanup formatting.
737 2006-07-15  Jeff Bailey  <jbailey@ubuntu.com>
739         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Return NULL.
741 2006-07-13  Carlos O'Donell  <carlos@systemhalted.org>
743         * sysdeps/unix/sysv/linux/hppa/xstat.c: New file.
744         * sysdeps/unix/sysv/linux/hppa/lxstat.c: Likewise.
745         * sysdeps/unix/sysv/linux/hppa/fxstat.c: Likewise.
746         * sysdeps/unix/sysv/linux/hppa/fxstatat.c: Likewise.
748 2006-07-13  Carlos O'Donell  <carlos@systemhalted.org>
750         * sysdeps/hppa/nptl/Makefile: New file
751         * sysdeps/hppa/nptl/jmpbuf-unwind.h: Likewise
752         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise
753         * sysdeps/hppa/nptl/pthread_spin_trylock.c: Likewise
754         * sysdeps/hppa/nptl/pthread_spin_unlock.c: Likewise
755         * sysdeps/hppa/nptl/pthreaddef.h: Likewise
756         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise
757         * sysdeps/hppa/nptl/tls.h: Likewise
758         * sysdeps/unix/sysv/linux/hppa/nptl/bits: Likewise
759         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: Likewise
760         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: Likewise
761         * sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Likewise
762         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: Likewise
763         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Likewise
764         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise
765         * sysdeps/unix/sysv/linux/hppa/nptl/pt-initfini.c: Likewise
766         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Likewise
767         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Likewise
768         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise
769         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Likewise
770         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Likewise
772 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
774         * sysdeps/unix/sysv/linux/hppa/Versions: new errlist compat entry
775         for up to 256 errnos
777 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
779         * sysdeps/hppa/hppa1.1/Implies: Remove ieee754/ldbl-128.
780         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
781         [__LINUX_KERNEL_VERSION >= 0x020609]: Define __ASSUME_LWS_CAS.
782         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: New file.
784 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
786         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Reformat
787         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
788         Define.
790 2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
792         * sysdeps/unix/sysv/linux/hppa/clone.S: .LerrorRest
793         is a label.
795 2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
797         * sysdeps/hppa/ldsodefs.h: New file.
798         * sysdeps/unix/sysv/linux/hppa/bits/mman.h:
799         Only define MADV_* macros when __USE_BSD is present.
800         (MADV_REMOVE, MADV_DONTFORK, MADV_DOFORK): Define.
802 2006-05-15  Carlos O'Donell  <carlos@systemhalted.org>
804         * sysdeps/unix/sysv/linux/hppa/clone.S: Accept extra arguments
805         required for NPTL.
806         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Use var args for 6 arg
807         syscall.
808         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Move DOARGS and UNDOARGS
809         into PSEUDO_*'s.
810         (ENTRY_LEAF): Define.
811         (PSEUDO_NOERRNO, PSEUDO_ERRVAL): Use ENTRY_LEAF.
812         (DO_CALL): Create frame.
814 2006-05-15  Carlos O'Donell  <carlos@systemhalted.org>
816         * sysdeps/hppa/dl-machine.h: Include tls.h
817         (elf_machine_fixup_plt): Returns fdesc.
818         (elf_machine_profile_fixup_plt): Remove.
819         (elf_machine_plt_value): Returns fdesc.
820         (elf_machine_runtime_setup): Check that dl_profile != NULL.
821         (ARCH_LA_PLTENT, ARCH_LA_PLTEXIT): Define.
822         (RTLD_START): Use iitlbp with sr0.
823         (elf_machine_type_class): Include TLS relocs.
824         (reassemble_21, reassemble_14): Define.
825         (elf_machine_rela): Add DIR21L, DIR14R, PLABEL21L, PLABEL14R,
826         TLS_DTPMOD32, TLS_TPREL32, TLS_DTPOFF32 support.
827         (TRAMPOLINE_TEMPLATE): Move to ...
828         * sysdeps/hppa/dl-trampoline.S: ... here.
829         * sysdeps/hppa/abort-instr.h: Use iitlbp with sr0.
830         * sysdeps/hppa/dl-lookupcfg.h: Inlcude dl-fptr.h.
831         (DL_FIXUP_VALUE_TYPE, DL_FIXUP_MAKE_VALUE, DL_FIXUP_VALUE_CODE_ADDR,
832         DL_FIXUP_VALUE_ADD, DL_FIXUP_ADDR_VALUE): Define.
833         * sysdeps/hppa/sysdep.h: Use "!" as a separator. Cleanup comments.
834         * sysdeps/hppa/bits/link.h (La_hppa_regs, La_hppa_retval): Define.
835         Define prototypes for la_hppa_gnu_pltenter and la_hppa_gnu_pltexit.
837 2006-04-27  Carlos O'Donell  <carlos@systemhalted.org>
839         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Include uio.h, and
840         define vmsplice.
842 2006-04-21  Carlos O'Donell  <carlos@systemhalted.org>
844         * sysdeps/hppa/dl-tls.h: New file
845         * sysdeps/hppa/libc-tls.c: Likewise.
846         * sysdeps/hppa/tls-macros.h: Likewise.
847         * sysdeps/hppa/elf/configure: Likewise.
848         * sysdeps/hppa/elf/configure.in: Likewise.
850 2006-04-20  Carlos O'Donell  <carlos@systemhalted.org>
852         * sysdeps/hppa/fpu/fclrexcpt.c (feclearexcept): Use union to
853         align parameters. Specify memory clobbers.
854         * sysdeps/hppa/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
855         * sysdeps/hppa/fpu/feenablxcpt.c (feenableexcept): Likewise.
856         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Do not save exception
857         register. Use memcpy to align buffer.
858         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Store and reload
859         fr0. Use union to align parameters.
860         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
861         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Do not save
862         exception registers. Define libm_hidden_def.
863         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Do not save exception
864         registers.
865         * sysdeps/hppa/fpu/fesetround.c (fesetround): Use union to
866         align parameters, speficy memory clobbers. Define libm_hidde_def
867         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Use union to align
868         parameters. Use memcpy to align buffer.
869         * sysdeps/hppa/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
870         * sysdeps/hppa/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
871         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
872         * sysdeps/hppa/fpu/libm-test-ulps: Update.
873         * sysdeps/hppa/fpu/bits/fenv.h: Add ABI comments.
875 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
877         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]:
878         Define MMAP_FIXED.
879         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_GNU]:
880         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE,
881         SYNC_FILE_RANGE_WAIT_AFTER, sync_file_range, splice, tee.
883 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
885         * sysdeps/unix/sysv/linux/hppa/kernel-features.h: New file.
887 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
889         * sysdeps/hppa/linuxthreads/pspinlock.c: New file.
890         * sysdeps/hppa/linuxthreads/pt-machine.h: Likewise.
891         * sysdeps/hppa/linuxthreads/tls.h: Likewise.
892         * sysdeps/unix/sysv/linux/hppa/linuxthreads/aio_cancel.c: Likewise.
893         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h:
894         Likewise.
895         * sysdeps/unix/sysv/linux/hppa/linuxthreads/pt-initfini.c: Likewise.
896         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: Likewise.
897         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/initspin.h: Likewise.
898         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h:
899         Likewise.
901 2006-02-28  Roland McGrath  <roland@redhat.com>
903         * sysdeps/hppa/shlib-versions: New file.
904         * sysdeps/hppa/preconfigure: New file.