Add a testase for BZ #14602
[glibc.git] / ports / ChangeLog.hppa
blob5b16146e43c880bddecd71755ce4dc698e30021a
1 2012-10-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Fix clone
4         flag name in comment to CLONE_CHILD_CLEARTID.
6 2012-09-20  Carlos O'Donell  <carlos@systemhalted.org>
8         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Use __prlimit64 as
9         the strong name.
11 2012-09-20  Carlos O'Donell  <carlos@systemhalted.org>
12             Andreas Schwab  <schwab@linux-m68k.org>
14         * sysdeps/unix/sysv/linux/hppa/Versions: Add new errlist-compat
15         entry value of 260 for GLIBC_2.17.
16         * sysdeps/unix/sysv/linux/hppa/bits/errno.h (EHWPOISON): Define if
17         not defined.
19 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
21         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22         (__ASSUME_STAT64_SYSCALL): Remove.
24 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
26         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27         (__ASSUME_MMAP2_SYSCALL): Remove.
29 2012-08-15  Maxim Kuvyrkov  <maxim@codesourcery.com>
31         * sysdeps/hppa/nptl/pthread_spin_lock.c: Use generic code.
32         * sysdeps/hppa/nptl/pthread_spin_trylock.c: Remove, use generic version.
34 2012-08-12  Mike Frysinger  <vapier@gentoo.org>
36         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Add prlimit64.
37         * sysdeps/unix/sysv/linux/hppa/Versions (GLIBC_2.17): Likewise.
39 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
41         * sysdeps/unix/sysv/linux/hppa/nptl/configure.in: Remove.
42         * sysdeps/unix/sysv/linux/hppa/nptl/configure: Likewise.
43         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
44         (__ASSUME_LWS_CAS): Define unconditionally.
46 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
48         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
49         (__ASSUME_FCNTL64): Remove.
51 2012-07-26  Andreas Jaeger  <aj@suse.de>
53         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h (EPOLLWAKEUP): Add new
54         value.
56 2012-05-19  Carlos O'Donell  <carlos@systemhalted.org>
58         * sysdeps/hppa/add_n.s: Rename this...
59         * sysdeps/hppa/add_n.S: ... to this.
60         * sysdeps/hppa/hppa1.1/addmul_1.s: Rename this...
61         * sysdeps/hppa/hppa1.1/addmul_1.S: ... to this.
62         * sysdeps/hppa/hppa1.1/mul_1.s: Rename this...
63         * sysdeps/hppa/hppa1.1/mul_1.S ... to this.
64         * sysdeps/hppa/hppa1.1/submul_1.s: Rename this...
65         * sysdeps/hppa/hppa1.1/submul_1.S: ... to this.
66         * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Rname this...
67         * sysdeps/hppa/hppa1.1/udiv_qrnnd.S: ... to this.
68         * sysdeps/hppa/lshift.s: Rename this...
69         * sysdeps/hppa/lshift.S: ... to this.
70         * sysdeps/hppa/rshift.s: Rename this...
71         * sysdeps/hppa/rshift.S: ... to this.
72         * sysdeps/hppa/sub_n.s: Rename this...
73         * sysdeps/hppa/sub_n.S: ... to this.
74         * sysdeps/hppa/udiv_qrnnd.s: Rename this...
75         * sysdeps/hppa/udiv_qrnnd.S: ... to this.
77 2012-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
79         * sysdeps/hppa/libgcc_s.h: Remove.
80         * sysdeps/hppa/shlib-versions: Add libgcc_s.
82 2012-04-17  Carlos O'Donell  <carlos@systemhalted.org>
84         * sysdeps/hppa/dl-irel.h: New file.
86 2012-04-17  Carlos O'Donell  <carlos@systemhalted.org>
88         * sysdeps/hppa/dl-fptr.h: Add prototype for _dl_fptr_init.
89         * sysdeps/hppa/dl-fptr.c: New file.
90         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
91         Call _dl_fptr_init.
93 2012-04-17  Carlos O'Donell  <carlos@systemhalted.org>
95         * sysdeps/hppa/elf/configure: Removed file.
96         * sysdeps/hppa/elf/configure.in: Move to...
97         * sysdeps/hppa/configure.in: ... here.
98         * sysdeps/hppa/configure: Regenerate.
99         * sysdeps/hppa/elf/initfini.c: Removed file.
100         * sysdeps/hppa/crti.S: New file.
101         * sysdeps/hppa/crtn.S: New file.
102         * sysdeps/hppa/elf/entry.h: Moved to ...
103         * sysdeps/hppa/entry.h: ... here.
104         * sysdeps/hppa/elf/start.S: Move to ...
105         * sysdeps/hppa/start.S: ... here.
107 2012-03-22  Carlos O'Donell  <carlos@systemhalted.org>
109         [BZ #6730]
111         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Don't negate %r21 and
112         check for -EFAULT and -ENOSYS instead.
114 2012-03-09  Richard Henderson  <rth@twiddle.net>
116         * sysdeps/hppa/hppa1.1/s_signbit.c: Use <> to include math_private.h.
118 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
120         [BZ #13673]
121         Replace FSF snail mail address with URLs, as per GNU coding standards.
123 2012-03-03  Carlos O'Donell  <carlos@systemhalted.org>
125         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Name 
126         pthread_attr_t union.
127         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Sync from libc copy.
128         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Likewise.
130 2012-01-08  Carlos O'Donell  <carlos@systemhalted.org>
132         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h (EPOLLONESHOT)
133         (EPOLLET): Initialize with unsiged values.
135 2012-01-08  Carlos O'Donell  <carlos@systemhalted.org>
137         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Sync from libc copy.
139 2012-01-08  Carlos O'Donell  <carlos@systemhalted.org>
141         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Use const instead of __const.
142         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Likewise.
144 2011-10-21  Carlos O'Donell  <carlos@systemhalted.org>
146         * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Update copyright year.
147         Do not include signal.h and sys/ucontext.h. 
149 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
151         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Update copyright 
152         year. 
153         (PSEUDO): Define __*_nocancel version. Add CFI directives to __*_nocancel
154         and normal version.
155         (PUSHARGS_1): Add CFI directive.
156         (PUSHARGS_2): Likewise.
157         (PUSHARGS_3): Likewise.
158         (PUSHARGS_4): Likewise.
159         (PUSHARGS_5): Likewise.
160         (PUSHARGS_6): Likewise.
161         (POPARGS_1): Likewise.
162         (POPARGS_2): Likewise.
163         (POPARGS_3): Likewise.
164         (POPARGS_4): Likewise.
165         (POPARGS_5): Likewise.
166         (POPARGS_6): Likewise.
168 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
170         * sysdeps/unix/sysv/linux/hppa/linuxthreads/aio_cancel.c: Remove.
171         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/initspin.h: Remove.
172         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h: Remove.
173         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h: Remove.
174         * sysdeps/unix/sysv/linux/hppa/linuxthreads/pt-initfini.c: Remove.
175         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: Remove.
176         * sysdeps/hppa/linuxthreads/pspinlock.c: Remove.
177         * sysdeps/hppa/linuxthreads/pt-machine.h: Remove.
178         * sysdeps/hppa/linuxthreads/tls.h: Remove.
180 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
182         * sysdeps/hppa/stackinfo.h: Update copyright year.
183         Include elf.h and define DEFAULT_STACK_PERMS.
185 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
187         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Synchronize
188         with canonical fcntl.h.
190 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
192         * sysdeps/hppa/fpu/fegetenv.c: Add hidden alias.
193         * sysdeps/hppa/fpu/feupdateenv.c: Likewise.
194         * sysdeps/hppa/fpu/ftestexcept.c: Likewise.
196 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
198         * sysdeps/hppa/dl-tls.h: Update copyright year.
199         Define TLS_DTV_UNALLOCATED.
201 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
203         * sysdeps/hppa/elf/configure.in: Always test for TLS support
204         and error out if missing.
205         * sysdeps/hppa/elf/configure: Regenerate.
206         * sysdeps/hppa/configure: Regenerate.
208 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
210         * sysdeps/hppa/nptl/tls.h: Update copyright year.
211         Remove HAVE_TLS_SUPPORT check.
213 2011-10-17  Guy Martin  <gmsoft@tuxicoman.be>
215         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h
216         Fix EPOLL_CLOEXEC and EPOLL_NONBLOCK to match kernel definition.
217         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h
218         Fix EFD_CLOEXEC and EFD_NONBLOCK to match kernel definition.
219         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h
220         Fix IN_CLOEXEC and IN_NONBLOCK to match kernel definition.
221         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h
222         Fix SFD_CLOEXEC and SFD_NONBLOCK to match kernel definition.
223         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h
224         Fix TFD_CLOEXEC and TFD_NONBLOCK to match kernel definition.
226 2011-10-05  Andreas Schwab  <schwab@redhat.com>
228         * sysdeps/hppa/dl-machine.h (elf_machine_rela)
229         (elf_machine_lazy_rel): Add parameter skip_ifunc.
231 2010-06-24  Carlos O'Donell  <carlos@codesourcery.com>
233         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Only create stack
234         frame around call to SYSCALL_ERROR_HANDLER. Do not restore %rp
235         from the stack frame on successfull return.
237 2010-06-23  Carlos O'Donell  <carlos@codesourcery.com>
239         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext_ret):
240         Document that this function is a non-standard calling ABI.
241         Document register usage.
242         (__getcontext): Use normal %sp without adjustment. Use named
243         resgister %sp.
244         * sysdeps/unix/sysv/linux/hppa/makecontext.c: Remove FRAME_SIZE.
245         Define FRAME_SIZE_UL, FRAME_SIZE_BYTES, ARGS.
246         (__makecontext): Create and setup a stack frame.
247         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
248         Use named register %sp. Do not use oSS_SP.
250 2010-06-07  Andreas Schwab  <schwab@redhat.com>
252         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Update to agree
253         with generic file.
255 2010-03-30  Carlos O'Donell <carlos@codesourcery.com>
257         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Define
258         MSG_WAITFORONE.
260 2010-02-17  Matt Turner  <mattst88@gmail.com>
262         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Actually fix
263         SOCK_CLOEXEC to match O_CLOEXEC.
265 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
267         * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Define
268         MADV_MERGEABLE and MADV_UNMERGEABLE.
270 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
272         * sysdeps/hppa/nptl/tls.h (__set_cr27): Clobber
273         link register r31.
275 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
277         * sysdeps/unix/sysv/linux/hppa/makecontext.c (__makecontext):
278         Support more than 8 arguments.
280 2010-02-01  Kyle McMartin  <kyle@redhat.com>
282         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Fix value of
283         SOCK_CLOEXEC to match O_CLOEXEC.
285 2010-02-01  Carlos O'Donell  <carlos@codesourcery.com>
287         * sysdeps/unix/sysv/linux/hppa/Versions: Bump
288         errlist-compat to 257 for GLIBC_2.12.
289         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
290         (EOWNERDEAD): Define if not already defined.
291         (ENOTRECOVERABLE): Likewise.
292         (ERFKILL): Likewise.
294 2009-11-29  Carlos O'Donell  <carlos@codesourcery.com>
296         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h:
297         Rearrange file to reduce future maintenance.
298         [__USE_GNU]: Update F_GETOWN_EX, and F_SETOWN_EX.
299         Define f_owner_ex an __pid_type.
301 2009-11-25  Carlos O'Donell  <carlos@codesourcery.com>
303         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
304         Use correct alignment for pthread_mutex_t, pthread_cond_t,
305         and pthread_rwlock_t.
307 2009-11-22  Carlos O'Donell  <carlos@codesourcery.com>
309         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Avoid warnings
310         by casting oldval to int.
312 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
314         [BZ #6676]
316         * sysdeps/unix/sysv/linux/hppa/socket.h: Move from here...
317         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: ... to here.
319 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
321         * sysdeps/unix/sysv/linux/hppa/Versions (libc): Add
322         fallocate64@@GLIBC_2.11.
323         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
324         [__USE_GNU]: Define F_GETOWN_EX, and F_SETOWN_EX.
325         [!__USE_FILE_OFFSET64]: Define fallocate.
326         [__USE_FILE_OFFSET64 && __REDIRECT]: Define __REDIRECT.
327         [__USE_FILE_OFFSET64 && !__REDIRECT]: Define fallocate as
328         fallocate64.
329         [__USE_LARGEFILE64]: define fallocate64.
331 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
333         * sysdeps/hppa/dl-fptr.h: Update copyright year.
334         Reduce ELF_MACHINE_BOOT_FPTR_TABLE_LEN to 64.
335         Implement ELF_MACHINE_LOAD_ADDRESS using PC relative loads.
337 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
339         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
340         Remove FUTEX_WAITERS, FUTEX_OWNER_DIED, and FUTEX_TID_MASK.
342 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
343             Aurelian Jarno  <aurelien@aurel32.net>
345         [BZ #10527]
347         * sysdeps/unix/sysv/linux/hppa/socket.h: New file.
349 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
351         [BZ #6676]
353         * sysdeps/hppa/elf/start.S: Use R_PARISC_DLTIND* relocations
354         to support -fPIE.
356 2009-11-08  Carlos O'Donell  <carlos@codesourcery.com>
358         [BZ #10920]
360         * sysdeps/hppa/libgcc_s.h: New file.
361         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Remove.
362         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Remove.
364 2009-09-08  Carlos O'Donell  <carlos@codesourcery.com>
366         sysdeps/unix/sysv/linux/hppa/
367         * internaltypes.h: New file.
369         sysdeps/unix/sysv/linux/hppa/nptl/
370         * pthreadP.h: New file.
371         * pthread.h: New file.
372         * pthread_cond_broadcast.c: New file.
373         * pthread_cond_destroy.c: New file.
374         * pthread_cond_init.c: New file.
375         * pthread_cond_signal.c: New file.
376         * pthread_cond_timedwait.c: New file.
377         * pthread_cond_wait.c: New file.
378         * bits/pthreadtypes.h: Make pthread_mutex_t,
379         pthread_rwlock_t, and pthread_cond_t backwards
380         compatible.
382 2009-04-24  Carlos O'Donell  <carlos@codesourcery.com>
384         * sysdeps/hppa/hppa1.1/s_signbit.c: New file.
386 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
388         * sysdeps/hppa/dl-machine.h: Remove VALID_ELF_OSABI,
389         VALID_ELF_ABIVERSION, and VALID_ELF_HEADER.
391 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
393         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Do not include
394         sysdep.h. Document the reason for other includes.
396 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
398         * sysdeps/unix/sysv/linux/hppa/sysdep.h [!__ASSEMBLER__]:
399         Include errno.h.
401 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
403         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
404         Adjust comment. Sort macros alphabetically. Remove old
405         lock comments.
407 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
409         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c:
410         Update from nptl/sysdeps/pthread/unwind-forcedunwind.c
411         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c:
412         Update from nptl/sysdeps/pthread/unwind-resume.c
414 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
416         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define
417         FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME,
418         and FUTEX_BITSET_MATCH_ANY.
420 2009-02-22  Carlos O'Donell  <carlos@codesourcery.com>
422         * sysdeps/unix/sysv/linux/hppa/Versions: Add missing bracket.
424 2009-02-22  Carlos O'Donell  <carlos@codesourcery.com>
426         * sysdeps/hppa/dl-machine.h: Use _dl_runtime_profile.
428 2009-02-13  Khem Raj  <raj.khem@gmail.com>
430         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c
431         (libgcc_s_handle): New variable.
432         (pthread_cancel_init): Depend in libgcc_s_handle for decision to
433         load DSO.  Assign last.
434         (__unwind_freeres): New function.
436 2009-02-09  Arthur Loiret  <aloiret@debian.org>
438         [BZ #9717]
440         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h
441         (MALLOC): Adjust __libc_tsd_define arguments.
442         (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
443         arguments.
445 2008-08-07  Helge Deller  <deller@gmx.de>
447         * sysdeps/unix/sysv/linux/hppa/ucontext_i.sym: New file.
448         * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
449         * sysdeps/unix/sysv/linux/hppa/getcontext.S: New file.
450         * sysdeps/unix/sysv/linux/hppa/makecontext.c: New file.
451         * sysdeps/unix/sysv/linux/hppa/setcontext.S: New file.
452         * sysdeps/unix/sysv/linux/hppa/swapcontext.c: New file.
454 2008-06-17  Aurelian Jarno  <aurelien@aurel32.net>
455             Carlos O'Donell  <carlos@systemhalted.org>
457         [BZ #6037]
458         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Check for -11
459         (-EAGAIN) instead of 11. Loop again when the kernel
460         returns -45 (-EDEADLOCK). Add back memory clobber.
461         Do not initialize lws_ret and lws_errno.
463 2008-06-17  Guy Martin  <gmsoft@tuxicoman.be>
465         [BZ #5957]
466         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
467         Use shared futex in lll_wait_tid().
469 2008-05-12  Aurelien Jarno  <aurelien@aurel32.net>
471         [BZ #6506]
472         * sysdeps/hppa/fpu/fesetenv.c: bufptr is always read, temp is
473         read while writing back status word.
475 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
477         * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Fix comment describing
478         shmid_ds.
480 2008-04-04  Carlos O'Donell  <carlos@codesourcery.com>
482         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove
483         memory contraint and instead indicate that *mem is
484         written to.
486 2008-03-24  Carlos O'Donell  <carlos@codesourcery.com>
488         * sysdeps/unix/sysv/linux/hppa/sys/user.h: New file.
490 2008-03-14  Carlos O'Donell  <carlos@codesourcery.com>
491             Guy Martin <gmsoft@tuxicoman.be>
493         [BZ #5923]
494         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Pass
495         timespec and futexp.
497 2008-02-22  Carlos O'Donell  <carlos@codesourcery.com>
499         * sysdeps/unix/sysv/linux/hppa/Makefile: Remove.
500         * sysdeps/hppa/nptl/Makefile: Set tst-oddstacklimit-ENV.
502 2007-12-05  Jeff Bailey  <jeffbailey@google.com>
504         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
505         (__lll_unlock): Use define instead of inline function.
506         (__lll_robust_unlock): Likewise.
508 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
510         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
512 2007-10-18  Carlos O'Donell  <carlos@systemhalted.org>
514         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c
515         (__lll_lock_wait): Add private argument. Pass private
516         to lll_futex_wait. Use atomic_compare_and_exchange_val_acq.
517         (__lll_lock_wait_private): New function.
518         (__lll_timedlock_wait): Add private argument. Pass private
519         to lll_futex_timed_wait.
520         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
521         Include kernel-features.h and tls.h.
522         (FUTEX_WAITERS): Define.
523         (FUTEX_OWNER_DIED): Define.
524         (FUTEX_TID_MASK): Define.
525         (__lll_private_flag): Define.
526         (lll_futex_timed_wait): Use __lll_private_flag.
527         (lll_futex_wake): Use __lll_private_flag.
528         (lll_futex_requeue): Use __lll_private_flag.
529         (lll_robust_mutex_dead): Rename to...
530         (lll_robust_dead): ... this. Add private argument. Pass private
531         to lll_futex_wake.
532         (lll_futex_wake_unlock): Use __lll_private_flag.
533         (__lll_mutex_trylock): Remove.
534         (lll_mutex_tryock): Remove.
535         (__lll_robust_mutex_trylock): Rename to...
536         (__lll_robust_trylock): ... this.
537         (lll_robust_mutex_trylock): Rename to...
538         (lll_robust_trylock): ... this. Call __lll_robust_trylock.
539         (__lll_mutex_cond_trylock): Rename to...
540         (__lll_cond_trylock): ... this.
541         (lll_mutex_cond_trylock): Rename to...
542         (lll_cond_trylock): ... this. Call __lll_cond_trylock.
543         (__lll_mutex_lock): Add private argument.
544         (__lll_robust_mutex_lock): Remove.
545         (lll_mutex_lock): Define.
546         (__lll_robust_lock): Define.
547         (lll_robust_mutex_lock): Remove.
548         (__lll_mutex_cond_lock): Remove.
549         (lll_robust_lock) Define.
550         (lll_robust_cond_lock): Define.
551         (lll_robust_mutex_cond_lock): Remove.
552         (__lll_cond_lock): Define.
553         (lll_cond_lock): Define.
554         (__lll_mutex_timedlock): Remove.
555         (__lll_timedlock): Define.
556         (lll_timedlock): Define.
557         (lll_robust_mutex_timedlock): Remove.
558         (lll_robust_timedlock): Define.
559         (__lll_mutex_unlock): Remove.
560         (__lll_unlock): Define.
561         (__lll_robust_mutex_unlock): Remove.
562         (__lll_robust_unlock): Define.
563         (lll_robust_mutex_unlock): Remove.
564         (lll_robust_unlock): Define.
565         (__lll_mutex_unlock_force): Remove.
566         (lll_mutex_unlock_force): Remove.
567         (lll_islocked): Remove.
568         (lll_mutex_islocked): Rename to...
569         (lll_islocked): ... this.
570         (lll_trylock): Remove.
571         (lll_unlock): Remove.
572         (lll_wait_tid): Format whitespace.
573         (lll_cond_wait): Remove.
574         (lll_cond_timedwait): Remove.
575         (lll_cond_wake): Remove.
576         (lll_cond_broadcast): Remove.
578 2007-10-17  Carlos O'Donell  <carlos@systemhalted.org>
580         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Correct return value
581         type and __THROW marker of splice, vmsplice, and tee.
583 2007-09-24  Carlos O'Donell  <carlos@systemhalted.org>
585         * sysdeps/hppa/nptl/tls.h: Fix comment.
586         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Fix comment format.
587         [__USE_GNU] (O_CLOEXEC): Define.
588         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Issue error
589         if the library is unsupported.
590         [ASSEMBLER && IS_IN_librt]: Define CENABLE, CDISABLE, and
591         __local_multiple_threads.
593 2007-08-03  Aurelien Jarno  <aurelien@aurel32.net>
595         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h:
596         (__local_multiple_threads): Declare as hidden only in libc and
597         in libpthread.
599 2007-07-28  Carlos O'Donell  <carlos@systemhalted.org>
601         * sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Remove.
602         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
603         (pthread_rwlock_t): Split __flags into __pad2, __pad1, __shared,
604         and __flags. Update comments. Update copyright.
605         * sysdeps/hppa/nptl/tls.h: Define THREAD_GSCOPE_FLAG_UNUSED,
606         THREAD_GSCOPE_FLAG_USED, THREAD_GSOPE_FLAG_WAIT,
607         THREAD_GSCOPE_RSEET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_WAIT.
608         Update copyright.
609         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Update copyright.
610         (__lll_lock_wait): Call lll_futex_wait with LLL_SHARED.
611         (__lll_timedlock_wait): Call lll_futex_timed_wait with LLL_SHARED.
612         (lll_unlock_Wake_cb): Use lll_private_futex_wake.
613         (___lll_timedwait_tid): Call lll_futex_timed_wait with LLL_SAHRED.
614         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define
615         FUTEX_PRIVATE_FLAG, LLL_PRIVATE, LLL_SHARED, lll_private_futex_wait,
616         lll_private_futex_timed_wait, lll_private_Futex_wake. Add private
617         argument to lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
618         lll_futex_wake_unlock.
619         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Update copyright.
620         (clear_once_control): Use lll_private_futex_wake.
621         (__pthread_once): Use lll_private_futex_wait, and
622         lll_private_futex_wake.
624 2007-07-28  Randolph Chung  <tausq@debian.org>
626         * sysdeps/hppa/nptl/tls.h (DB_THREAD_SELF): Fix definition.
628 2007-06-16  Jeff Bailey  <jbailey@raspberryginger.com>
630         * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Don't
631         include asm/elf.h.  Declare elf_greg_t, elf_gregset_t,
632         elf_fpreg_t, and elf_fpregset_t.
634 2007-06-16  Jeff Bailey  <jbailey@raspberryginger.com>
636         * sysdeps/unix/sysv/linux/hppa/nptl/configure.in: Require
637         at least kernel 2.6.9.
638         * sysdeps/unix/sysv/linux/hppa/nptl/configure: Rebuilt.
640 2007-05-17  Carlos O'Donell  <carlos@systemhalted.org>
642         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h
643         (SEM_VALUE_MAX): Remove.
645 2007-05-17  Carlos O'Donell  <carlos@systemhalted.org>
647         * sysdeps/unix/sysv/linux/hppa/sysdep.h (PIC_REG_DEF): Define.
648         (PIC_REG_USE): Define.
649         (INLINE_SYSCALL): Use PIC_REG_DEF, PIC_REG_USE.
650         (INTERNAL_SYSCALL): Likewise.
651         (INTERNAL_SYSCALL_NCS): Likewise.
652         * sysdeps/unix/sysv/linux/hppa/sysdep.c (syscall): Use
653         PIC_REG_DEF, PIC_REG_USE.
655 2007-05-01  Carlos O'Donell  <carlos@systemhalted.org>
657         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h
658         [__USE_XOPEN2K]: Define pthread_rwlock_t and
659         pthread_rwlockattr_t.
661 2007-02-02  Carlos O'Donell  <carlos@systemhalted.org>
663         * sysdeps/unix/sysv/linux/hppa/sysdep.h (PTR_MANGLE): Define.
664         (PTR_DEMANGLE): Define.
666 2007-02-02  Guy Martin  <gmsoft@tuxicoman.be>
668         * sysdeps/hppa/dl-trampoline.S (_dl_runtime_profile):
669         Add cfi_endproc.
671 2006-12-03  Carlos O'Donell  <carlos@systemhalted.org>
673         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove non-atomic
674         versions. Adjust jump target to '0b'.
676 2006-12-03  Carlos O'Donell  <carlos@systemhalted.org>
678         * sysdeps/hppa/Makefile: Set long-double-fcts to `no'.
679         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
680         * sysdeps/hppa/fpu/bits/mathdef.h: New file.
682 2006-11-10  Carlos O'Donell  <carlos@systemhalted.org>
684         * sysdeps/hppa/nptl/pthread_spin_init.c: New file.
685         * sysdeps/hppa/nptl/pthread_spin_unlock.c: Remove strong alias
686         to pthread_spin_init.
687         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Define
688         RTLD_SINGLE_THREAD_P.
690 2006-09-20  Carlos O'Donell  <carlos@systemhalted.org>
692         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (splice): Add offin
693         and offout arguments to the prototype.
695 2006-09-15  Carlos O'Donell  <carlos@systemhalted.org>
697         * sysdeps/hppa/nptl/tcb-offsets.sym: Define TID_THREAD_OFFSET.
698         * sysdeps/unix/sysv/linux/hppa/clone.S: Handle RESET_PID, and
699         restore r19 before call to _exit.
700         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: New file.
702 2006-09-13  Carlos O'Donell  <carlos@systemhalted.org>
704         * sysdeps/hppa/dl-machine.h (RTLD_START): Comment the use of
705         _dl_fini_plabel.
706         * sysdeps/hppa/elf/start.S: Correctly pass r23 to argument 6 of
707         __libc_start_main. Comment the order of arguments at entry and
708         those to __libc_start_main.
710 2006-09-07  Carlos O'Donell  <carlos@systemhalted.org>
712         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Remove
713         lvalue cast.
714         * sysdeps/hppa/dl-trampoline.S (_dl_fixup): Correct stack usage.
715         (_dl_runtime_profile): LA fixups.
716         * sysdeps/unix/sysv/linux/hppa/clone.S: Correct stack usage. Return
717         -1 on error. Use branch and link for error handler funciton.
718         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Correct stack usage.
719         Avoid register shuffling.
720         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (ASM_EAGAIN): Define
721         as -EAGAIN.
722         * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Adjust definitions to
723         match required standards.
724         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
725         (lll_futex_wait): Return __ret.
726         (lll_futex_timed_wait): Likewise.
727         (lll_futex_wake): Likewise.
728         (lll_futex_requeue): Likewise.
729         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Correct stack
730         usage and adjust error return.
731         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Adjust
732         stack usage for gdb, and avoid extra register loads.
733         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Copy
734         nptl/sysdeps/pthread/unwind-forcedunwind.c.
735         (LIBGCC_SO): Define and use.
736         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Copy
737         nptl/sysdeps/pthread/unwind-resume.c.
738         (LIBGCC_SO): Define and use.
740 2006-08-13  Carlos O'Donell  <carlos@systemhalted.org>
742         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h (FUTEX_LOCK_PI,
743         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
745 2006-07-24  Carlos O'Donell  <carlos@systemhalted.org>
747         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
748         __SIZEOF_PTHREAD_COND_T is 64 bytes. Remove __PAD_ATOMIC_LOCK_T.
750 2006-07-18  Carlos O'Donell  <carlos@systemhalted.org>
752         * sysdeps/hppa/nptl/pthread_spin_lock.c (pthread_spin_lock): Swap
753         newval and oldval.
754         * sysdeps/hppa/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
755         Likewise.
757 2006-07-16  Jeff Bailey  <jbailey@ubuntu.com>
759         * sysdeps/hppa/tst-audit.h: New file.
761 2006-07-16  Carlos O'Donell  <carlos@systemhalted.org>
763         * sysdeps/hppa/tls-macros.h: Cleanup formatting.
765 2006-07-15  Jeff Bailey  <jbailey@ubuntu.com>
767         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Return NULL.
769 2006-07-13  Carlos O'Donell  <carlos@systemhalted.org>
771         * sysdeps/unix/sysv/linux/hppa/xstat.c: New file.
772         * sysdeps/unix/sysv/linux/hppa/lxstat.c: Likewise.
773         * sysdeps/unix/sysv/linux/hppa/fxstat.c: Likewise.
774         * sysdeps/unix/sysv/linux/hppa/fxstatat.c: Likewise.
776 2006-07-13  Carlos O'Donell  <carlos@systemhalted.org>
778         * sysdeps/hppa/nptl/Makefile: New file
779         * sysdeps/hppa/nptl/jmpbuf-unwind.h: Likewise
780         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise
781         * sysdeps/hppa/nptl/pthread_spin_trylock.c: Likewise
782         * sysdeps/hppa/nptl/pthread_spin_unlock.c: Likewise
783         * sysdeps/hppa/nptl/pthreaddef.h: Likewise
784         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise
785         * sysdeps/hppa/nptl/tls.h: Likewise
786         * sysdeps/unix/sysv/linux/hppa/nptl/bits: Likewise
787         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: Likewise
788         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: Likewise
789         * sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Likewise
790         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: Likewise
791         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Likewise
792         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise
793         * sysdeps/unix/sysv/linux/hppa/nptl/pt-initfini.c: Likewise
794         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Likewise
795         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Likewise
796         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise
797         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Likewise
798         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Likewise
800 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
802         * sysdeps/unix/sysv/linux/hppa/Versions: new errlist compat entry
803         for up to 256 errnos
805 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
807         * sysdeps/hppa/hppa1.1/Implies: Remove ieee754/ldbl-128.
808         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
809         [__LINUX_KERNEL_VERSION >= 0x020609]: Define __ASSUME_LWS_CAS.
810         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: New file.
812 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
814         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Reformat
815         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
816         Define.
818 2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
820         * sysdeps/unix/sysv/linux/hppa/clone.S: .LerrorRest
821         is a label.
823 2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
825         * sysdeps/hppa/ldsodefs.h: New file.
826         * sysdeps/unix/sysv/linux/hppa/bits/mman.h:
827         Only define MADV_* macros when __USE_BSD is present.
828         (MADV_REMOVE, MADV_DONTFORK, MADV_DOFORK): Define.
830 2006-05-15  Carlos O'Donell  <carlos@systemhalted.org>
832         * sysdeps/unix/sysv/linux/hppa/clone.S: Accept extra arguments
833         required for NPTL.
834         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Use var args for 6 arg
835         syscall.
836         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Move DOARGS and UNDOARGS
837         into PSEUDO_*'s.
838         (ENTRY_LEAF): Define.
839         (PSEUDO_NOERRNO, PSEUDO_ERRVAL): Use ENTRY_LEAF.
840         (DO_CALL): Create frame.
842 2006-05-15  Carlos O'Donell  <carlos@systemhalted.org>
844         * sysdeps/hppa/dl-machine.h: Include tls.h
845         (elf_machine_fixup_plt): Returns fdesc.
846         (elf_machine_profile_fixup_plt): Remove.
847         (elf_machine_plt_value): Returns fdesc.
848         (elf_machine_runtime_setup): Check that dl_profile != NULL.
849         (ARCH_LA_PLTENT, ARCH_LA_PLTEXIT): Define.
850         (RTLD_START): Use iitlbp with sr0.
851         (elf_machine_type_class): Include TLS relocs.
852         (reassemble_21, reassemble_14): Define.
853         (elf_machine_rela): Add DIR21L, DIR14R, PLABEL21L, PLABEL14R,
854         TLS_DTPMOD32, TLS_TPREL32, TLS_DTPOFF32 support.
855         (TRAMPOLINE_TEMPLATE): Move to ...
856         * sysdeps/hppa/dl-trampoline.S: ... here.
857         * sysdeps/hppa/abort-instr.h: Use iitlbp with sr0.
858         * sysdeps/hppa/dl-lookupcfg.h: Inlcude dl-fptr.h.
859         (DL_FIXUP_VALUE_TYPE, DL_FIXUP_MAKE_VALUE, DL_FIXUP_VALUE_CODE_ADDR,
860         DL_FIXUP_VALUE_ADD, DL_FIXUP_ADDR_VALUE): Define.
861         * sysdeps/hppa/sysdep.h: Use "!" as a separator. Cleanup comments.
862         * sysdeps/hppa/bits/link.h (La_hppa_regs, La_hppa_retval): Define.
863         Define prototypes for la_hppa_gnu_pltenter and la_hppa_gnu_pltexit.
865 2006-04-27  Carlos O'Donell  <carlos@systemhalted.org>
867         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Include uio.h, and
868         define vmsplice.
870 2006-04-21  Carlos O'Donell  <carlos@systemhalted.org>
872         * sysdeps/hppa/dl-tls.h: New file
873         * sysdeps/hppa/libc-tls.c: Likewise.
874         * sysdeps/hppa/tls-macros.h: Likewise.
875         * sysdeps/hppa/elf/configure: Likewise.
876         * sysdeps/hppa/elf/configure.in: Likewise.
878 2006-04-20  Carlos O'Donell  <carlos@systemhalted.org>
880         * sysdeps/hppa/fpu/fclrexcpt.c (feclearexcept): Use union to
881         align parameters. Specify memory clobbers.
882         * sysdeps/hppa/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
883         * sysdeps/hppa/fpu/feenablxcpt.c (feenableexcept): Likewise.
884         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Do not save exception
885         register. Use memcpy to align buffer.
886         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Store and reload
887         fr0. Use union to align parameters.
888         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
889         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Do not save
890         exception registers. Define libm_hidden_def.
891         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Do not save exception
892         registers.
893         * sysdeps/hppa/fpu/fesetround.c (fesetround): Use union to
894         align parameters, speficy memory clobbers. Define libm_hidde_def
895         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Use union to align
896         parameters. Use memcpy to align buffer.
897         * sysdeps/hppa/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
898         * sysdeps/hppa/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
899         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
900         * sysdeps/hppa/fpu/libm-test-ulps: Update.
901         * sysdeps/hppa/fpu/bits/fenv.h: Add ABI comments.
903 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
905         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]:
906         Define MMAP_FIXED.
907         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_GNU]:
908         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE,
909         SYNC_FILE_RANGE_WAIT_AFTER, sync_file_range, splice, tee.
911 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
913         * sysdeps/unix/sysv/linux/hppa/kernel-features.h: New file.
915 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
917         * sysdeps/hppa/linuxthreads/pspinlock.c: New file.
918         * sysdeps/hppa/linuxthreads/pt-machine.h: Likewise.
919         * sysdeps/hppa/linuxthreads/tls.h: Likewise.
920         * sysdeps/unix/sysv/linux/hppa/linuxthreads/aio_cancel.c: Likewise.
921         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h:
922         Likewise.
923         * sysdeps/unix/sysv/linux/hppa/linuxthreads/pt-initfini.c: Likewise.
924         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: Likewise.
925         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/initspin.h: Likewise.
926         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h:
927         Likewise.
929 2006-02-28  Roland McGrath  <roland@redhat.com>
931         * sysdeps/hppa/shlib-versions: New file.
932         * sysdeps/hppa/preconfigure: New file.