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