Define TLS_DTV_UNALLOCATED for hppa.
[glibc.git] / ChangeLog.hppa
blob91ddf8d750b5e19f5fa9d58a41cd53b2145ac583
1 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
3         * sysdeps/hppa/dl-tls.h: Update copyright year.
4         Define TLS_DTV_UNALLOCATED.
6 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
8         * sysdeps/hppa/elf/configure.in: Always test for TLS support
9         and error out if missing.
10         * sysdeps/hppa/elf/configure: Regenerate.
11         * sysdeps/hppa/configure: Regenerate.
13 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
15         * sysdeps/hppa/nptl/tls.h: Update copyright year.
16         Remove HAVE_TLS_SUPPORT check.
18 2011-10-17  Guy Martin  <gmsoft@tuxicoman.be>
20         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h
21         Fix EPOLL_CLOEXEC and EPOLL_NONBLOCK to match kernel definition.
22         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h
23         Fix EFD_CLOEXEC and EFD_NONBLOCK to match kernel definition.
24         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h
25         Fix IN_CLOEXEC and IN_NONBLOCK to match kernel definition.
26         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h
27         Fix SFD_CLOEXEC and SFD_NONBLOCK to match kernel definition.
28         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h
29         Fix TFD_CLOEXEC and TFD_NONBLOCK to match kernel definition.
31 2011-10-05  Andreas Schwab  <schwab@redhat.com>
33         * sysdeps/hppa/dl-machine.h (elf_machine_rela)
34         (elf_machine_lazy_rel): Add parameter skip_ifunc.
36 2010-06-24  Carlos O'Donell  <carlos@codesourcery.com>
38         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Only create stack
39         frame around call to SYSCALL_ERROR_HANDLER. Do not restore %rp
40         from the stack frame on successfull return.
42 2010-06-23  Carlos O'Donell  <carlos@codesourcery.com>
44         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext_ret):
45         Document that this function is a non-standard calling ABI.
46         Document register usage.
47         (__getcontext): Use normal %sp without adjustment. Use named
48         resgister %sp.
49         * sysdeps/unix/sysv/linux/hppa/makecontext.c: Remove FRAME_SIZE.
50         Define FRAME_SIZE_UL, FRAME_SIZE_BYTES, ARGS.
51         (__makecontext): Create and setup a stack frame.
52         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
53         Use named register %sp. Do not use oSS_SP.
55 2010-06-07  Andreas Schwab  <schwab@redhat.com>
57         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Update to agree
58         with generic file.
60 2010-03-30  Carlos O'Donell <carlos@codesourcery.com>
62         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Define
63         MSG_WAITFORONE.
65 2010-02-17  Matt Turner  <mattst88@gmail.com>
67         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Actually fix
68         SOCK_CLOEXEC to match O_CLOEXEC.
70 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
72         * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Define
73         MADV_MERGEABLE and MADV_UNMERGEABLE.
75 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
77         * sysdeps/hppa/nptl/tls.h (__set_cr27): Clobber
78         link register r31.
80 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
82         * sysdeps/unix/sysv/linux/hppa/makecontext.c (__makecontext):
83         Support more than 8 arguments.
85 2010-02-01  Kyle McMartin  <kyle@redhat.com>
87         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Fix value of
88         SOCK_CLOEXEC to match O_CLOEXEC.
90 2010-02-01  Carlos O'Donell  <carlos@codesourcery.com>
92         * sysdeps/unix/sysv/linux/hppa/Versions: Bump
93         errlist-compat to 257 for GLIBC_2.12.
94         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
95         (EOWNERDEAD): Define if not already defined.
96         (ENOTRECOVERABLE): Likewise.
97         (ERFKILL): Likewise.
99 2009-11-29  Carlos O'Donell  <carlos@codesourcery.com>
101         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h:
102         Rearrange file to reduce future maintenance.
103         [__USE_GNU]: Update F_GETOWN_EX, and F_SETOWN_EX.
104         Define f_owner_ex an __pid_type.
106 2009-11-25  Carlos O'Donell  <carlos@codesourcery.com>
108         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
109         Use correct alignment for pthread_mutex_t, pthread_cond_t,
110         and pthread_rwlock_t.
112 2009-11-22  Carlos O'Donell  <carlos@codesourcery.com>
114         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Avoid warnings
115         by casting oldval to int.
117 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
119         [BZ #6676]
121         * sysdeps/unix/sysv/linux/hppa/socket.h: Move from here...
122         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: ... to here.
124 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
126         * sysdeps/unix/sysv/linux/hppa/Versions (libc): Add
127         fallocate64@@GLIBC_2.11.
128         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
129         [__USE_GNU]: Define F_GETOWN_EX, and F_SETOWN_EX.
130         [!__USE_FILE_OFFSET64]: Define fallocate.
131         [__USE_FILE_OFFSET64 && __REDIRECT]: Define __REDIRECT.
132         [__USE_FILE_OFFSET64 && !__REDIRECT]: Define fallocate as
133         fallocate64.
134         [__USE_LARGEFILE64]: define fallocate64.
136 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
138         * sysdeps/hppa/dl-fptr.h: Update copyright year.
139         Reduce ELF_MACHINE_BOOT_FPTR_TABLE_LEN to 64.
140         Implement ELF_MACHINE_LOAD_ADDRESS using PC relative loads.
142 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
144         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
145         Remove FUTEX_WAITERS, FUTEX_OWNER_DIED, and FUTEX_TID_MASK.
147 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
148             Aurelian Jarno  <aurelien@aurel32.net>
150         [BZ #10527]
152         * sysdeps/unix/sysv/linux/hppa/socket.h: New file.
154 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
156         [BZ #6676]
158         * sysdeps/hppa/elf/start.S: Use R_PARISC_DLTIND* relocations
159         to support -fPIE.
161 2009-11-08  Carlos O'Donell  <carlos@codesourcery.com>
163         [BZ #10920]
165         * sysdeps/hppa/libgcc_s.h: New file.
166         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Remove.
167         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Remove.
169 2009-09-08  Carlos O'Donell  <carlos@codesourcery.com>
171         sysdeps/unix/sysv/linux/hppa/
172         * internaltypes.h: New file.
174         sysdeps/unix/sysv/linux/hppa/nptl/
175         * pthreadP.h: New file.
176         * pthread.h: New file.
177         * pthread_cond_broadcast.c: New file.
178         * pthread_cond_destroy.c: New file.
179         * pthread_cond_init.c: New file.
180         * pthread_cond_signal.c: New file.
181         * pthread_cond_timedwait.c: New file.
182         * pthread_cond_wait.c: New file.
183         * bits/pthreadtypes.h: Make pthread_mutex_t,
184         pthread_rwlock_t, and pthread_cond_t backwards
185         compatible.
187 2009-04-24  Carlos O'Donell  <carlos@codesourcery.com>
189         * sysdeps/hppa/hppa1.1/s_signbit.c: New file.
191 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
193         * sysdeps/hppa/dl-machine.h: Remove VALID_ELF_OSABI,
194         VALID_ELF_ABIVERSION, and VALID_ELF_HEADER.
196 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
198         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Do not include
199         sysdep.h. Document the reason for other includes.
201 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
203         * sysdeps/unix/sysv/linux/hppa/sysdep.h [!__ASSEMBLER__]:
204         Include errno.h.
206 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
208         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
209         Adjust comment. Sort macros alphabetically. Remove old
210         lock comments.
212 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
214         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c:
215         Update from nptl/sysdeps/pthread/unwind-forcedunwind.c
216         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c:
217         Update from nptl/sysdeps/pthread/unwind-resume.c
219 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
221         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define
222         FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME,
223         and FUTEX_BITSET_MATCH_ANY.
225 2009-02-22  Carlos O'Donell  <carlos@codesourcery.com>
227         * sysdeps/unix/sysv/linux/hppa/Versions: Add missing bracket.
229 2009-02-22  Carlos O'Donell  <carlos@codesourcery.com>
231         * sysdeps/hppa/dl-machine.h: Use _dl_runtime_profile.
233 2009-02-13  Khem Raj  <raj.khem@gmail.com>
235         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c
236         (libgcc_s_handle): New variable.
237         (pthread_cancel_init): Depend in libgcc_s_handle for decision to
238         load DSO.  Assign last.
239         (__unwind_freeres): New function.
241 2009-02-09  Arthur Loiret  <aloiret@debian.org>
243         [BZ #9717]
245         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h
246         (MALLOC): Adjust __libc_tsd_define arguments.
247         (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
248         arguments.
250 2008-08-07  Helge Deller  <deller@gmx.de>
252         * sysdeps/unix/sysv/linux/hppa/ucontext_i.sym: New file.
253         * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
254         * sysdeps/unix/sysv/linux/hppa/getcontext.S: New file.
255         * sysdeps/unix/sysv/linux/hppa/makecontext.c: New file.
256         * sysdeps/unix/sysv/linux/hppa/setcontext.S: New file.
257         * sysdeps/unix/sysv/linux/hppa/swapcontext.c: New file.
259 2008-06-17  Aurelian Jarno  <aurelien@aurel32.net>
260             Carlos O'Donell  <carlos@systemhalted.org>
262         [BZ #6037]
263         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Check for -11
264         (-EAGAIN) instead of 11. Loop again when the kernel
265         returns -45 (-EDEADLOCK). Add back memory clobber.
266         Do not initialize lws_ret and lws_errno.
268 2008-06-17  Guy Martin  <gmsoft@tuxicoman.be>
270         [BZ #5957]
271         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
272         Use shared futex in lll_wait_tid().
274 2008-05-12  Aurelien Jarno  <aurelien@aurel32.net>
276         [BZ #6506]
277         * sysdeps/hppa/fpu/fesetenv.c: bufptr is always read, temp is
278         read while writing back status word.
280 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
282         * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Fix comment describing
283         shmid_ds.
285 2008-04-04  Carlos O'Donell  <carlos@codesourcery.com>
287         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove
288         memory contraint and instead indicate that *mem is
289         written to.
291 2008-03-24  Carlos O'Donell  <carlos@codesourcery.com>
293         * sysdeps/unix/sysv/linux/hppa/sys/user.h: New file.
295 2008-03-14  Carlos O'Donell  <carlos@codesourcery.com>
296             Guy Martin <gmsoft@tuxicoman.be>
298         [BZ #5923]
299         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Pass
300         timespec and futexp.
302 2008-02-22  Carlos O'Donell  <carlos@codesourcery.com>
304         * sysdeps/unix/sysv/linux/hppa/Makefile: Remove.
305         * sysdeps/hppa/nptl/Makefile: Set tst-oddstacklimit-ENV.
307 2007-12-05  Jeff Bailey  <jeffbailey@google.com>
309         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
310         (__lll_unlock): Use define instead of inline function.
311         (__lll_robust_unlock): Likewise.
313 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
315         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
317 2007-10-18  Carlos O'Donell  <carlos@systemhalted.org>
319         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c
320         (__lll_lock_wait): Add private argument. Pass private
321         to lll_futex_wait. Use atomic_compare_and_exchange_val_acq.
322         (__lll_lock_wait_private): New function.
323         (__lll_timedlock_wait): Add private argument. Pass private
324         to lll_futex_timed_wait.
325         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
326         Include kernel-features.h and tls.h.
327         (FUTEX_WAITERS): Define.
328         (FUTEX_OWNER_DIED): Define.
329         (FUTEX_TID_MASK): Define.
330         (__lll_private_flag): Define.
331         (lll_futex_timed_wait): Use __lll_private_flag.
332         (lll_futex_wake): Use __lll_private_flag.
333         (lll_futex_requeue): Use __lll_private_flag.
334         (lll_robust_mutex_dead): Rename to...
335         (lll_robust_dead): ... this. Add private argument. Pass private
336         to lll_futex_wake.
337         (lll_futex_wake_unlock): Use __lll_private_flag.
338         (__lll_mutex_trylock): Remove.
339         (lll_mutex_tryock): Remove.
340         (__lll_robust_mutex_trylock): Rename to...
341         (__lll_robust_trylock): ... this.
342         (lll_robust_mutex_trylock): Rename to...
343         (lll_robust_trylock): ... this. Call __lll_robust_trylock.
344         (__lll_mutex_cond_trylock): Rename to...
345         (__lll_cond_trylock): ... this.
346         (lll_mutex_cond_trylock): Rename to...
347         (lll_cond_trylock): ... this. Call __lll_cond_trylock.
348         (__lll_mutex_lock): Add private argument.
349         (__lll_robust_mutex_lock): Remove.
350         (lll_mutex_lock): Define.
351         (__lll_robust_lock): Define.
352         (lll_robust_mutex_lock): Remove.
353         (__lll_mutex_cond_lock): Remove.
354         (lll_robust_lock) Define.
355         (lll_robust_cond_lock): Define.
356         (lll_robust_mutex_cond_lock): Remove.
357         (__lll_cond_lock): Define.
358         (lll_cond_lock): Define.
359         (__lll_mutex_timedlock): Remove.
360         (__lll_timedlock): Define.
361         (lll_timedlock): Define.
362         (lll_robust_mutex_timedlock): Remove.
363         (lll_robust_timedlock): Define.
364         (__lll_mutex_unlock): Remove.
365         (__lll_unlock): Define.
366         (__lll_robust_mutex_unlock): Remove.
367         (__lll_robust_unlock): Define.
368         (lll_robust_mutex_unlock): Remove.
369         (lll_robust_unlock): Define.
370         (__lll_mutex_unlock_force): Remove.
371         (lll_mutex_unlock_force): Remove.
372         (lll_islocked): Remove.
373         (lll_mutex_islocked): Rename to...
374         (lll_islocked): ... this.
375         (lll_trylock): Remove.
376         (lll_unlock): Remove.
377         (lll_wait_tid): Format whitespace.
378         (lll_cond_wait): Remove.
379         (lll_cond_timedwait): Remove.
380         (lll_cond_wake): Remove.
381         (lll_cond_broadcast): Remove.
383 2007-10-17  Carlos O'Donell  <carlos@systemhalted.org>
385         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Correct return value
386         type and __THROW marker of splice, vmsplice, and tee.
388 2007-09-24  Carlos O'Donell  <carlos@systemhalted.org>
390         * sysdeps/hppa/nptl/tls.h: Fix comment.
391         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Fix comment format.
392         [__USE_GNU] (O_CLOEXEC): Define.
393         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Issue error
394         if the library is unsupported.
395         [ASSEMBLER && IS_IN_librt]: Define CENABLE, CDISABLE, and
396         __local_multiple_threads.
398 2007-08-03  Aurelien Jarno  <aurelien@aurel32.net>
400         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h:
401         (__local_multiple_threads): Declare as hidden only in libc and
402         in libpthread.
404 2007-07-28  Carlos O'Donell  <carlos@systemhalted.org>
406         * sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Remove.
407         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
408         (pthread_rwlock_t): Split __flags into __pad2, __pad1, __shared,
409         and __flags. Update comments. Update copyright.
410         * sysdeps/hppa/nptl/tls.h: Define THREAD_GSCOPE_FLAG_UNUSED,
411         THREAD_GSCOPE_FLAG_USED, THREAD_GSOPE_FLAG_WAIT,
412         THREAD_GSCOPE_RSEET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_WAIT.
413         Update copyright.
414         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Update copyright.
415         (__lll_lock_wait): Call lll_futex_wait with LLL_SHARED.
416         (__lll_timedlock_wait): Call lll_futex_timed_wait with LLL_SHARED.
417         (lll_unlock_Wake_cb): Use lll_private_futex_wake.
418         (___lll_timedwait_tid): Call lll_futex_timed_wait with LLL_SAHRED.
419         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define
420         FUTEX_PRIVATE_FLAG, LLL_PRIVATE, LLL_SHARED, lll_private_futex_wait,
421         lll_private_futex_timed_wait, lll_private_Futex_wake. Add private
422         argument to lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
423         lll_futex_wake_unlock.
424         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Update copyright.
425         (clear_once_control): Use lll_private_futex_wake.
426         (__pthread_once): Use lll_private_futex_wait, and
427         lll_private_futex_wake.
429 2007-07-28  Randolph Chung  <tausq@debian.org>
431         * sysdeps/hppa/nptl/tls.h (DB_THREAD_SELF): Fix definition.
433 2007-06-16  Jeff Bailey  <jbailey@raspberryginger.com>
435         * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Don't
436         include asm/elf.h.  Declare elf_greg_t, elf_gregset_t,
437         elf_fpreg_t, and elf_fpregset_t.
439 2007-06-16  Jeff Bailey  <jbailey@raspberryginger.com>
441         * sysdeps/unix/sysv/linux/hppa/nptl/configure.in: Require
442         at least kernel 2.6.9.
443         * sysdeps/unix/sysv/linux/hppa/nptl/configure: Rebuilt.
445 2007-05-17  Carlos O'Donell  <carlos@systemhalted.org>
447         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h
448         (SEM_VALUE_MAX): Remove.
450 2007-05-17  Carlos O'Donell  <carlos@systemhalted.org>
452         * sysdeps/unix/sysv/linux/hppa/sysdep.h (PIC_REG_DEF): Define.
453         (PIC_REG_USE): Define.
454         (INLINE_SYSCALL): Use PIC_REG_DEF, PIC_REG_USE.
455         (INTERNAL_SYSCALL): Likewise.
456         (INTERNAL_SYSCALL_NCS): Likewise.
457         * sysdeps/unix/sysv/linux/hppa/sysdep.c (syscall): Use
458         PIC_REG_DEF, PIC_REG_USE.
460 2007-05-01  Carlos O'Donell  <carlos@systemhalted.org>
462         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h
463         [__USE_XOPEN2K]: Define pthread_rwlock_t and
464         pthread_rwlockattr_t.
466 2007-02-02  Carlos O'Donell  <carlos@systemhalted.org>
468         * sysdeps/unix/sysv/linux/hppa/sysdep.h (PTR_MANGLE): Define.
469         (PTR_DEMANGLE): Define.
471 2007-02-02  Guy Martin  <gmsoft@tuxicoman.be>
473         * sysdeps/hppa/dl-trampoline.S (_dl_runtime_profile):
474         Add cfi_endproc.
476 2006-12-03  Carlos O'Donell  <carlos@systemhalted.org>
478         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove non-atomic
479         versions. Adjust jump target to '0b'.
481 2006-12-03  Carlos O'Donell  <carlos@systemhalted.org>
483         * sysdeps/hppa/Makefile: Set long-double-fcts to `no'.
484         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
485         * sysdeps/hppa/fpu/bits/mathdef.h: New file.
487 2006-11-10  Carlos O'Donell  <carlos@systemhalted.org>
489         * sysdeps/hppa/nptl/pthread_spin_init.c: New file.
490         * sysdeps/hppa/nptl/pthread_spin_unlock.c: Remove strong alias
491         to pthread_spin_init.
492         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Define
493         RTLD_SINGLE_THREAD_P.
495 2006-09-20  Carlos O'Donell  <carlos@systemhalted.org>
497         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (splice): Add offin
498         and offout arguments to the prototype.
500 2006-09-15  Carlos O'Donell  <carlos@systemhalted.org>
502         * sysdeps/hppa/nptl/tcb-offsets.sym: Define TID_THREAD_OFFSET.
503         * sysdeps/unix/sysv/linux/hppa/clone.S: Handle RESET_PID, and
504         restore r19 before call to _exit.
505         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: New file.
507 2006-09-13  Carlos O'Donell  <carlos@systemhalted.org>
509         * sysdeps/hppa/dl-machine.h (RTLD_START): Comment the use of
510         _dl_fini_plabel.
511         * sysdeps/hppa/elf/start.S: Correctly pass r23 to argument 6 of
512         __libc_start_main. Comment the order of arguments at entry and
513         those to __libc_start_main.
515 2006-09-07  Carlos O'Donell  <carlos@systemhalted.org>
517         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Remove
518         lvalue cast.
519         * sysdeps/hppa/dl-trampoline.S (_dl_fixup): Correct stack usage.
520         (_dl_runtime_profile): LA fixups.
521         * sysdeps/unix/sysv/linux/hppa/clone.S: Correct stack usage. Return
522         -1 on error. Use branch and link for error handler funciton.
523         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Correct stack usage.
524         Avoid register shuffling.
525         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (ASM_EAGAIN): Define
526         as -EAGAIN.
527         * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Adjust definitions to
528         match required standards.
529         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
530         (lll_futex_wait): Return __ret.
531         (lll_futex_timed_wait): Likewise.
532         (lll_futex_wake): Likewise.
533         (lll_futex_requeue): Likewise.
534         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Correct stack
535         usage and adjust error return.
536         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Adjust
537         stack usage for gdb, and avoid extra register loads.
538         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Copy
539         nptl/sysdeps/pthread/unwind-forcedunwind.c.
540         (LIBGCC_SO): Define and use.
541         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Copy
542         nptl/sysdeps/pthread/unwind-resume.c.
543         (LIBGCC_SO): Define and use.
545 2006-08-13  Carlos O'Donell  <carlos@systemhalted.org>
547         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h (FUTEX_LOCK_PI,
548         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
550 2006-07-24  Carlos O'Donell  <carlos@systemhalted.org>
552         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
553         __SIZEOF_PTHREAD_COND_T is 64 bytes. Remove __PAD_ATOMIC_LOCK_T.
555 2006-07-18  Carlos O'Donell  <carlos@systemhalted.org>
557         * sysdeps/hppa/nptl/pthread_spin_lock.c (pthread_spin_lock): Swap
558         newval and oldval.
559         * sysdeps/hppa/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
560         Likewise.
562 2006-07-16  Jeff Bailey  <jbailey@ubuntu.com>
564         * sysdeps/hppa/tst-audit.h: New file.
566 2006-07-16  Carlos O'Donell  <carlos@systemhalted.org>
568         * sysdeps/hppa/tls-macros.h: Cleanup formatting.
570 2006-07-15  Jeff Bailey  <jbailey@ubuntu.com>
572         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Return NULL.
574 2006-07-13  Carlos O'Donell  <carlos@systemhalted.org>
576         * sysdeps/unix/sysv/linux/hppa/xstat.c: New file.
577         * sysdeps/unix/sysv/linux/hppa/lxstat.c: Likewise.
578         * sysdeps/unix/sysv/linux/hppa/fxstat.c: Likewise.
579         * sysdeps/unix/sysv/linux/hppa/fxstatat.c: Likewise.
581 2006-07-13  Carlos O'Donell  <carlos@systemhalted.org>
583         * sysdeps/hppa/nptl/Makefile: New file
584         * sysdeps/hppa/nptl/jmpbuf-unwind.h: Likewise
585         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise
586         * sysdeps/hppa/nptl/pthread_spin_trylock.c: Likewise
587         * sysdeps/hppa/nptl/pthread_spin_unlock.c: Likewise
588         * sysdeps/hppa/nptl/pthreaddef.h: Likewise
589         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise
590         * sysdeps/hppa/nptl/tls.h: Likewise
591         * sysdeps/unix/sysv/linux/hppa/nptl/bits: Likewise
592         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: Likewise
593         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: Likewise
594         * sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Likewise
595         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: Likewise
596         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Likewise
597         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise
598         * sysdeps/unix/sysv/linux/hppa/nptl/pt-initfini.c: Likewise
599         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Likewise
600         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Likewise
601         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise
602         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Likewise
603         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Likewise
605 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
607         * sysdeps/unix/sysv/linux/hppa/Versions: new errlist compat entry
608         for up to 256 errnos
610 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
612         * sysdeps/hppa/hppa1.1/Implies: Remove ieee754/ldbl-128.
613         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
614         [__LINUX_KERNEL_VERSION >= 0x020609]: Define __ASSUME_LWS_CAS.
615         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: New file.
617 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
619         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Reformat
620         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
621         Define.
623 2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
625         * sysdeps/unix/sysv/linux/hppa/clone.S: .LerrorRest
626         is a label.
628 2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
630         * sysdeps/hppa/ldsodefs.h: New file.
631         * sysdeps/unix/sysv/linux/hppa/bits/mman.h:
632         Only define MADV_* macros when __USE_BSD is present.
633         (MADV_REMOVE, MADV_DONTFORK, MADV_DOFORK): Define.
635 2006-05-15  Carlos O'Donell  <carlos@systemhalted.org>
637         * sysdeps/unix/sysv/linux/hppa/clone.S: Accept extra arguments
638         required for NPTL.
639         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Use var args for 6 arg
640         syscall.
641         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Move DOARGS and UNDOARGS
642         into PSEUDO_*'s.
643         (ENTRY_LEAF): Define.
644         (PSEUDO_NOERRNO, PSEUDO_ERRVAL): Use ENTRY_LEAF.
645         (DO_CALL): Create frame.
647 2006-05-15  Carlos O'Donell  <carlos@systemhalted.org>
649         * sysdeps/hppa/dl-machine.h: Include tls.h
650         (elf_machine_fixup_plt): Returns fdesc.
651         (elf_machine_profile_fixup_plt): Remove.
652         (elf_machine_plt_value): Returns fdesc.
653         (elf_machine_runtime_setup): Check that dl_profile != NULL.
654         (ARCH_LA_PLTENT, ARCH_LA_PLTEXIT): Define.
655         (RTLD_START): Use iitlbp with sr0.
656         (elf_machine_type_class): Include TLS relocs.
657         (reassemble_21, reassemble_14): Define.
658         (elf_machine_rela): Add DIR21L, DIR14R, PLABEL21L, PLABEL14R,
659         TLS_DTPMOD32, TLS_TPREL32, TLS_DTPOFF32 support.
660         (TRAMPOLINE_TEMPLATE): Move to ...
661         * sysdeps/hppa/dl-trampoline.S: ... here.
662         * sysdeps/hppa/abort-instr.h: Use iitlbp with sr0.
663         * sysdeps/hppa/dl-lookupcfg.h: Inlcude dl-fptr.h.
664         (DL_FIXUP_VALUE_TYPE, DL_FIXUP_MAKE_VALUE, DL_FIXUP_VALUE_CODE_ADDR,
665         DL_FIXUP_VALUE_ADD, DL_FIXUP_ADDR_VALUE): Define.
666         * sysdeps/hppa/sysdep.h: Use "!" as a separator. Cleanup comments.
667         * sysdeps/hppa/bits/link.h (La_hppa_regs, La_hppa_retval): Define.
668         Define prototypes for la_hppa_gnu_pltenter and la_hppa_gnu_pltexit.
670 2006-04-27  Carlos O'Donell  <carlos@systemhalted.org>
672         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Include uio.h, and
673         define vmsplice.
675 2006-04-21  Carlos O'Donell  <carlos@systemhalted.org>
677         * sysdeps/hppa/dl-tls.h: New file
678         * sysdeps/hppa/libc-tls.c: Likewise.
679         * sysdeps/hppa/tls-macros.h: Likewise.
680         * sysdeps/hppa/elf/configure: Likewise.
681         * sysdeps/hppa/elf/configure.in: Likewise.
683 2006-04-20  Carlos O'Donell  <carlos@systemhalted.org>
685         * sysdeps/hppa/fpu/fclrexcpt.c (feclearexcept): Use union to
686         align parameters. Specify memory clobbers.
687         * sysdeps/hppa/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
688         * sysdeps/hppa/fpu/feenablxcpt.c (feenableexcept): Likewise.
689         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Do not save exception
690         register. Use memcpy to align buffer.
691         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Store and reload
692         fr0. Use union to align parameters.
693         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
694         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Do not save
695         exception registers. Define libm_hidden_def.
696         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Do not save exception
697         registers.
698         * sysdeps/hppa/fpu/fesetround.c (fesetround): Use union to
699         align parameters, speficy memory clobbers. Define libm_hidde_def
700         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Use union to align
701         parameters. Use memcpy to align buffer.
702         * sysdeps/hppa/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
703         * sysdeps/hppa/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
704         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
705         * sysdeps/hppa/fpu/libm-test-ulps: Update.
706         * sysdeps/hppa/fpu/bits/fenv.h: Add ABI comments.
708 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
710         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]:
711         Define MMAP_FIXED.
712         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_GNU]:
713         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE,
714         SYNC_FILE_RANGE_WAIT_AFTER, sync_file_range, splice, tee.
716 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
718         * sysdeps/unix/sysv/linux/hppa/kernel-features.h: New file.
720 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
722         * sysdeps/hppa/linuxthreads/pspinlock.c: New file.
723         * sysdeps/hppa/linuxthreads/pt-machine.h: Likewise.
724         * sysdeps/hppa/linuxthreads/tls.h: Likewise.
725         * sysdeps/unix/sysv/linux/hppa/linuxthreads/aio_cancel.c: Likewise.
726         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h:
727         Likewise.
728         * sysdeps/unix/sysv/linux/hppa/linuxthreads/pt-initfini.c: Likewise.
729         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: Likewise.
730         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/initspin.h: Likewise.
731         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h:
732         Likewise.
734 2006-02-28  Roland McGrath  <roland@redhat.com>
736         * sysdeps/hppa/shlib-versions: New file.
737         * sysdeps/hppa/preconfigure: New file.