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