alpha: Tell math_private.h that we have __isnan et al.
[glibc.git] / ChangeLog.hppa
blob52714754426c5f1caed4785380453c953d325c7b
1 2012-03-09  Richard Henderson  <rth@twiddle.net>
3         * sysdeps/hppa/hppa1.1/s_signbit.c: Use <> to include math_private.h.
5 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
7         [BZ #13673]
8         Replace FSF snail mail address with URLs, as per GNU coding standards.
10 2012-03-03  Carlos O'Donell  <carlos@systemhalted.org>
12         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Name 
13         pthread_attr_t union.
14         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Sync from libc copy.
15         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Likewise.
17 2012-01-08  Carlos O'Donell  <carlos@systemhalted.org>
19         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h (EPOLLONESHOT)
20         (EPOLLET): Initialize with unsiged values.
22 2012-01-08  Carlos O'Donell  <carlos@systemhalted.org>
24         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Sync from libc copy.
26 2012-01-08  Carlos O'Donell  <carlos@systemhalted.org>
28         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Use const instead of __const.
29         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Likewise.
31 2011-10-21  Carlos O'Donell  <carlos@systemhalted.org>
33         * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Update copyright year.
34         Do not include signal.h and sys/ucontext.h. 
36 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
38         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Update copyright 
39         year. 
40         (PSEUDO): Define __*_nocancel version. Add CFI directives to __*_nocancel
41         and normal version.
42         (PUSHARGS_1): Add CFI directive.
43         (PUSHARGS_2): Likewise.
44         (PUSHARGS_3): Likewise.
45         (PUSHARGS_4): Likewise.
46         (PUSHARGS_5): Likewise.
47         (PUSHARGS_6): Likewise.
48         (POPARGS_1): Likewise.
49         (POPARGS_2): Likewise.
50         (POPARGS_3): Likewise.
51         (POPARGS_4): Likewise.
52         (POPARGS_5): Likewise.
53         (POPARGS_6): Likewise.
55 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
57         * sysdeps/unix/sysv/linux/hppa/linuxthreads/aio_cancel.c: Remove.
58         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/initspin.h: Remove.
59         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h: Remove.
60         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h: Remove.
61         * sysdeps/unix/sysv/linux/hppa/linuxthreads/pt-initfini.c: Remove.
62         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: Remove.
63         * sysdeps/hppa/linuxthreads/pspinlock.c: Remove.
64         * sysdeps/hppa/linuxthreads/pt-machine.h: Remove.
65         * sysdeps/hppa/linuxthreads/tls.h: Remove.
67 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
69         * sysdeps/hppa/stackinfo.h: Update copyright year.
70         Include elf.h and define DEFAULT_STACK_PERMS.
72 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
74         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Synchronize
75         with canonical fcntl.h.
77 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
79         * sysdeps/hppa/fpu/fegetenv.c: Add hidden alias.
80         * sysdeps/hppa/fpu/feupdateenv.c: Likewise.
81         * sysdeps/hppa/fpu/ftestexcept.c: Likewise.
83 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
85         * sysdeps/hppa/dl-tls.h: Update copyright year.
86         Define TLS_DTV_UNALLOCATED.
88 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
90         * sysdeps/hppa/elf/configure.in: Always test for TLS support
91         and error out if missing.
92         * sysdeps/hppa/elf/configure: Regenerate.
93         * sysdeps/hppa/configure: Regenerate.
95 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
97         * sysdeps/hppa/nptl/tls.h: Update copyright year.
98         Remove HAVE_TLS_SUPPORT check.
100 2011-10-17  Guy Martin  <gmsoft@tuxicoman.be>
102         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h
103         Fix EPOLL_CLOEXEC and EPOLL_NONBLOCK to match kernel definition.
104         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h
105         Fix EFD_CLOEXEC and EFD_NONBLOCK to match kernel definition.
106         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h
107         Fix IN_CLOEXEC and IN_NONBLOCK to match kernel definition.
108         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h
109         Fix SFD_CLOEXEC and SFD_NONBLOCK to match kernel definition.
110         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h
111         Fix TFD_CLOEXEC and TFD_NONBLOCK to match kernel definition.
113 2011-10-05  Andreas Schwab  <schwab@redhat.com>
115         * sysdeps/hppa/dl-machine.h (elf_machine_rela)
116         (elf_machine_lazy_rel): Add parameter skip_ifunc.
118 2010-06-24  Carlos O'Donell  <carlos@codesourcery.com>
120         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Only create stack
121         frame around call to SYSCALL_ERROR_HANDLER. Do not restore %rp
122         from the stack frame on successfull return.
124 2010-06-23  Carlos O'Donell  <carlos@codesourcery.com>
126         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext_ret):
127         Document that this function is a non-standard calling ABI.
128         Document register usage.
129         (__getcontext): Use normal %sp without adjustment. Use named
130         resgister %sp.
131         * sysdeps/unix/sysv/linux/hppa/makecontext.c: Remove FRAME_SIZE.
132         Define FRAME_SIZE_UL, FRAME_SIZE_BYTES, ARGS.
133         (__makecontext): Create and setup a stack frame.
134         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
135         Use named register %sp. Do not use oSS_SP.
137 2010-06-07  Andreas Schwab  <schwab@redhat.com>
139         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Update to agree
140         with generic file.
142 2010-03-30  Carlos O'Donell <carlos@codesourcery.com>
144         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Define
145         MSG_WAITFORONE.
147 2010-02-17  Matt Turner  <mattst88@gmail.com>
149         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Actually fix
150         SOCK_CLOEXEC to match O_CLOEXEC.
152 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
154         * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Define
155         MADV_MERGEABLE and MADV_UNMERGEABLE.
157 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
159         * sysdeps/hppa/nptl/tls.h (__set_cr27): Clobber
160         link register r31.
162 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
164         * sysdeps/unix/sysv/linux/hppa/makecontext.c (__makecontext):
165         Support more than 8 arguments.
167 2010-02-01  Kyle McMartin  <kyle@redhat.com>
169         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Fix value of
170         SOCK_CLOEXEC to match O_CLOEXEC.
172 2010-02-01  Carlos O'Donell  <carlos@codesourcery.com>
174         * sysdeps/unix/sysv/linux/hppa/Versions: Bump
175         errlist-compat to 257 for GLIBC_2.12.
176         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
177         (EOWNERDEAD): Define if not already defined.
178         (ENOTRECOVERABLE): Likewise.
179         (ERFKILL): Likewise.
181 2009-11-29  Carlos O'Donell  <carlos@codesourcery.com>
183         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h:
184         Rearrange file to reduce future maintenance.
185         [__USE_GNU]: Update F_GETOWN_EX, and F_SETOWN_EX.
186         Define f_owner_ex an __pid_type.
188 2009-11-25  Carlos O'Donell  <carlos@codesourcery.com>
190         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
191         Use correct alignment for pthread_mutex_t, pthread_cond_t,
192         and pthread_rwlock_t.
194 2009-11-22  Carlos O'Donell  <carlos@codesourcery.com>
196         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Avoid warnings
197         by casting oldval to int.
199 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
201         [BZ #6676]
203         * sysdeps/unix/sysv/linux/hppa/socket.h: Move from here...
204         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: ... to here.
206 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
208         * sysdeps/unix/sysv/linux/hppa/Versions (libc): Add
209         fallocate64@@GLIBC_2.11.
210         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
211         [__USE_GNU]: Define F_GETOWN_EX, and F_SETOWN_EX.
212         [!__USE_FILE_OFFSET64]: Define fallocate.
213         [__USE_FILE_OFFSET64 && __REDIRECT]: Define __REDIRECT.
214         [__USE_FILE_OFFSET64 && !__REDIRECT]: Define fallocate as
215         fallocate64.
216         [__USE_LARGEFILE64]: define fallocate64.
218 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
220         * sysdeps/hppa/dl-fptr.h: Update copyright year.
221         Reduce ELF_MACHINE_BOOT_FPTR_TABLE_LEN to 64.
222         Implement ELF_MACHINE_LOAD_ADDRESS using PC relative loads.
224 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
226         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
227         Remove FUTEX_WAITERS, FUTEX_OWNER_DIED, and FUTEX_TID_MASK.
229 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
230             Aurelian Jarno  <aurelien@aurel32.net>
232         [BZ #10527]
234         * sysdeps/unix/sysv/linux/hppa/socket.h: New file.
236 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
238         [BZ #6676]
240         * sysdeps/hppa/elf/start.S: Use R_PARISC_DLTIND* relocations
241         to support -fPIE.
243 2009-11-08  Carlos O'Donell  <carlos@codesourcery.com>
245         [BZ #10920]
247         * sysdeps/hppa/libgcc_s.h: New file.
248         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Remove.
249         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Remove.
251 2009-09-08  Carlos O'Donell  <carlos@codesourcery.com>
253         sysdeps/unix/sysv/linux/hppa/
254         * internaltypes.h: New file.
256         sysdeps/unix/sysv/linux/hppa/nptl/
257         * pthreadP.h: New file.
258         * pthread.h: New file.
259         * pthread_cond_broadcast.c: New file.
260         * pthread_cond_destroy.c: New file.
261         * pthread_cond_init.c: New file.
262         * pthread_cond_signal.c: New file.
263         * pthread_cond_timedwait.c: New file.
264         * pthread_cond_wait.c: New file.
265         * bits/pthreadtypes.h: Make pthread_mutex_t,
266         pthread_rwlock_t, and pthread_cond_t backwards
267         compatible.
269 2009-04-24  Carlos O'Donell  <carlos@codesourcery.com>
271         * sysdeps/hppa/hppa1.1/s_signbit.c: New file.
273 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
275         * sysdeps/hppa/dl-machine.h: Remove VALID_ELF_OSABI,
276         VALID_ELF_ABIVERSION, and VALID_ELF_HEADER.
278 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
280         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Do not include
281         sysdep.h. Document the reason for other includes.
283 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
285         * sysdeps/unix/sysv/linux/hppa/sysdep.h [!__ASSEMBLER__]:
286         Include errno.h.
288 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
290         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
291         Adjust comment. Sort macros alphabetically. Remove old
292         lock comments.
294 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
296         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c:
297         Update from nptl/sysdeps/pthread/unwind-forcedunwind.c
298         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c:
299         Update from nptl/sysdeps/pthread/unwind-resume.c
301 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
303         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define
304         FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME,
305         and FUTEX_BITSET_MATCH_ANY.
307 2009-02-22  Carlos O'Donell  <carlos@codesourcery.com>
309         * sysdeps/unix/sysv/linux/hppa/Versions: Add missing bracket.
311 2009-02-22  Carlos O'Donell  <carlos@codesourcery.com>
313         * sysdeps/hppa/dl-machine.h: Use _dl_runtime_profile.
315 2009-02-13  Khem Raj  <raj.khem@gmail.com>
317         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c
318         (libgcc_s_handle): New variable.
319         (pthread_cancel_init): Depend in libgcc_s_handle for decision to
320         load DSO.  Assign last.
321         (__unwind_freeres): New function.
323 2009-02-09  Arthur Loiret  <aloiret@debian.org>
325         [BZ #9717]
327         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h
328         (MALLOC): Adjust __libc_tsd_define arguments.
329         (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
330         arguments.
332 2008-08-07  Helge Deller  <deller@gmx.de>
334         * sysdeps/unix/sysv/linux/hppa/ucontext_i.sym: New file.
335         * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
336         * sysdeps/unix/sysv/linux/hppa/getcontext.S: New file.
337         * sysdeps/unix/sysv/linux/hppa/makecontext.c: New file.
338         * sysdeps/unix/sysv/linux/hppa/setcontext.S: New file.
339         * sysdeps/unix/sysv/linux/hppa/swapcontext.c: New file.
341 2008-06-17  Aurelian Jarno  <aurelien@aurel32.net>
342             Carlos O'Donell  <carlos@systemhalted.org>
344         [BZ #6037]
345         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Check for -11
346         (-EAGAIN) instead of 11. Loop again when the kernel
347         returns -45 (-EDEADLOCK). Add back memory clobber.
348         Do not initialize lws_ret and lws_errno.
350 2008-06-17  Guy Martin  <gmsoft@tuxicoman.be>
352         [BZ #5957]
353         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
354         Use shared futex in lll_wait_tid().
356 2008-05-12  Aurelien Jarno  <aurelien@aurel32.net>
358         [BZ #6506]
359         * sysdeps/hppa/fpu/fesetenv.c: bufptr is always read, temp is
360         read while writing back status word.
362 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
364         * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Fix comment describing
365         shmid_ds.
367 2008-04-04  Carlos O'Donell  <carlos@codesourcery.com>
369         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove
370         memory contraint and instead indicate that *mem is
371         written to.
373 2008-03-24  Carlos O'Donell  <carlos@codesourcery.com>
375         * sysdeps/unix/sysv/linux/hppa/sys/user.h: New file.
377 2008-03-14  Carlos O'Donell  <carlos@codesourcery.com>
378             Guy Martin <gmsoft@tuxicoman.be>
380         [BZ #5923]
381         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Pass
382         timespec and futexp.
384 2008-02-22  Carlos O'Donell  <carlos@codesourcery.com>
386         * sysdeps/unix/sysv/linux/hppa/Makefile: Remove.
387         * sysdeps/hppa/nptl/Makefile: Set tst-oddstacklimit-ENV.
389 2007-12-05  Jeff Bailey  <jeffbailey@google.com>
391         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
392         (__lll_unlock): Use define instead of inline function.
393         (__lll_robust_unlock): Likewise.
395 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
397         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
399 2007-10-18  Carlos O'Donell  <carlos@systemhalted.org>
401         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c
402         (__lll_lock_wait): Add private argument. Pass private
403         to lll_futex_wait. Use atomic_compare_and_exchange_val_acq.
404         (__lll_lock_wait_private): New function.
405         (__lll_timedlock_wait): Add private argument. Pass private
406         to lll_futex_timed_wait.
407         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
408         Include kernel-features.h and tls.h.
409         (FUTEX_WAITERS): Define.
410         (FUTEX_OWNER_DIED): Define.
411         (FUTEX_TID_MASK): Define.
412         (__lll_private_flag): Define.
413         (lll_futex_timed_wait): Use __lll_private_flag.
414         (lll_futex_wake): Use __lll_private_flag.
415         (lll_futex_requeue): Use __lll_private_flag.
416         (lll_robust_mutex_dead): Rename to...
417         (lll_robust_dead): ... this. Add private argument. Pass private
418         to lll_futex_wake.
419         (lll_futex_wake_unlock): Use __lll_private_flag.
420         (__lll_mutex_trylock): Remove.
421         (lll_mutex_tryock): Remove.
422         (__lll_robust_mutex_trylock): Rename to...
423         (__lll_robust_trylock): ... this.
424         (lll_robust_mutex_trylock): Rename to...
425         (lll_robust_trylock): ... this. Call __lll_robust_trylock.
426         (__lll_mutex_cond_trylock): Rename to...
427         (__lll_cond_trylock): ... this.
428         (lll_mutex_cond_trylock): Rename to...
429         (lll_cond_trylock): ... this. Call __lll_cond_trylock.
430         (__lll_mutex_lock): Add private argument.
431         (__lll_robust_mutex_lock): Remove.
432         (lll_mutex_lock): Define.
433         (__lll_robust_lock): Define.
434         (lll_robust_mutex_lock): Remove.
435         (__lll_mutex_cond_lock): Remove.
436         (lll_robust_lock) Define.
437         (lll_robust_cond_lock): Define.
438         (lll_robust_mutex_cond_lock): Remove.
439         (__lll_cond_lock): Define.
440         (lll_cond_lock): Define.
441         (__lll_mutex_timedlock): Remove.
442         (__lll_timedlock): Define.
443         (lll_timedlock): Define.
444         (lll_robust_mutex_timedlock): Remove.
445         (lll_robust_timedlock): Define.
446         (__lll_mutex_unlock): Remove.
447         (__lll_unlock): Define.
448         (__lll_robust_mutex_unlock): Remove.
449         (__lll_robust_unlock): Define.
450         (lll_robust_mutex_unlock): Remove.
451         (lll_robust_unlock): Define.
452         (__lll_mutex_unlock_force): Remove.
453         (lll_mutex_unlock_force): Remove.
454         (lll_islocked): Remove.
455         (lll_mutex_islocked): Rename to...
456         (lll_islocked): ... this.
457         (lll_trylock): Remove.
458         (lll_unlock): Remove.
459         (lll_wait_tid): Format whitespace.
460         (lll_cond_wait): Remove.
461         (lll_cond_timedwait): Remove.
462         (lll_cond_wake): Remove.
463         (lll_cond_broadcast): Remove.
465 2007-10-17  Carlos O'Donell  <carlos@systemhalted.org>
467         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Correct return value
468         type and __THROW marker of splice, vmsplice, and tee.
470 2007-09-24  Carlos O'Donell  <carlos@systemhalted.org>
472         * sysdeps/hppa/nptl/tls.h: Fix comment.
473         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Fix comment format.
474         [__USE_GNU] (O_CLOEXEC): Define.
475         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Issue error
476         if the library is unsupported.
477         [ASSEMBLER && IS_IN_librt]: Define CENABLE, CDISABLE, and
478         __local_multiple_threads.
480 2007-08-03  Aurelien Jarno  <aurelien@aurel32.net>
482         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h:
483         (__local_multiple_threads): Declare as hidden only in libc and
484         in libpthread.
486 2007-07-28  Carlos O'Donell  <carlos@systemhalted.org>
488         * sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Remove.
489         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
490         (pthread_rwlock_t): Split __flags into __pad2, __pad1, __shared,
491         and __flags. Update comments. Update copyright.
492         * sysdeps/hppa/nptl/tls.h: Define THREAD_GSCOPE_FLAG_UNUSED,
493         THREAD_GSCOPE_FLAG_USED, THREAD_GSOPE_FLAG_WAIT,
494         THREAD_GSCOPE_RSEET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_WAIT.
495         Update copyright.
496         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Update copyright.
497         (__lll_lock_wait): Call lll_futex_wait with LLL_SHARED.
498         (__lll_timedlock_wait): Call lll_futex_timed_wait with LLL_SHARED.
499         (lll_unlock_Wake_cb): Use lll_private_futex_wake.
500         (___lll_timedwait_tid): Call lll_futex_timed_wait with LLL_SAHRED.
501         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define
502         FUTEX_PRIVATE_FLAG, LLL_PRIVATE, LLL_SHARED, lll_private_futex_wait,
503         lll_private_futex_timed_wait, lll_private_Futex_wake. Add private
504         argument to lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
505         lll_futex_wake_unlock.
506         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Update copyright.
507         (clear_once_control): Use lll_private_futex_wake.
508         (__pthread_once): Use lll_private_futex_wait, and
509         lll_private_futex_wake.
511 2007-07-28  Randolph Chung  <tausq@debian.org>
513         * sysdeps/hppa/nptl/tls.h (DB_THREAD_SELF): Fix definition.
515 2007-06-16  Jeff Bailey  <jbailey@raspberryginger.com>
517         * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Don't
518         include asm/elf.h.  Declare elf_greg_t, elf_gregset_t,
519         elf_fpreg_t, and elf_fpregset_t.
521 2007-06-16  Jeff Bailey  <jbailey@raspberryginger.com>
523         * sysdeps/unix/sysv/linux/hppa/nptl/configure.in: Require
524         at least kernel 2.6.9.
525         * sysdeps/unix/sysv/linux/hppa/nptl/configure: Rebuilt.
527 2007-05-17  Carlos O'Donell  <carlos@systemhalted.org>
529         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h
530         (SEM_VALUE_MAX): Remove.
532 2007-05-17  Carlos O'Donell  <carlos@systemhalted.org>
534         * sysdeps/unix/sysv/linux/hppa/sysdep.h (PIC_REG_DEF): Define.
535         (PIC_REG_USE): Define.
536         (INLINE_SYSCALL): Use PIC_REG_DEF, PIC_REG_USE.
537         (INTERNAL_SYSCALL): Likewise.
538         (INTERNAL_SYSCALL_NCS): Likewise.
539         * sysdeps/unix/sysv/linux/hppa/sysdep.c (syscall): Use
540         PIC_REG_DEF, PIC_REG_USE.
542 2007-05-01  Carlos O'Donell  <carlos@systemhalted.org>
544         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h
545         [__USE_XOPEN2K]: Define pthread_rwlock_t and
546         pthread_rwlockattr_t.
548 2007-02-02  Carlos O'Donell  <carlos@systemhalted.org>
550         * sysdeps/unix/sysv/linux/hppa/sysdep.h (PTR_MANGLE): Define.
551         (PTR_DEMANGLE): Define.
553 2007-02-02  Guy Martin  <gmsoft@tuxicoman.be>
555         * sysdeps/hppa/dl-trampoline.S (_dl_runtime_profile):
556         Add cfi_endproc.
558 2006-12-03  Carlos O'Donell  <carlos@systemhalted.org>
560         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove non-atomic
561         versions. Adjust jump target to '0b'.
563 2006-12-03  Carlos O'Donell  <carlos@systemhalted.org>
565         * sysdeps/hppa/Makefile: Set long-double-fcts to `no'.
566         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
567         * sysdeps/hppa/fpu/bits/mathdef.h: New file.
569 2006-11-10  Carlos O'Donell  <carlos@systemhalted.org>
571         * sysdeps/hppa/nptl/pthread_spin_init.c: New file.
572         * sysdeps/hppa/nptl/pthread_spin_unlock.c: Remove strong alias
573         to pthread_spin_init.
574         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Define
575         RTLD_SINGLE_THREAD_P.
577 2006-09-20  Carlos O'Donell  <carlos@systemhalted.org>
579         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (splice): Add offin
580         and offout arguments to the prototype.
582 2006-09-15  Carlos O'Donell  <carlos@systemhalted.org>
584         * sysdeps/hppa/nptl/tcb-offsets.sym: Define TID_THREAD_OFFSET.
585         * sysdeps/unix/sysv/linux/hppa/clone.S: Handle RESET_PID, and
586         restore r19 before call to _exit.
587         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: New file.
589 2006-09-13  Carlos O'Donell  <carlos@systemhalted.org>
591         * sysdeps/hppa/dl-machine.h (RTLD_START): Comment the use of
592         _dl_fini_plabel.
593         * sysdeps/hppa/elf/start.S: Correctly pass r23 to argument 6 of
594         __libc_start_main. Comment the order of arguments at entry and
595         those to __libc_start_main.
597 2006-09-07  Carlos O'Donell  <carlos@systemhalted.org>
599         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Remove
600         lvalue cast.
601         * sysdeps/hppa/dl-trampoline.S (_dl_fixup): Correct stack usage.
602         (_dl_runtime_profile): LA fixups.
603         * sysdeps/unix/sysv/linux/hppa/clone.S: Correct stack usage. Return
604         -1 on error. Use branch and link for error handler funciton.
605         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Correct stack usage.
606         Avoid register shuffling.
607         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (ASM_EAGAIN): Define
608         as -EAGAIN.
609         * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Adjust definitions to
610         match required standards.
611         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
612         (lll_futex_wait): Return __ret.
613         (lll_futex_timed_wait): Likewise.
614         (lll_futex_wake): Likewise.
615         (lll_futex_requeue): Likewise.
616         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Correct stack
617         usage and adjust error return.
618         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Adjust
619         stack usage for gdb, and avoid extra register loads.
620         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Copy
621         nptl/sysdeps/pthread/unwind-forcedunwind.c.
622         (LIBGCC_SO): Define and use.
623         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Copy
624         nptl/sysdeps/pthread/unwind-resume.c.
625         (LIBGCC_SO): Define and use.
627 2006-08-13  Carlos O'Donell  <carlos@systemhalted.org>
629         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h (FUTEX_LOCK_PI,
630         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
632 2006-07-24  Carlos O'Donell  <carlos@systemhalted.org>
634         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
635         __SIZEOF_PTHREAD_COND_T is 64 bytes. Remove __PAD_ATOMIC_LOCK_T.
637 2006-07-18  Carlos O'Donell  <carlos@systemhalted.org>
639         * sysdeps/hppa/nptl/pthread_spin_lock.c (pthread_spin_lock): Swap
640         newval and oldval.
641         * sysdeps/hppa/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
642         Likewise.
644 2006-07-16  Jeff Bailey  <jbailey@ubuntu.com>
646         * sysdeps/hppa/tst-audit.h: New file.
648 2006-07-16  Carlos O'Donell  <carlos@systemhalted.org>
650         * sysdeps/hppa/tls-macros.h: Cleanup formatting.
652 2006-07-15  Jeff Bailey  <jbailey@ubuntu.com>
654         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Return NULL.
656 2006-07-13  Carlos O'Donell  <carlos@systemhalted.org>
658         * sysdeps/unix/sysv/linux/hppa/xstat.c: New file.
659         * sysdeps/unix/sysv/linux/hppa/lxstat.c: Likewise.
660         * sysdeps/unix/sysv/linux/hppa/fxstat.c: Likewise.
661         * sysdeps/unix/sysv/linux/hppa/fxstatat.c: Likewise.
663 2006-07-13  Carlos O'Donell  <carlos@systemhalted.org>
665         * sysdeps/hppa/nptl/Makefile: New file
666         * sysdeps/hppa/nptl/jmpbuf-unwind.h: Likewise
667         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise
668         * sysdeps/hppa/nptl/pthread_spin_trylock.c: Likewise
669         * sysdeps/hppa/nptl/pthread_spin_unlock.c: Likewise
670         * sysdeps/hppa/nptl/pthreaddef.h: Likewise
671         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise
672         * sysdeps/hppa/nptl/tls.h: Likewise
673         * sysdeps/unix/sysv/linux/hppa/nptl/bits: Likewise
674         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: Likewise
675         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: Likewise
676         * sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Likewise
677         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: Likewise
678         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Likewise
679         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise
680         * sysdeps/unix/sysv/linux/hppa/nptl/pt-initfini.c: Likewise
681         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Likewise
682         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Likewise
683         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise
684         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Likewise
685         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Likewise
687 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
689         * sysdeps/unix/sysv/linux/hppa/Versions: new errlist compat entry
690         for up to 256 errnos
692 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
694         * sysdeps/hppa/hppa1.1/Implies: Remove ieee754/ldbl-128.
695         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
696         [__LINUX_KERNEL_VERSION >= 0x020609]: Define __ASSUME_LWS_CAS.
697         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: New file.
699 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
701         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Reformat
702         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
703         Define.
705 2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
707         * sysdeps/unix/sysv/linux/hppa/clone.S: .LerrorRest
708         is a label.
710 2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
712         * sysdeps/hppa/ldsodefs.h: New file.
713         * sysdeps/unix/sysv/linux/hppa/bits/mman.h:
714         Only define MADV_* macros when __USE_BSD is present.
715         (MADV_REMOVE, MADV_DONTFORK, MADV_DOFORK): Define.
717 2006-05-15  Carlos O'Donell  <carlos@systemhalted.org>
719         * sysdeps/unix/sysv/linux/hppa/clone.S: Accept extra arguments
720         required for NPTL.
721         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Use var args for 6 arg
722         syscall.
723         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Move DOARGS and UNDOARGS
724         into PSEUDO_*'s.
725         (ENTRY_LEAF): Define.
726         (PSEUDO_NOERRNO, PSEUDO_ERRVAL): Use ENTRY_LEAF.
727         (DO_CALL): Create frame.
729 2006-05-15  Carlos O'Donell  <carlos@systemhalted.org>
731         * sysdeps/hppa/dl-machine.h: Include tls.h
732         (elf_machine_fixup_plt): Returns fdesc.
733         (elf_machine_profile_fixup_plt): Remove.
734         (elf_machine_plt_value): Returns fdesc.
735         (elf_machine_runtime_setup): Check that dl_profile != NULL.
736         (ARCH_LA_PLTENT, ARCH_LA_PLTEXIT): Define.
737         (RTLD_START): Use iitlbp with sr0.
738         (elf_machine_type_class): Include TLS relocs.
739         (reassemble_21, reassemble_14): Define.
740         (elf_machine_rela): Add DIR21L, DIR14R, PLABEL21L, PLABEL14R,
741         TLS_DTPMOD32, TLS_TPREL32, TLS_DTPOFF32 support.
742         (TRAMPOLINE_TEMPLATE): Move to ...
743         * sysdeps/hppa/dl-trampoline.S: ... here.
744         * sysdeps/hppa/abort-instr.h: Use iitlbp with sr0.
745         * sysdeps/hppa/dl-lookupcfg.h: Inlcude dl-fptr.h.
746         (DL_FIXUP_VALUE_TYPE, DL_FIXUP_MAKE_VALUE, DL_FIXUP_VALUE_CODE_ADDR,
747         DL_FIXUP_VALUE_ADD, DL_FIXUP_ADDR_VALUE): Define.
748         * sysdeps/hppa/sysdep.h: Use "!" as a separator. Cleanup comments.
749         * sysdeps/hppa/bits/link.h (La_hppa_regs, La_hppa_retval): Define.
750         Define prototypes for la_hppa_gnu_pltenter and la_hppa_gnu_pltexit.
752 2006-04-27  Carlos O'Donell  <carlos@systemhalted.org>
754         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Include uio.h, and
755         define vmsplice.
757 2006-04-21  Carlos O'Donell  <carlos@systemhalted.org>
759         * sysdeps/hppa/dl-tls.h: New file
760         * sysdeps/hppa/libc-tls.c: Likewise.
761         * sysdeps/hppa/tls-macros.h: Likewise.
762         * sysdeps/hppa/elf/configure: Likewise.
763         * sysdeps/hppa/elf/configure.in: Likewise.
765 2006-04-20  Carlos O'Donell  <carlos@systemhalted.org>
767         * sysdeps/hppa/fpu/fclrexcpt.c (feclearexcept): Use union to
768         align parameters. Specify memory clobbers.
769         * sysdeps/hppa/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
770         * sysdeps/hppa/fpu/feenablxcpt.c (feenableexcept): Likewise.
771         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Do not save exception
772         register. Use memcpy to align buffer.
773         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Store and reload
774         fr0. Use union to align parameters.
775         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
776         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Do not save
777         exception registers. Define libm_hidden_def.
778         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Do not save exception
779         registers.
780         * sysdeps/hppa/fpu/fesetround.c (fesetround): Use union to
781         align parameters, speficy memory clobbers. Define libm_hidde_def
782         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Use union to align
783         parameters. Use memcpy to align buffer.
784         * sysdeps/hppa/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
785         * sysdeps/hppa/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
786         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
787         * sysdeps/hppa/fpu/libm-test-ulps: Update.
788         * sysdeps/hppa/fpu/bits/fenv.h: Add ABI comments.
790 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
792         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]:
793         Define MMAP_FIXED.
794         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_GNU]:
795         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE,
796         SYNC_FILE_RANGE_WAIT_AFTER, sync_file_range, splice, tee.
798 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
800         * sysdeps/unix/sysv/linux/hppa/kernel-features.h: New file.
802 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
804         * sysdeps/hppa/linuxthreads/pspinlock.c: New file.
805         * sysdeps/hppa/linuxthreads/pt-machine.h: Likewise.
806         * sysdeps/hppa/linuxthreads/tls.h: Likewise.
807         * sysdeps/unix/sysv/linux/hppa/linuxthreads/aio_cancel.c: Likewise.
808         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h:
809         Likewise.
810         * sysdeps/unix/sysv/linux/hppa/linuxthreads/pt-initfini.c: Likewise.
811         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: Likewise.
812         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/initspin.h: Likewise.
813         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h:
814         Likewise.
816 2006-02-28  Roland McGrath  <roland@redhat.com>
818         * sysdeps/hppa/shlib-versions: New file.
819         * sysdeps/hppa/preconfigure: New file.