HPPA: Update socket.h, pthreadtypes.h and pthread.h
[glibc-ports.git] / ChangeLog.hppa
blob842d1bf5eb906695cccfb6dca1fa4f5d10ba74a8
1 2012-03-03  Carlos O'Donell  <carlos@systemhalted.org>
3         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Name 
4         pthread_attr_t union.
5         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Sync from libc copy.
6         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Likewise.
8 2012-01-08  Carlos O'Donell  <carlos@systemhalted.org>
10         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h (EPOLLONESHOT)
11         (EPOLLET): Initialize with unsiged values.
13 2012-01-08  Carlos O'Donell  <carlos@systemhalted.org>
15         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Sync from libc copy.
17 2012-01-08  Carlos O'Donell  <carlos@systemhalted.org>
19         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Use const instead of __const.
20         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Likewise.
22 2011-10-21  Carlos O'Donell  <carlos@systemhalted.org>
24         * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Update copyright year.
25         Do not include signal.h and sys/ucontext.h. 
27 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
29         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Update copyright 
30         year. 
31         (PSEUDO): Define __*_nocancel version. Add CFI directives to __*_nocancel
32         and normal version.
33         (PUSHARGS_1): Add CFI directive.
34         (PUSHARGS_2): Likewise.
35         (PUSHARGS_3): Likewise.
36         (PUSHARGS_4): Likewise.
37         (PUSHARGS_5): Likewise.
38         (PUSHARGS_6): Likewise.
39         (POPARGS_1): Likewise.
40         (POPARGS_2): Likewise.
41         (POPARGS_3): Likewise.
42         (POPARGS_4): Likewise.
43         (POPARGS_5): Likewise.
44         (POPARGS_6): Likewise.
46 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
48         * sysdeps/unix/sysv/linux/hppa/linuxthreads/aio_cancel.c: Remove.
49         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/initspin.h: Remove.
50         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h: Remove.
51         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h: Remove.
52         * sysdeps/unix/sysv/linux/hppa/linuxthreads/pt-initfini.c: Remove.
53         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: Remove.
54         * sysdeps/hppa/linuxthreads/pspinlock.c: Remove.
55         * sysdeps/hppa/linuxthreads/pt-machine.h: Remove.
56         * sysdeps/hppa/linuxthreads/tls.h: Remove.
58 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
60         * sysdeps/hppa/stackinfo.h: Update copyright year.
61         Include elf.h and define DEFAULT_STACK_PERMS.
63 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
65         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Synchronize
66         with canonical fcntl.h.
68 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
70         * sysdeps/hppa/fpu/fegetenv.c: Add hidden alias.
71         * sysdeps/hppa/fpu/feupdateenv.c: Likewise.
72         * sysdeps/hppa/fpu/ftestexcept.c: Likewise.
74 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
76         * sysdeps/hppa/dl-tls.h: Update copyright year.
77         Define TLS_DTV_UNALLOCATED.
79 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
81         * sysdeps/hppa/elf/configure.in: Always test for TLS support
82         and error out if missing.
83         * sysdeps/hppa/elf/configure: Regenerate.
84         * sysdeps/hppa/configure: Regenerate.
86 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
88         * sysdeps/hppa/nptl/tls.h: Update copyright year.
89         Remove HAVE_TLS_SUPPORT check.
91 2011-10-17  Guy Martin  <gmsoft@tuxicoman.be>
93         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h
94         Fix EPOLL_CLOEXEC and EPOLL_NONBLOCK to match kernel definition.
95         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h
96         Fix EFD_CLOEXEC and EFD_NONBLOCK to match kernel definition.
97         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h
98         Fix IN_CLOEXEC and IN_NONBLOCK to match kernel definition.
99         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h
100         Fix SFD_CLOEXEC and SFD_NONBLOCK to match kernel definition.
101         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h
102         Fix TFD_CLOEXEC and TFD_NONBLOCK to match kernel definition.
104 2011-10-05  Andreas Schwab  <schwab@redhat.com>
106         * sysdeps/hppa/dl-machine.h (elf_machine_rela)
107         (elf_machine_lazy_rel): Add parameter skip_ifunc.
109 2010-06-24  Carlos O'Donell  <carlos@codesourcery.com>
111         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Only create stack
112         frame around call to SYSCALL_ERROR_HANDLER. Do not restore %rp
113         from the stack frame on successfull return.
115 2010-06-23  Carlos O'Donell  <carlos@codesourcery.com>
117         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext_ret):
118         Document that this function is a non-standard calling ABI.
119         Document register usage.
120         (__getcontext): Use normal %sp without adjustment. Use named
121         resgister %sp.
122         * sysdeps/unix/sysv/linux/hppa/makecontext.c: Remove FRAME_SIZE.
123         Define FRAME_SIZE_UL, FRAME_SIZE_BYTES, ARGS.
124         (__makecontext): Create and setup a stack frame.
125         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
126         Use named register %sp. Do not use oSS_SP.
128 2010-06-07  Andreas Schwab  <schwab@redhat.com>
130         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Update to agree
131         with generic file.
133 2010-03-30  Carlos O'Donell <carlos@codesourcery.com>
135         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Define
136         MSG_WAITFORONE.
138 2010-02-17  Matt Turner  <mattst88@gmail.com>
140         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Actually fix
141         SOCK_CLOEXEC to match O_CLOEXEC.
143 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
145         * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Define
146         MADV_MERGEABLE and MADV_UNMERGEABLE.
148 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
150         * sysdeps/hppa/nptl/tls.h (__set_cr27): Clobber
151         link register r31.
153 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
155         * sysdeps/unix/sysv/linux/hppa/makecontext.c (__makecontext):
156         Support more than 8 arguments.
158 2010-02-01  Kyle McMartin  <kyle@redhat.com>
160         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Fix value of
161         SOCK_CLOEXEC to match O_CLOEXEC.
163 2010-02-01  Carlos O'Donell  <carlos@codesourcery.com>
165         * sysdeps/unix/sysv/linux/hppa/Versions: Bump
166         errlist-compat to 257 for GLIBC_2.12.
167         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
168         (EOWNERDEAD): Define if not already defined.
169         (ENOTRECOVERABLE): Likewise.
170         (ERFKILL): Likewise.
172 2009-11-29  Carlos O'Donell  <carlos@codesourcery.com>
174         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h:
175         Rearrange file to reduce future maintenance.
176         [__USE_GNU]: Update F_GETOWN_EX, and F_SETOWN_EX.
177         Define f_owner_ex an __pid_type.
179 2009-11-25  Carlos O'Donell  <carlos@codesourcery.com>
181         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
182         Use correct alignment for pthread_mutex_t, pthread_cond_t,
183         and pthread_rwlock_t.
185 2009-11-22  Carlos O'Donell  <carlos@codesourcery.com>
187         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Avoid warnings
188         by casting oldval to int.
190 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
192         [BZ #6676]
194         * sysdeps/unix/sysv/linux/hppa/socket.h: Move from here...
195         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: ... to here.
197 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
199         * sysdeps/unix/sysv/linux/hppa/Versions (libc): Add
200         fallocate64@@GLIBC_2.11.
201         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
202         [__USE_GNU]: Define F_GETOWN_EX, and F_SETOWN_EX.
203         [!__USE_FILE_OFFSET64]: Define fallocate.
204         [__USE_FILE_OFFSET64 && __REDIRECT]: Define __REDIRECT.
205         [__USE_FILE_OFFSET64 && !__REDIRECT]: Define fallocate as
206         fallocate64.
207         [__USE_LARGEFILE64]: define fallocate64.
209 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
211         * sysdeps/hppa/dl-fptr.h: Update copyright year.
212         Reduce ELF_MACHINE_BOOT_FPTR_TABLE_LEN to 64.
213         Implement ELF_MACHINE_LOAD_ADDRESS using PC relative loads.
215 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
217         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
218         Remove FUTEX_WAITERS, FUTEX_OWNER_DIED, and FUTEX_TID_MASK.
220 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
221             Aurelian Jarno  <aurelien@aurel32.net>
223         [BZ #10527]
225         * sysdeps/unix/sysv/linux/hppa/socket.h: New file.
227 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
229         [BZ #6676]
231         * sysdeps/hppa/elf/start.S: Use R_PARISC_DLTIND* relocations
232         to support -fPIE.
234 2009-11-08  Carlos O'Donell  <carlos@codesourcery.com>
236         [BZ #10920]
238         * sysdeps/hppa/libgcc_s.h: New file.
239         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Remove.
240         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Remove.
242 2009-09-08  Carlos O'Donell  <carlos@codesourcery.com>
244         sysdeps/unix/sysv/linux/hppa/
245         * internaltypes.h: New file.
247         sysdeps/unix/sysv/linux/hppa/nptl/
248         * pthreadP.h: New file.
249         * pthread.h: New file.
250         * pthread_cond_broadcast.c: New file.
251         * pthread_cond_destroy.c: New file.
252         * pthread_cond_init.c: New file.
253         * pthread_cond_signal.c: New file.
254         * pthread_cond_timedwait.c: New file.
255         * pthread_cond_wait.c: New file.
256         * bits/pthreadtypes.h: Make pthread_mutex_t,
257         pthread_rwlock_t, and pthread_cond_t backwards
258         compatible.
260 2009-04-24  Carlos O'Donell  <carlos@codesourcery.com>
262         * sysdeps/hppa/hppa1.1/s_signbit.c: New file.
264 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
266         * sysdeps/hppa/dl-machine.h: Remove VALID_ELF_OSABI,
267         VALID_ELF_ABIVERSION, and VALID_ELF_HEADER.
269 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
271         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Do not include
272         sysdep.h. Document the reason for other includes.
274 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
276         * sysdeps/unix/sysv/linux/hppa/sysdep.h [!__ASSEMBLER__]:
277         Include errno.h.
279 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
281         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
282         Adjust comment. Sort macros alphabetically. Remove old
283         lock comments.
285 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
287         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c:
288         Update from nptl/sysdeps/pthread/unwind-forcedunwind.c
289         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c:
290         Update from nptl/sysdeps/pthread/unwind-resume.c
292 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
294         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define
295         FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME,
296         and FUTEX_BITSET_MATCH_ANY.
298 2009-02-22  Carlos O'Donell  <carlos@codesourcery.com>
300         * sysdeps/unix/sysv/linux/hppa/Versions: Add missing bracket.
302 2009-02-22  Carlos O'Donell  <carlos@codesourcery.com>
304         * sysdeps/hppa/dl-machine.h: Use _dl_runtime_profile.
306 2009-02-13  Khem Raj  <raj.khem@gmail.com>
308         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c
309         (libgcc_s_handle): New variable.
310         (pthread_cancel_init): Depend in libgcc_s_handle for decision to
311         load DSO.  Assign last.
312         (__unwind_freeres): New function.
314 2009-02-09  Arthur Loiret  <aloiret@debian.org>
316         [BZ #9717]
318         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h
319         (MALLOC): Adjust __libc_tsd_define arguments.
320         (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
321         arguments.
323 2008-08-07  Helge Deller  <deller@gmx.de>
325         * sysdeps/unix/sysv/linux/hppa/ucontext_i.sym: New file.
326         * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
327         * sysdeps/unix/sysv/linux/hppa/getcontext.S: New file.
328         * sysdeps/unix/sysv/linux/hppa/makecontext.c: New file.
329         * sysdeps/unix/sysv/linux/hppa/setcontext.S: New file.
330         * sysdeps/unix/sysv/linux/hppa/swapcontext.c: New file.
332 2008-06-17  Aurelian Jarno  <aurelien@aurel32.net>
333             Carlos O'Donell  <carlos@systemhalted.org>
335         [BZ #6037]
336         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Check for -11
337         (-EAGAIN) instead of 11. Loop again when the kernel
338         returns -45 (-EDEADLOCK). Add back memory clobber.
339         Do not initialize lws_ret and lws_errno.
341 2008-06-17  Guy Martin  <gmsoft@tuxicoman.be>
343         [BZ #5957]
344         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
345         Use shared futex in lll_wait_tid().
347 2008-05-12  Aurelien Jarno  <aurelien@aurel32.net>
349         [BZ #6506]
350         * sysdeps/hppa/fpu/fesetenv.c: bufptr is always read, temp is
351         read while writing back status word.
353 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
355         * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Fix comment describing
356         shmid_ds.
358 2008-04-04  Carlos O'Donell  <carlos@codesourcery.com>
360         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove
361         memory contraint and instead indicate that *mem is
362         written to.
364 2008-03-24  Carlos O'Donell  <carlos@codesourcery.com>
366         * sysdeps/unix/sysv/linux/hppa/sys/user.h: New file.
368 2008-03-14  Carlos O'Donell  <carlos@codesourcery.com>
369             Guy Martin <gmsoft@tuxicoman.be>
371         [BZ #5923]
372         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Pass
373         timespec and futexp.
375 2008-02-22  Carlos O'Donell  <carlos@codesourcery.com>
377         * sysdeps/unix/sysv/linux/hppa/Makefile: Remove.
378         * sysdeps/hppa/nptl/Makefile: Set tst-oddstacklimit-ENV.
380 2007-12-05  Jeff Bailey  <jeffbailey@google.com>
382         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
383         (__lll_unlock): Use define instead of inline function.
384         (__lll_robust_unlock): Likewise.
386 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
388         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
390 2007-10-18  Carlos O'Donell  <carlos@systemhalted.org>
392         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c
393         (__lll_lock_wait): Add private argument. Pass private
394         to lll_futex_wait. Use atomic_compare_and_exchange_val_acq.
395         (__lll_lock_wait_private): New function.
396         (__lll_timedlock_wait): Add private argument. Pass private
397         to lll_futex_timed_wait.
398         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
399         Include kernel-features.h and tls.h.
400         (FUTEX_WAITERS): Define.
401         (FUTEX_OWNER_DIED): Define.
402         (FUTEX_TID_MASK): Define.
403         (__lll_private_flag): Define.
404         (lll_futex_timed_wait): Use __lll_private_flag.
405         (lll_futex_wake): Use __lll_private_flag.
406         (lll_futex_requeue): Use __lll_private_flag.
407         (lll_robust_mutex_dead): Rename to...
408         (lll_robust_dead): ... this. Add private argument. Pass private
409         to lll_futex_wake.
410         (lll_futex_wake_unlock): Use __lll_private_flag.
411         (__lll_mutex_trylock): Remove.
412         (lll_mutex_tryock): Remove.
413         (__lll_robust_mutex_trylock): Rename to...
414         (__lll_robust_trylock): ... this.
415         (lll_robust_mutex_trylock): Rename to...
416         (lll_robust_trylock): ... this. Call __lll_robust_trylock.
417         (__lll_mutex_cond_trylock): Rename to...
418         (__lll_cond_trylock): ... this.
419         (lll_mutex_cond_trylock): Rename to...
420         (lll_cond_trylock): ... this. Call __lll_cond_trylock.
421         (__lll_mutex_lock): Add private argument.
422         (__lll_robust_mutex_lock): Remove.
423         (lll_mutex_lock): Define.
424         (__lll_robust_lock): Define.
425         (lll_robust_mutex_lock): Remove.
426         (__lll_mutex_cond_lock): Remove.
427         (lll_robust_lock) Define.
428         (lll_robust_cond_lock): Define.
429         (lll_robust_mutex_cond_lock): Remove.
430         (__lll_cond_lock): Define.
431         (lll_cond_lock): Define.
432         (__lll_mutex_timedlock): Remove.
433         (__lll_timedlock): Define.
434         (lll_timedlock): Define.
435         (lll_robust_mutex_timedlock): Remove.
436         (lll_robust_timedlock): Define.
437         (__lll_mutex_unlock): Remove.
438         (__lll_unlock): Define.
439         (__lll_robust_mutex_unlock): Remove.
440         (__lll_robust_unlock): Define.
441         (lll_robust_mutex_unlock): Remove.
442         (lll_robust_unlock): Define.
443         (__lll_mutex_unlock_force): Remove.
444         (lll_mutex_unlock_force): Remove.
445         (lll_islocked): Remove.
446         (lll_mutex_islocked): Rename to...
447         (lll_islocked): ... this.
448         (lll_trylock): Remove.
449         (lll_unlock): Remove.
450         (lll_wait_tid): Format whitespace.
451         (lll_cond_wait): Remove.
452         (lll_cond_timedwait): Remove.
453         (lll_cond_wake): Remove.
454         (lll_cond_broadcast): Remove.
456 2007-10-17  Carlos O'Donell  <carlos@systemhalted.org>
458         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Correct return value
459         type and __THROW marker of splice, vmsplice, and tee.
461 2007-09-24  Carlos O'Donell  <carlos@systemhalted.org>
463         * sysdeps/hppa/nptl/tls.h: Fix comment.
464         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Fix comment format.
465         [__USE_GNU] (O_CLOEXEC): Define.
466         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Issue error
467         if the library is unsupported.
468         [ASSEMBLER && IS_IN_librt]: Define CENABLE, CDISABLE, and
469         __local_multiple_threads.
471 2007-08-03  Aurelien Jarno  <aurelien@aurel32.net>
473         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h:
474         (__local_multiple_threads): Declare as hidden only in libc and
475         in libpthread.
477 2007-07-28  Carlos O'Donell  <carlos@systemhalted.org>
479         * sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Remove.
480         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
481         (pthread_rwlock_t): Split __flags into __pad2, __pad1, __shared,
482         and __flags. Update comments. Update copyright.
483         * sysdeps/hppa/nptl/tls.h: Define THREAD_GSCOPE_FLAG_UNUSED,
484         THREAD_GSCOPE_FLAG_USED, THREAD_GSOPE_FLAG_WAIT,
485         THREAD_GSCOPE_RSEET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_WAIT.
486         Update copyright.
487         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Update copyright.
488         (__lll_lock_wait): Call lll_futex_wait with LLL_SHARED.
489         (__lll_timedlock_wait): Call lll_futex_timed_wait with LLL_SHARED.
490         (lll_unlock_Wake_cb): Use lll_private_futex_wake.
491         (___lll_timedwait_tid): Call lll_futex_timed_wait with LLL_SAHRED.
492         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define
493         FUTEX_PRIVATE_FLAG, LLL_PRIVATE, LLL_SHARED, lll_private_futex_wait,
494         lll_private_futex_timed_wait, lll_private_Futex_wake. Add private
495         argument to lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
496         lll_futex_wake_unlock.
497         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Update copyright.
498         (clear_once_control): Use lll_private_futex_wake.
499         (__pthread_once): Use lll_private_futex_wait, and
500         lll_private_futex_wake.
502 2007-07-28  Randolph Chung  <tausq@debian.org>
504         * sysdeps/hppa/nptl/tls.h (DB_THREAD_SELF): Fix definition.
506 2007-06-16  Jeff Bailey  <jbailey@raspberryginger.com>
508         * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Don't
509         include asm/elf.h.  Declare elf_greg_t, elf_gregset_t,
510         elf_fpreg_t, and elf_fpregset_t.
512 2007-06-16  Jeff Bailey  <jbailey@raspberryginger.com>
514         * sysdeps/unix/sysv/linux/hppa/nptl/configure.in: Require
515         at least kernel 2.6.9.
516         * sysdeps/unix/sysv/linux/hppa/nptl/configure: Rebuilt.
518 2007-05-17  Carlos O'Donell  <carlos@systemhalted.org>
520         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h
521         (SEM_VALUE_MAX): Remove.
523 2007-05-17  Carlos O'Donell  <carlos@systemhalted.org>
525         * sysdeps/unix/sysv/linux/hppa/sysdep.h (PIC_REG_DEF): Define.
526         (PIC_REG_USE): Define.
527         (INLINE_SYSCALL): Use PIC_REG_DEF, PIC_REG_USE.
528         (INTERNAL_SYSCALL): Likewise.
529         (INTERNAL_SYSCALL_NCS): Likewise.
530         * sysdeps/unix/sysv/linux/hppa/sysdep.c (syscall): Use
531         PIC_REG_DEF, PIC_REG_USE.
533 2007-05-01  Carlos O'Donell  <carlos@systemhalted.org>
535         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h
536         [__USE_XOPEN2K]: Define pthread_rwlock_t and
537         pthread_rwlockattr_t.
539 2007-02-02  Carlos O'Donell  <carlos@systemhalted.org>
541         * sysdeps/unix/sysv/linux/hppa/sysdep.h (PTR_MANGLE): Define.
542         (PTR_DEMANGLE): Define.
544 2007-02-02  Guy Martin  <gmsoft@tuxicoman.be>
546         * sysdeps/hppa/dl-trampoline.S (_dl_runtime_profile):
547         Add cfi_endproc.
549 2006-12-03  Carlos O'Donell  <carlos@systemhalted.org>
551         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove non-atomic
552         versions. Adjust jump target to '0b'.
554 2006-12-03  Carlos O'Donell  <carlos@systemhalted.org>
556         * sysdeps/hppa/Makefile: Set long-double-fcts to `no'.
557         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
558         * sysdeps/hppa/fpu/bits/mathdef.h: New file.
560 2006-11-10  Carlos O'Donell  <carlos@systemhalted.org>
562         * sysdeps/hppa/nptl/pthread_spin_init.c: New file.
563         * sysdeps/hppa/nptl/pthread_spin_unlock.c: Remove strong alias
564         to pthread_spin_init.
565         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Define
566         RTLD_SINGLE_THREAD_P.
568 2006-09-20  Carlos O'Donell  <carlos@systemhalted.org>
570         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (splice): Add offin
571         and offout arguments to the prototype.
573 2006-09-15  Carlos O'Donell  <carlos@systemhalted.org>
575         * sysdeps/hppa/nptl/tcb-offsets.sym: Define TID_THREAD_OFFSET.
576         * sysdeps/unix/sysv/linux/hppa/clone.S: Handle RESET_PID, and
577         restore r19 before call to _exit.
578         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: New file.
580 2006-09-13  Carlos O'Donell  <carlos@systemhalted.org>
582         * sysdeps/hppa/dl-machine.h (RTLD_START): Comment the use of
583         _dl_fini_plabel.
584         * sysdeps/hppa/elf/start.S: Correctly pass r23 to argument 6 of
585         __libc_start_main. Comment the order of arguments at entry and
586         those to __libc_start_main.
588 2006-09-07  Carlos O'Donell  <carlos@systemhalted.org>
590         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Remove
591         lvalue cast.
592         * sysdeps/hppa/dl-trampoline.S (_dl_fixup): Correct stack usage.
593         (_dl_runtime_profile): LA fixups.
594         * sysdeps/unix/sysv/linux/hppa/clone.S: Correct stack usage. Return
595         -1 on error. Use branch and link for error handler funciton.
596         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Correct stack usage.
597         Avoid register shuffling.
598         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (ASM_EAGAIN): Define
599         as -EAGAIN.
600         * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Adjust definitions to
601         match required standards.
602         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
603         (lll_futex_wait): Return __ret.
604         (lll_futex_timed_wait): Likewise.
605         (lll_futex_wake): Likewise.
606         (lll_futex_requeue): Likewise.
607         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Correct stack
608         usage and adjust error return.
609         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Adjust
610         stack usage for gdb, and avoid extra register loads.
611         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Copy
612         nptl/sysdeps/pthread/unwind-forcedunwind.c.
613         (LIBGCC_SO): Define and use.
614         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Copy
615         nptl/sysdeps/pthread/unwind-resume.c.
616         (LIBGCC_SO): Define and use.
618 2006-08-13  Carlos O'Donell  <carlos@systemhalted.org>
620         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h (FUTEX_LOCK_PI,
621         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
623 2006-07-24  Carlos O'Donell  <carlos@systemhalted.org>
625         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
626         __SIZEOF_PTHREAD_COND_T is 64 bytes. Remove __PAD_ATOMIC_LOCK_T.
628 2006-07-18  Carlos O'Donell  <carlos@systemhalted.org>
630         * sysdeps/hppa/nptl/pthread_spin_lock.c (pthread_spin_lock): Swap
631         newval and oldval.
632         * sysdeps/hppa/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
633         Likewise.
635 2006-07-16  Jeff Bailey  <jbailey@ubuntu.com>
637         * sysdeps/hppa/tst-audit.h: New file.
639 2006-07-16  Carlos O'Donell  <carlos@systemhalted.org>
641         * sysdeps/hppa/tls-macros.h: Cleanup formatting.
643 2006-07-15  Jeff Bailey  <jbailey@ubuntu.com>
645         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Return NULL.
647 2006-07-13  Carlos O'Donell  <carlos@systemhalted.org>
649         * sysdeps/unix/sysv/linux/hppa/xstat.c: New file.
650         * sysdeps/unix/sysv/linux/hppa/lxstat.c: Likewise.
651         * sysdeps/unix/sysv/linux/hppa/fxstat.c: Likewise.
652         * sysdeps/unix/sysv/linux/hppa/fxstatat.c: Likewise.
654 2006-07-13  Carlos O'Donell  <carlos@systemhalted.org>
656         * sysdeps/hppa/nptl/Makefile: New file
657         * sysdeps/hppa/nptl/jmpbuf-unwind.h: Likewise
658         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise
659         * sysdeps/hppa/nptl/pthread_spin_trylock.c: Likewise
660         * sysdeps/hppa/nptl/pthread_spin_unlock.c: Likewise
661         * sysdeps/hppa/nptl/pthreaddef.h: Likewise
662         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise
663         * sysdeps/hppa/nptl/tls.h: Likewise
664         * sysdeps/unix/sysv/linux/hppa/nptl/bits: Likewise
665         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: Likewise
666         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: Likewise
667         * sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Likewise
668         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: Likewise
669         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Likewise
670         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise
671         * sysdeps/unix/sysv/linux/hppa/nptl/pt-initfini.c: Likewise
672         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Likewise
673         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Likewise
674         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise
675         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Likewise
676         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Likewise
678 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
680         * sysdeps/unix/sysv/linux/hppa/Versions: new errlist compat entry
681         for up to 256 errnos
683 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
685         * sysdeps/hppa/hppa1.1/Implies: Remove ieee754/ldbl-128.
686         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
687         [__LINUX_KERNEL_VERSION >= 0x020609]: Define __ASSUME_LWS_CAS.
688         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: New file.
690 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
692         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Reformat
693         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
694         Define.
696 2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
698         * sysdeps/unix/sysv/linux/hppa/clone.S: .LerrorRest
699         is a label.
701 2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
703         * sysdeps/hppa/ldsodefs.h: New file.
704         * sysdeps/unix/sysv/linux/hppa/bits/mman.h:
705         Only define MADV_* macros when __USE_BSD is present.
706         (MADV_REMOVE, MADV_DONTFORK, MADV_DOFORK): Define.
708 2006-05-15  Carlos O'Donell  <carlos@systemhalted.org>
710         * sysdeps/unix/sysv/linux/hppa/clone.S: Accept extra arguments
711         required for NPTL.
712         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Use var args for 6 arg
713         syscall.
714         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Move DOARGS and UNDOARGS
715         into PSEUDO_*'s.
716         (ENTRY_LEAF): Define.
717         (PSEUDO_NOERRNO, PSEUDO_ERRVAL): Use ENTRY_LEAF.
718         (DO_CALL): Create frame.
720 2006-05-15  Carlos O'Donell  <carlos@systemhalted.org>
722         * sysdeps/hppa/dl-machine.h: Include tls.h
723         (elf_machine_fixup_plt): Returns fdesc.
724         (elf_machine_profile_fixup_plt): Remove.
725         (elf_machine_plt_value): Returns fdesc.
726         (elf_machine_runtime_setup): Check that dl_profile != NULL.
727         (ARCH_LA_PLTENT, ARCH_LA_PLTEXIT): Define.
728         (RTLD_START): Use iitlbp with sr0.
729         (elf_machine_type_class): Include TLS relocs.
730         (reassemble_21, reassemble_14): Define.
731         (elf_machine_rela): Add DIR21L, DIR14R, PLABEL21L, PLABEL14R,
732         TLS_DTPMOD32, TLS_TPREL32, TLS_DTPOFF32 support.
733         (TRAMPOLINE_TEMPLATE): Move to ...
734         * sysdeps/hppa/dl-trampoline.S: ... here.
735         * sysdeps/hppa/abort-instr.h: Use iitlbp with sr0.
736         * sysdeps/hppa/dl-lookupcfg.h: Inlcude dl-fptr.h.
737         (DL_FIXUP_VALUE_TYPE, DL_FIXUP_MAKE_VALUE, DL_FIXUP_VALUE_CODE_ADDR,
738         DL_FIXUP_VALUE_ADD, DL_FIXUP_ADDR_VALUE): Define.
739         * sysdeps/hppa/sysdep.h: Use "!" as a separator. Cleanup comments.
740         * sysdeps/hppa/bits/link.h (La_hppa_regs, La_hppa_retval): Define.
741         Define prototypes for la_hppa_gnu_pltenter and la_hppa_gnu_pltexit.
743 2006-04-27  Carlos O'Donell  <carlos@systemhalted.org>
745         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Include uio.h, and
746         define vmsplice.
748 2006-04-21  Carlos O'Donell  <carlos@systemhalted.org>
750         * sysdeps/hppa/dl-tls.h: New file
751         * sysdeps/hppa/libc-tls.c: Likewise.
752         * sysdeps/hppa/tls-macros.h: Likewise.
753         * sysdeps/hppa/elf/configure: Likewise.
754         * sysdeps/hppa/elf/configure.in: Likewise.
756 2006-04-20  Carlos O'Donell  <carlos@systemhalted.org>
758         * sysdeps/hppa/fpu/fclrexcpt.c (feclearexcept): Use union to
759         align parameters. Specify memory clobbers.
760         * sysdeps/hppa/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
761         * sysdeps/hppa/fpu/feenablxcpt.c (feenableexcept): Likewise.
762         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Do not save exception
763         register. Use memcpy to align buffer.
764         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Store and reload
765         fr0. Use union to align parameters.
766         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
767         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Do not save
768         exception registers. Define libm_hidden_def.
769         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Do not save exception
770         registers.
771         * sysdeps/hppa/fpu/fesetround.c (fesetround): Use union to
772         align parameters, speficy memory clobbers. Define libm_hidde_def
773         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Use union to align
774         parameters. Use memcpy to align buffer.
775         * sysdeps/hppa/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
776         * sysdeps/hppa/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
777         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
778         * sysdeps/hppa/fpu/libm-test-ulps: Update.
779         * sysdeps/hppa/fpu/bits/fenv.h: Add ABI comments.
781 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
783         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]:
784         Define MMAP_FIXED.
785         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_GNU]:
786         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE,
787         SYNC_FILE_RANGE_WAIT_AFTER, sync_file_range, splice, tee.
789 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
791         * sysdeps/unix/sysv/linux/hppa/kernel-features.h: New file.
793 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
795         * sysdeps/hppa/linuxthreads/pspinlock.c: New file.
796         * sysdeps/hppa/linuxthreads/pt-machine.h: Likewise.
797         * sysdeps/hppa/linuxthreads/tls.h: Likewise.
798         * sysdeps/unix/sysv/linux/hppa/linuxthreads/aio_cancel.c: Likewise.
799         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h:
800         Likewise.
801         * sysdeps/unix/sysv/linux/hppa/linuxthreads/pt-initfini.c: Likewise.
802         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: Likewise.
803         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/initspin.h: Likewise.
804         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h:
805         Likewise.
807 2006-02-28  Roland McGrath  <roland@redhat.com>
809         * sysdeps/hppa/shlib-versions: New file.
810         * sysdeps/hppa/preconfigure: New file.