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