[arm] Fix bug in _nocancel system call stubs.
[glibc-ports.git] / ChangeLog.hppa
blob2ccc911430ae4c908003c578bd5e54cfcb82d9db
1 2010-06-24  Carlos O'Donell  <carlos@codesourcery.com>
3         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Only create stack 
4         frame around call to SYSCALL_ERROR_HANDLER. Do not restore %rp 
5         from the stack frame on successfull return.
7 2010-06-23  Carlos O'Donell  <carlos@codesourcery.com>
9         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext_ret):
10         Document that this function is a non-standard calling ABI.
11         Document register usage.
12         (__getcontext): Use normal %sp without adjustment. Use named
13         resgister %sp. 
14         * sysdeps/unix/sysv/linux/hppa/makecontext.c: Remove FRAME_SIZE.
15         Define FRAME_SIZE_UL, FRAME_SIZE_BYTES, ARGS.
16         (__makecontext): Create and setup a stack frame. 
17         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
18         Use named register %sp. Do not use oSS_SP. 
20 2010-06-07  Andreas Schwab  <schwab@redhat.com>
22         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Update to agree
23         with generic file.
25 2010-03-30  Carlos O'Donell <carlos@codesourcery.com>
27         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Define
28         MSG_WAITFORONE.
30 2010-02-17  Matt Turner  <mattst88@gmail.com>
32         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Actually fix
33         SOCK_CLOEXEC to match O_CLOEXEC.
35 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
37         * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Define
38         MADV_MERGEABLE and MADV_UNMERGEABLE.
40 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
42         * sysdeps/hppa/nptl/tls.h (__set_cr27): Clobber
43         link register r31.
45 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
47         * sysdeps/unix/sysv/linux/hppa/makecontext.c (__makecontext):
48         Support more than 8 arguments.
50 2010-02-01  Kyle McMartin  <kyle@redhat.com>
52         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Fix value of
53         SOCK_CLOEXEC to match O_CLOEXEC.
55 2010-02-01  Carlos O'Donell  <carlos@codesourcery.com>
57         * sysdeps/unix/sysv/linux/hppa/Versions: Bump
58         errlist-compat to 257 for GLIBC_2.12.
59         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
60         (EOWNERDEAD): Define if not already defined.
61         (ENOTRECOVERABLE): Likewise.
62         (ERFKILL): Likewise.
64 2009-11-29  Carlos O'Donell  <carlos@codesourcery.com>
66         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h:
67         Rearrange file to reduce future maintenance.
68         [__USE_GNU]: Update F_GETOWN_EX, and F_SETOWN_EX.
69         Define f_owner_ex an __pid_type.
71 2009-11-25  Carlos O'Donell  <carlos@codesourcery.com>
73         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
74         Use correct alignment for pthread_mutex_t, pthread_cond_t,
75         and pthread_rwlock_t.
77 2009-11-22  Carlos O'Donell  <carlos@codesourcery.com>
79         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Avoid warnings
80         by casting oldval to int.
82 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
84         [BZ #6676]
86         * sysdeps/unix/sysv/linux/hppa/socket.h: Move from here...
87         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: ... to here.
89 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
91         * sysdeps/unix/sysv/linux/hppa/Versions (libc): Add
92         fallocate64@@GLIBC_2.11.
93         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
94         [__USE_GNU]: Define F_GETOWN_EX, and F_SETOWN_EX.
95         [!__USE_FILE_OFFSET64]: Define fallocate.
96         [__USE_FILE_OFFSET64 && __REDIRECT]: Define __REDIRECT.
97         [__USE_FILE_OFFSET64 && !__REDIRECT]: Define fallocate as
98         fallocate64.
99         [__USE_LARGEFILE64]: define fallocate64.
101 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
103         * sysdeps/hppa/dl-fptr.h: Update copyright year.
104         Reduce ELF_MACHINE_BOOT_FPTR_TABLE_LEN to 64.
105         Implement ELF_MACHINE_LOAD_ADDRESS using PC relative loads.
107 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
109         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
110         Remove FUTEX_WAITERS, FUTEX_OWNER_DIED, and FUTEX_TID_MASK.
112 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
113             Aurelian Jarno  <aurelien@aurel32.net>
115         [BZ #10527]
117         * sysdeps/unix/sysv/linux/hppa/socket.h: New file.
119 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
121         [BZ #6676]
123         * sysdeps/hppa/elf/start.S: Use R_PARISC_DLTIND* relocations
124         to support -fPIE.
126 2009-11-08  Carlos O'Donell  <carlos@codesourcery.com>
128         [BZ #10920]
130         * sysdeps/hppa/libgcc_s.h: New file.
131         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Remove.
132         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Remove.
134 2009-09-08  Carlos O'Donell  <carlos@codesourcery.com>
136         sysdeps/unix/sysv/linux/hppa/
137         * internaltypes.h: New file.
139         sysdeps/unix/sysv/linux/hppa/nptl/
140         * pthreadP.h: New file.
141         * pthread.h: New file.
142         * pthread_cond_broadcast.c: New file.
143         * pthread_cond_destroy.c: New file.
144         * pthread_cond_init.c: New file.
145         * pthread_cond_signal.c: New file.
146         * pthread_cond_timedwait.c: New file.
147         * pthread_cond_wait.c: New file.
148         * bits/pthreadtypes.h: Make pthread_mutex_t,
149         pthread_rwlock_t, and pthread_cond_t backwards
150         compatible.
152 2009-04-24  Carlos O'Donell  <carlos@codesourcery.com>
154         * sysdeps/hppa/hppa1.1/s_signbit.c: New file.
156 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
158         * sysdeps/hppa/dl-machine.h: Remove VALID_ELF_OSABI,
159         VALID_ELF_ABIVERSION, and VALID_ELF_HEADER.
161 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
163         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Do not include
164         sysdep.h. Document the reason for other includes.
166 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
168         * sysdeps/unix/sysv/linux/hppa/sysdep.h [!__ASSEMBLER__]:
169         Include errno.h.
171 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
173         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
174         Adjust comment. Sort macros alphabetically. Remove old
175         lock comments.
177 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
179         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c:
180         Update from nptl/sysdeps/pthread/unwind-forcedunwind.c
181         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c:
182         Update from nptl/sysdeps/pthread/unwind-resume.c
184 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
186         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define
187         FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME,
188         and FUTEX_BITSET_MATCH_ANY.
190 2009-02-22  Carlos O'Donell  <carlos@codesourcery.com>
192         * sysdeps/unix/sysv/linux/hppa/Versions: Add missing bracket.
194 2009-02-22  Carlos O'Donell  <carlos@codesourcery.com>
196         * sysdeps/hppa/dl-machine.h: Use _dl_runtime_profile.
198 2009-02-13  Khem Raj  <raj.khem@gmail.com>
200         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c
201         (libgcc_s_handle): New variable.
202         (pthread_cancel_init): Depend in libgcc_s_handle for decision to
203         load DSO.  Assign last.
204         (__unwind_freeres): New function.
206 2009-02-09  Arthur Loiret  <aloiret@debian.org>
208         [BZ #9717]
210         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h
211         (MALLOC): Adjust __libc_tsd_define arguments.
212         (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
213         arguments.
215 2008-08-07  Helge Deller  <deller@gmx.de>
217         * sysdeps/unix/sysv/linux/hppa/ucontext_i.sym: New file.
218         * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
219         * sysdeps/unix/sysv/linux/hppa/getcontext.S: New file.
220         * sysdeps/unix/sysv/linux/hppa/makecontext.c: New file.
221         * sysdeps/unix/sysv/linux/hppa/setcontext.S: New file.
222         * sysdeps/unix/sysv/linux/hppa/swapcontext.c: New file.
224 2008-06-17  Aurelian Jarno  <aurelien@aurel32.net>
225             Carlos O'Donell  <carlos@systemhalted.org>
227         [BZ #6037]
228         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Check for -11
229         (-EAGAIN) instead of 11. Loop again when the kernel
230         returns -45 (-EDEADLOCK). Add back memory clobber.
231         Do not initialize lws_ret and lws_errno.
233 2008-06-17  Guy Martin  <gmsoft@tuxicoman.be>
235         [BZ #5957]
236         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
237         Use shared futex in lll_wait_tid().
239 2008-05-12  Aurelien Jarno  <aurelien@aurel32.net>
241         [BZ #6506]
242         * sysdeps/hppa/fpu/fesetenv.c: bufptr is always read, temp is
243         read while writing back status word.
245 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
247         * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Fix comment describing
248         shmid_ds.
250 2008-04-04  Carlos O'Donell  <carlos@codesourcery.com>
252         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove
253         memory contraint and instead indicate that *mem is
254         written to.
256 2008-03-24  Carlos O'Donell  <carlos@codesourcery.com>
258         * sysdeps/unix/sysv/linux/hppa/sys/user.h: New file.
260 2008-03-14  Carlos O'Donell  <carlos@codesourcery.com>
261             Guy Martin <gmsoft@tuxicoman.be>
263         [BZ #5923]
264         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Pass
265         timespec and futexp.
267 2008-02-22  Carlos O'Donell  <carlos@codesourcery.com>
269         * sysdeps/unix/sysv/linux/hppa/Makefile: Remove.
270         * sysdeps/hppa/nptl/Makefile: Set tst-oddstacklimit-ENV.
272 2007-12-05  Jeff Bailey  <jeffbailey@google.com>
274         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
275         (__lll_unlock): Use define instead of inline function.
276         (__lll_robust_unlock): Likewise.
278 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
280         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
282 2007-10-18  Carlos O'Donell  <carlos@systemhalted.org>
284         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c
285         (__lll_lock_wait): Add private argument. Pass private
286         to lll_futex_wait. Use atomic_compare_and_exchange_val_acq.
287         (__lll_lock_wait_private): New function.
288         (__lll_timedlock_wait): Add private argument. Pass private
289         to lll_futex_timed_wait.
290         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
291         Include kernel-features.h and tls.h.
292         (FUTEX_WAITERS): Define.
293         (FUTEX_OWNER_DIED): Define.
294         (FUTEX_TID_MASK): Define.
295         (__lll_private_flag): Define.
296         (lll_futex_timed_wait): Use __lll_private_flag.
297         (lll_futex_wake): Use __lll_private_flag.
298         (lll_futex_requeue): Use __lll_private_flag.
299         (lll_robust_mutex_dead): Rename to...
300         (lll_robust_dead): ... this. Add private argument. Pass private
301         to lll_futex_wake.
302         (lll_futex_wake_unlock): Use __lll_private_flag.
303         (__lll_mutex_trylock): Remove.
304         (lll_mutex_tryock): Remove.
305         (__lll_robust_mutex_trylock): Rename to...
306         (__lll_robust_trylock): ... this.
307         (lll_robust_mutex_trylock): Rename to...
308         (lll_robust_trylock): ... this. Call __lll_robust_trylock.
309         (__lll_mutex_cond_trylock): Rename to...
310         (__lll_cond_trylock): ... this.
311         (lll_mutex_cond_trylock): Rename to...
312         (lll_cond_trylock): ... this. Call __lll_cond_trylock.
313         (__lll_mutex_lock): Add private argument.
314         (__lll_robust_mutex_lock): Remove.
315         (lll_mutex_lock): Define.
316         (__lll_robust_lock): Define.
317         (lll_robust_mutex_lock): Remove.
318         (__lll_mutex_cond_lock): Remove.
319         (lll_robust_lock) Define.
320         (lll_robust_cond_lock): Define.
321         (lll_robust_mutex_cond_lock): Remove.
322         (__lll_cond_lock): Define.
323         (lll_cond_lock): Define.
324         (__lll_mutex_timedlock): Remove.
325         (__lll_timedlock): Define.
326         (lll_timedlock): Define.
327         (lll_robust_mutex_timedlock): Remove.
328         (lll_robust_timedlock): Define.
329         (__lll_mutex_unlock): Remove.
330         (__lll_unlock): Define.
331         (__lll_robust_mutex_unlock): Remove.
332         (__lll_robust_unlock): Define.
333         (lll_robust_mutex_unlock): Remove.
334         (lll_robust_unlock): Define.
335         (__lll_mutex_unlock_force): Remove.
336         (lll_mutex_unlock_force): Remove.
337         (lll_islocked): Remove.
338         (lll_mutex_islocked): Rename to...
339         (lll_islocked): ... this.
340         (lll_trylock): Remove.
341         (lll_unlock): Remove.
342         (lll_wait_tid): Format whitespace.
343         (lll_cond_wait): Remove.
344         (lll_cond_timedwait): Remove.
345         (lll_cond_wake): Remove.
346         (lll_cond_broadcast): Remove.
348 2007-10-17  Carlos O'Donell  <carlos@systemhalted.org>
350         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Correct return value
351         type and __THROW marker of splice, vmsplice, and tee.
353 2007-09-24  Carlos O'Donell  <carlos@systemhalted.org>
355         * sysdeps/hppa/nptl/tls.h: Fix comment.
356         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Fix comment format.
357         [__USE_GNU] (O_CLOEXEC): Define.
358         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Issue error
359         if the library is unsupported.
360         [ASSEMBLER && IS_IN_librt]: Define CENABLE, CDISABLE, and
361         __local_multiple_threads.
363 2007-08-03  Aurelien Jarno  <aurelien@aurel32.net>
365         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h:
366         (__local_multiple_threads): Declare as hidden only in libc and
367         in libpthread.
369 2007-07-28  Carlos O'Donell  <carlos@systemhalted.org>
371         * sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Remove.
372         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
373         (pthread_rwlock_t): Split __flags into __pad2, __pad1, __shared,
374         and __flags. Update comments. Update copyright.
375         * sysdeps/hppa/nptl/tls.h: Define THREAD_GSCOPE_FLAG_UNUSED,
376         THREAD_GSCOPE_FLAG_USED, THREAD_GSOPE_FLAG_WAIT,
377         THREAD_GSCOPE_RSEET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_WAIT.
378         Update copyright.
379         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Update copyright.
380         (__lll_lock_wait): Call lll_futex_wait with LLL_SHARED.
381         (__lll_timedlock_wait): Call lll_futex_timed_wait with LLL_SHARED.
382         (lll_unlock_Wake_cb): Use lll_private_futex_wake.
383         (___lll_timedwait_tid): Call lll_futex_timed_wait with LLL_SAHRED.
384         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define
385         FUTEX_PRIVATE_FLAG, LLL_PRIVATE, LLL_SHARED, lll_private_futex_wait,
386         lll_private_futex_timed_wait, lll_private_Futex_wake. Add private
387         argument to lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
388         lll_futex_wake_unlock.
389         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Update copyright.
390         (clear_once_control): Use lll_private_futex_wake.
391         (__pthread_once): Use lll_private_futex_wait, and
392         lll_private_futex_wake.
394 2007-07-28  Randolph Chung  <tausq@debian.org>
396         * sysdeps/hppa/nptl/tls.h (DB_THREAD_SELF): Fix definition.
398 2007-06-16  Jeff Bailey  <jbailey@raspberryginger.com>
400         * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Don't
401         include asm/elf.h.  Declare elf_greg_t, elf_gregset_t,
402         elf_fpreg_t, and elf_fpregset_t.
404 2007-06-16  Jeff Bailey  <jbailey@raspberryginger.com>
406         * sysdeps/unix/sysv/linux/hppa/nptl/configure.in: Require
407         at least kernel 2.6.9.
408         * sysdeps/unix/sysv/linux/hppa/nptl/configure: Rebuilt.
410 2007-05-17  Carlos O'Donell  <carlos@systemhalted.org>
412         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h
413         (SEM_VALUE_MAX): Remove.
415 2007-05-17  Carlos O'Donell  <carlos@systemhalted.org>
417         * sysdeps/unix/sysv/linux/hppa/sysdep.h (PIC_REG_DEF): Define.
418         (PIC_REG_USE): Define.
419         (INLINE_SYSCALL): Use PIC_REG_DEF, PIC_REG_USE.
420         (INTERNAL_SYSCALL): Likewise.
421         (INTERNAL_SYSCALL_NCS): Likewise.
422         * sysdeps/unix/sysv/linux/hppa/sysdep.c (syscall): Use
423         PIC_REG_DEF, PIC_REG_USE.
425 2007-05-01  Carlos O'Donell  <carlos@systemhalted.org>
427         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h
428         [__USE_XOPEN2K]: Define pthread_rwlock_t and
429         pthread_rwlockattr_t.
431 2007-02-02  Carlos O'Donell  <carlos@systemhalted.org>
433         * sysdeps/unix/sysv/linux/hppa/sysdep.h (PTR_MANGLE): Define.
434         (PTR_DEMANGLE): Define.
436 2007-02-02  Guy Martin  <gmsoft@tuxicoman.be>
438         * sysdeps/hppa/dl-trampoline.S (_dl_runtime_profile):
439         Add cfi_endproc.
441 2006-12-03  Carlos O'Donell  <carlos@systemhalted.org>
443         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove non-atomic
444         versions. Adjust jump target to '0b'.
446 2006-12-03  Carlos O'Donell  <carlos@systemhalted.org>
448         * sysdeps/hppa/Makefile: Set long-double-fcts to `no'.
449         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
450         * sysdeps/hppa/fpu/bits/mathdef.h: New file.
452 2006-11-10  Carlos O'Donell  <carlos@systemhalted.org>
454         * sysdeps/hppa/nptl/pthread_spin_init.c: New file.
455         * sysdeps/hppa/nptl/pthread_spin_unlock.c: Remove strong alias
456         to pthread_spin_init.
457         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Define
458         RTLD_SINGLE_THREAD_P.
460 2006-09-20  Carlos O'Donell  <carlos@systemhalted.org>
462         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (splice): Add offin
463         and offout arguments to the prototype.
465 2006-09-15  Carlos O'Donell  <carlos@systemhalted.org>
467         * sysdeps/hppa/nptl/tcb-offsets.sym: Define TID_THREAD_OFFSET.
468         * sysdeps/unix/sysv/linux/hppa/clone.S: Handle RESET_PID, and
469         restore r19 before call to _exit.
470         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: New file.
472 2006-09-13  Carlos O'Donell  <carlos@systemhalted.org>
474         * sysdeps/hppa/dl-machine.h (RTLD_START): Comment the use of
475         _dl_fini_plabel.
476         * sysdeps/hppa/elf/start.S: Correctly pass r23 to argument 6 of
477         __libc_start_main. Comment the order of arguments at entry and
478         those to __libc_start_main.
480 2006-09-07  Carlos O'Donell  <carlos@systemhalted.org>
482         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Remove
483         lvalue cast.
484         * sysdeps/hppa/dl-trampoline.S (_dl_fixup): Correct stack usage.
485         (_dl_runtime_profile): LA fixups.
486         * sysdeps/unix/sysv/linux/hppa/clone.S: Correct stack usage. Return
487         -1 on error. Use branch and link for error handler funciton.
488         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Correct stack usage.
489         Avoid register shuffling.
490         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (ASM_EAGAIN): Define
491         as -EAGAIN.
492         * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Adjust definitions to
493         match required standards.
494         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
495         (lll_futex_wait): Return __ret.
496         (lll_futex_timed_wait): Likewise.
497         (lll_futex_wake): Likewise.
498         (lll_futex_requeue): Likewise.
499         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Correct stack
500         usage and adjust error return.
501         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Adjust
502         stack usage for gdb, and avoid extra register loads.
503         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Copy
504         nptl/sysdeps/pthread/unwind-forcedunwind.c.
505         (LIBGCC_SO): Define and use.
506         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Copy
507         nptl/sysdeps/pthread/unwind-resume.c.
508         (LIBGCC_SO): Define and use.
510 2006-08-13  Carlos O'Donell  <carlos@systemhalted.org>
512         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h (FUTEX_LOCK_PI,
513         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
515 2006-07-24  Carlos O'Donell  <carlos@systemhalted.org>
517         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
518         __SIZEOF_PTHREAD_COND_T is 64 bytes. Remove __PAD_ATOMIC_LOCK_T.
520 2006-07-18  Carlos O'Donell  <carlos@systemhalted.org>
522         * sysdeps/hppa/nptl/pthread_spin_lock.c (pthread_spin_lock): Swap
523         newval and oldval.
524         * sysdeps/hppa/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
525         Likewise.
527 2006-07-16  Jeff Bailey  <jbailey@ubuntu.com>
529         * sysdeps/hppa/tst-audit.h: New file.
531 2006-07-16  Carlos O'Donell  <carlos@systemhalted.org>
533         * sysdeps/hppa/tls-macros.h: Cleanup formatting.
535 2006-07-15  Jeff Bailey  <jbailey@ubuntu.com>
537         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Return NULL.
539 2006-07-13  Carlos O'Donell  <carlos@systemhalted.org>
541         * sysdeps/unix/sysv/linux/hppa/xstat.c: New file.
542         * sysdeps/unix/sysv/linux/hppa/lxstat.c: Likewise.
543         * sysdeps/unix/sysv/linux/hppa/fxstat.c: Likewise.
544         * sysdeps/unix/sysv/linux/hppa/fxstatat.c: Likewise.
546 2006-07-13  Carlos O'Donell  <carlos@systemhalted.org>
548         * sysdeps/hppa/nptl/Makefile: New file
549         * sysdeps/hppa/nptl/jmpbuf-unwind.h: Likewise
550         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise
551         * sysdeps/hppa/nptl/pthread_spin_trylock.c: Likewise
552         * sysdeps/hppa/nptl/pthread_spin_unlock.c: Likewise
553         * sysdeps/hppa/nptl/pthreaddef.h: Likewise
554         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise
555         * sysdeps/hppa/nptl/tls.h: Likewise
556         * sysdeps/unix/sysv/linux/hppa/nptl/bits: Likewise
557         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: Likewise
558         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: Likewise
559         * sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Likewise
560         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: Likewise
561         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Likewise
562         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise
563         * sysdeps/unix/sysv/linux/hppa/nptl/pt-initfini.c: Likewise
564         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Likewise
565         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Likewise
566         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise
567         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Likewise
568         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Likewise
570 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
572         * sysdeps/unix/sysv/linux/hppa/Versions: new errlist compat entry
573         for up to 256 errnos
575 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
577         * sysdeps/hppa/hppa1.1/Implies: Remove ieee754/ldbl-128.
578         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
579         [__LINUX_KERNEL_VERSION >= 0x020609]: Define __ASSUME_LWS_CAS.
580         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: New file.
582 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
584         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Reformat
585         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
586         Define.
588 2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
590         * sysdeps/unix/sysv/linux/hppa/clone.S: .LerrorRest
591         is a label.
593 2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
595         * sysdeps/hppa/ldsodefs.h: New file.
596         * sysdeps/unix/sysv/linux/hppa/bits/mman.h:
597         Only define MADV_* macros when __USE_BSD is present.
598         (MADV_REMOVE, MADV_DONTFORK, MADV_DOFORK): Define.
600 2006-05-15  Carlos O'Donell  <carlos@systemhalted.org>
602         * sysdeps/unix/sysv/linux/hppa/clone.S: Accept extra arguments
603         required for NPTL.
604         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Use var args for 6 arg
605         syscall.
606         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Move DOARGS and UNDOARGS
607         into PSEUDO_*'s.
608         (ENTRY_LEAF): Define.
609         (PSEUDO_NOERRNO, PSEUDO_ERRVAL): Use ENTRY_LEAF.
610         (DO_CALL): Create frame.
612 2006-05-15  Carlos O'Donell  <carlos@systemhalted.org>
614         * sysdeps/hppa/dl-machine.h: Include tls.h
615         (elf_machine_fixup_plt): Returns fdesc.
616         (elf_machine_profile_fixup_plt): Remove.
617         (elf_machine_plt_value): Returns fdesc.
618         (elf_machine_runtime_setup): Check that dl_profile != NULL.
619         (ARCH_LA_PLTENT, ARCH_LA_PLTEXIT): Define.
620         (RTLD_START): Use iitlbp with sr0.
621         (elf_machine_type_class): Include TLS relocs.
622         (reassemble_21, reassemble_14): Define.
623         (elf_machine_rela): Add DIR21L, DIR14R, PLABEL21L, PLABEL14R,
624         TLS_DTPMOD32, TLS_TPREL32, TLS_DTPOFF32 support.
625         (TRAMPOLINE_TEMPLATE): Move to ...
626         * sysdeps/hppa/dl-trampoline.S: ... here.
627         * sysdeps/hppa/abort-instr.h: Use iitlbp with sr0.
628         * sysdeps/hppa/dl-lookupcfg.h: Inlcude dl-fptr.h.
629         (DL_FIXUP_VALUE_TYPE, DL_FIXUP_MAKE_VALUE, DL_FIXUP_VALUE_CODE_ADDR,
630         DL_FIXUP_VALUE_ADD, DL_FIXUP_ADDR_VALUE): Define.
631         * sysdeps/hppa/sysdep.h: Use "!" as a separator. Cleanup comments.
632         * sysdeps/hppa/bits/link.h (La_hppa_regs, La_hppa_retval): Define.
633         Define prototypes for la_hppa_gnu_pltenter and la_hppa_gnu_pltexit.
635 2006-04-27  Carlos O'Donell  <carlos@systemhalted.org>
637         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Include uio.h, and
638         define vmsplice.
640 2006-04-21  Carlos O'Donell  <carlos@systemhalted.org>
642         * sysdeps/hppa/dl-tls.h: New file
643         * sysdeps/hppa/libc-tls.c: Likewise.
644         * sysdeps/hppa/tls-macros.h: Likewise.
645         * sysdeps/hppa/elf/configure: Likewise.
646         * sysdeps/hppa/elf/configure.in: Likewise.
648 2006-04-20  Carlos O'Donell  <carlos@systemhalted.org>
650         * sysdeps/hppa/fpu/fclrexcpt.c (feclearexcept): Use union to
651         align parameters. Specify memory clobbers.
652         * sysdeps/hppa/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
653         * sysdeps/hppa/fpu/feenablxcpt.c (feenableexcept): Likewise.
654         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Do not save exception
655         register. Use memcpy to align buffer.
656         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Store and reload
657         fr0. Use union to align parameters.
658         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
659         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Do not save
660         exception registers. Define libm_hidden_def.
661         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Do not save exception
662         registers.
663         * sysdeps/hppa/fpu/fesetround.c (fesetround): Use union to
664         align parameters, speficy memory clobbers. Define libm_hidde_def
665         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Use union to align
666         parameters. Use memcpy to align buffer.
667         * sysdeps/hppa/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
668         * sysdeps/hppa/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
669         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
670         * sysdeps/hppa/fpu/libm-test-ulps: Update.
671         * sysdeps/hppa/fpu/bits/fenv.h: Add ABI comments.
673 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
675         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]:
676         Define MMAP_FIXED.
677         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_GNU]:
678         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE,
679         SYNC_FILE_RANGE_WAIT_AFTER, sync_file_range, splice, tee.
681 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
683         * sysdeps/unix/sysv/linux/hppa/kernel-features.h: New file.
685 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
687         * sysdeps/hppa/linuxthreads/pspinlock.c: New file.
688         * sysdeps/hppa/linuxthreads/pt-machine.h: Likewise.
689         * sysdeps/hppa/linuxthreads/tls.h: Likewise.
690         * sysdeps/unix/sysv/linux/hppa/linuxthreads/aio_cancel.c: Likewise.
691         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h:
692         Likewise.
693         * sysdeps/unix/sysv/linux/hppa/linuxthreads/pt-initfini.c: Likewise.
694         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: Likewise.
695         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/initspin.h: Likewise.
696         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h:
697         Likewise.
699 2006-02-28  Roland McGrath  <roland@redhat.com>
701         * sysdeps/hppa/shlib-versions: New file.
702         * sysdeps/hppa/preconfigure: New file.