hppa: Use new libgcc_so in shlib-versions.
[glibc.git] / ChangeLog.hppa
blob68eb6faf472a417fe305e67a8d7aead950ad58db
1 2012-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * sysdeps/hppa/libgcc_s.h: Remove.
4         * sysdeps/hppa/shlib-versions: Add libgcc_s.
6 2012-04-17  Carlos O'Donell  <carlos@systemhalted.org>
8         * sysdeps/hppa/dl-irel.h: New file.
10 2012-04-17  Carlos O'Donell  <carlos@systemhalted.org>
12         * sysdeps/hppa/dl-fptr.h: Add prototype for _dl_fptr_init.
13         * sysdeps/hppa/dl-fptr.c: New file.
14         * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15         Call _dl_fptr_init.
17 2012-04-17  Carlos O'Donell  <carlos@systemhalted.org>
19         * sysdeps/hppa/elf/configure: Removed file.
20         * sysdeps/hppa/elf/configure.in: Move to...
21         * sysdeps/hppa/configure.in: ... here.
22         * sysdeps/hppa/configure: Regenerate.
23         * sysdeps/hppa/elf/initfini.c: Removed file.
24         * sysdeps/hppa/crti.S: New file.
25         * sysdeps/hppa/crtn.S: New file.
26         * sysdeps/hppa/elf/entry.h: Moved to ...
27         * sysdeps/hppa/entry.h: ... here.
28         * sysdeps/hppa/elf/start.S: Move to ...
29         * sysdeps/hppa/start.S: ... here.
31 2012-03-22  Carlos O'Donell  <carlos@systemhalted.org>
33         [BZ #6730]
35         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Don't negate %r21 and
36         check for -EFAULT and -ENOSYS instead.
38 2012-03-09  Richard Henderson  <rth@twiddle.net>
40         * sysdeps/hppa/hppa1.1/s_signbit.c: Use <> to include math_private.h.
42 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
44         [BZ #13673]
45         Replace FSF snail mail address with URLs, as per GNU coding standards.
47 2012-03-03  Carlos O'Donell  <carlos@systemhalted.org>
49         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Name 
50         pthread_attr_t union.
51         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Sync from libc copy.
52         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Likewise.
54 2012-01-08  Carlos O'Donell  <carlos@systemhalted.org>
56         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h (EPOLLONESHOT)
57         (EPOLLET): Initialize with unsiged values.
59 2012-01-08  Carlos O'Donell  <carlos@systemhalted.org>
61         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Sync from libc copy.
63 2012-01-08  Carlos O'Donell  <carlos@systemhalted.org>
65         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Use const instead of __const.
66         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Likewise.
68 2011-10-21  Carlos O'Donell  <carlos@systemhalted.org>
70         * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Update copyright year.
71         Do not include signal.h and sys/ucontext.h. 
73 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
75         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Update copyright 
76         year. 
77         (PSEUDO): Define __*_nocancel version. Add CFI directives to __*_nocancel
78         and normal version.
79         (PUSHARGS_1): Add CFI directive.
80         (PUSHARGS_2): Likewise.
81         (PUSHARGS_3): Likewise.
82         (PUSHARGS_4): Likewise.
83         (PUSHARGS_5): Likewise.
84         (PUSHARGS_6): Likewise.
85         (POPARGS_1): Likewise.
86         (POPARGS_2): Likewise.
87         (POPARGS_3): Likewise.
88         (POPARGS_4): Likewise.
89         (POPARGS_5): Likewise.
90         (POPARGS_6): Likewise.
92 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
94         * sysdeps/unix/sysv/linux/hppa/linuxthreads/aio_cancel.c: Remove.
95         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/initspin.h: Remove.
96         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h: Remove.
97         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h: Remove.
98         * sysdeps/unix/sysv/linux/hppa/linuxthreads/pt-initfini.c: Remove.
99         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: Remove.
100         * sysdeps/hppa/linuxthreads/pspinlock.c: Remove.
101         * sysdeps/hppa/linuxthreads/pt-machine.h: Remove.
102         * sysdeps/hppa/linuxthreads/tls.h: Remove.
104 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
106         * sysdeps/hppa/stackinfo.h: Update copyright year.
107         Include elf.h and define DEFAULT_STACK_PERMS.
109 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
111         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Synchronize
112         with canonical fcntl.h.
114 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
116         * sysdeps/hppa/fpu/fegetenv.c: Add hidden alias.
117         * sysdeps/hppa/fpu/feupdateenv.c: Likewise.
118         * sysdeps/hppa/fpu/ftestexcept.c: Likewise.
120 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
122         * sysdeps/hppa/dl-tls.h: Update copyright year.
123         Define TLS_DTV_UNALLOCATED.
125 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
127         * sysdeps/hppa/elf/configure.in: Always test for TLS support
128         and error out if missing.
129         * sysdeps/hppa/elf/configure: Regenerate.
130         * sysdeps/hppa/configure: Regenerate.
132 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
134         * sysdeps/hppa/nptl/tls.h: Update copyright year.
135         Remove HAVE_TLS_SUPPORT check.
137 2011-10-17  Guy Martin  <gmsoft@tuxicoman.be>
139         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h
140         Fix EPOLL_CLOEXEC and EPOLL_NONBLOCK to match kernel definition.
141         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h
142         Fix EFD_CLOEXEC and EFD_NONBLOCK to match kernel definition.
143         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h
144         Fix IN_CLOEXEC and IN_NONBLOCK to match kernel definition.
145         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h
146         Fix SFD_CLOEXEC and SFD_NONBLOCK to match kernel definition.
147         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h
148         Fix TFD_CLOEXEC and TFD_NONBLOCK to match kernel definition.
150 2011-10-05  Andreas Schwab  <schwab@redhat.com>
152         * sysdeps/hppa/dl-machine.h (elf_machine_rela)
153         (elf_machine_lazy_rel): Add parameter skip_ifunc.
155 2010-06-24  Carlos O'Donell  <carlos@codesourcery.com>
157         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Only create stack
158         frame around call to SYSCALL_ERROR_HANDLER. Do not restore %rp
159         from the stack frame on successfull return.
161 2010-06-23  Carlos O'Donell  <carlos@codesourcery.com>
163         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext_ret):
164         Document that this function is a non-standard calling ABI.
165         Document register usage.
166         (__getcontext): Use normal %sp without adjustment. Use named
167         resgister %sp.
168         * sysdeps/unix/sysv/linux/hppa/makecontext.c: Remove FRAME_SIZE.
169         Define FRAME_SIZE_UL, FRAME_SIZE_BYTES, ARGS.
170         (__makecontext): Create and setup a stack frame.
171         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
172         Use named register %sp. Do not use oSS_SP.
174 2010-06-07  Andreas Schwab  <schwab@redhat.com>
176         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Update to agree
177         with generic file.
179 2010-03-30  Carlos O'Donell <carlos@codesourcery.com>
181         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Define
182         MSG_WAITFORONE.
184 2010-02-17  Matt Turner  <mattst88@gmail.com>
186         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Actually fix
187         SOCK_CLOEXEC to match O_CLOEXEC.
189 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
191         * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Define
192         MADV_MERGEABLE and MADV_UNMERGEABLE.
194 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
196         * sysdeps/hppa/nptl/tls.h (__set_cr27): Clobber
197         link register r31.
199 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
201         * sysdeps/unix/sysv/linux/hppa/makecontext.c (__makecontext):
202         Support more than 8 arguments.
204 2010-02-01  Kyle McMartin  <kyle@redhat.com>
206         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Fix value of
207         SOCK_CLOEXEC to match O_CLOEXEC.
209 2010-02-01  Carlos O'Donell  <carlos@codesourcery.com>
211         * sysdeps/unix/sysv/linux/hppa/Versions: Bump
212         errlist-compat to 257 for GLIBC_2.12.
213         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
214         (EOWNERDEAD): Define if not already defined.
215         (ENOTRECOVERABLE): Likewise.
216         (ERFKILL): Likewise.
218 2009-11-29  Carlos O'Donell  <carlos@codesourcery.com>
220         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h:
221         Rearrange file to reduce future maintenance.
222         [__USE_GNU]: Update F_GETOWN_EX, and F_SETOWN_EX.
223         Define f_owner_ex an __pid_type.
225 2009-11-25  Carlos O'Donell  <carlos@codesourcery.com>
227         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
228         Use correct alignment for pthread_mutex_t, pthread_cond_t,
229         and pthread_rwlock_t.
231 2009-11-22  Carlos O'Donell  <carlos@codesourcery.com>
233         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Avoid warnings
234         by casting oldval to int.
236 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
238         [BZ #6676]
240         * sysdeps/unix/sysv/linux/hppa/socket.h: Move from here...
241         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: ... to here.
243 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
245         * sysdeps/unix/sysv/linux/hppa/Versions (libc): Add
246         fallocate64@@GLIBC_2.11.
247         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
248         [__USE_GNU]: Define F_GETOWN_EX, and F_SETOWN_EX.
249         [!__USE_FILE_OFFSET64]: Define fallocate.
250         [__USE_FILE_OFFSET64 && __REDIRECT]: Define __REDIRECT.
251         [__USE_FILE_OFFSET64 && !__REDIRECT]: Define fallocate as
252         fallocate64.
253         [__USE_LARGEFILE64]: define fallocate64.
255 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
257         * sysdeps/hppa/dl-fptr.h: Update copyright year.
258         Reduce ELF_MACHINE_BOOT_FPTR_TABLE_LEN to 64.
259         Implement ELF_MACHINE_LOAD_ADDRESS using PC relative loads.
261 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
263         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
264         Remove FUTEX_WAITERS, FUTEX_OWNER_DIED, and FUTEX_TID_MASK.
266 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
267             Aurelian Jarno  <aurelien@aurel32.net>
269         [BZ #10527]
271         * sysdeps/unix/sysv/linux/hppa/socket.h: New file.
273 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
275         [BZ #6676]
277         * sysdeps/hppa/elf/start.S: Use R_PARISC_DLTIND* relocations
278         to support -fPIE.
280 2009-11-08  Carlos O'Donell  <carlos@codesourcery.com>
282         [BZ #10920]
284         * sysdeps/hppa/libgcc_s.h: New file.
285         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Remove.
286         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Remove.
288 2009-09-08  Carlos O'Donell  <carlos@codesourcery.com>
290         sysdeps/unix/sysv/linux/hppa/
291         * internaltypes.h: New file.
293         sysdeps/unix/sysv/linux/hppa/nptl/
294         * pthreadP.h: New file.
295         * pthread.h: New file.
296         * pthread_cond_broadcast.c: New file.
297         * pthread_cond_destroy.c: New file.
298         * pthread_cond_init.c: New file.
299         * pthread_cond_signal.c: New file.
300         * pthread_cond_timedwait.c: New file.
301         * pthread_cond_wait.c: New file.
302         * bits/pthreadtypes.h: Make pthread_mutex_t,
303         pthread_rwlock_t, and pthread_cond_t backwards
304         compatible.
306 2009-04-24  Carlos O'Donell  <carlos@codesourcery.com>
308         * sysdeps/hppa/hppa1.1/s_signbit.c: New file.
310 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
312         * sysdeps/hppa/dl-machine.h: Remove VALID_ELF_OSABI,
313         VALID_ELF_ABIVERSION, and VALID_ELF_HEADER.
315 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
317         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Do not include
318         sysdep.h. Document the reason for other includes.
320 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
322         * sysdeps/unix/sysv/linux/hppa/sysdep.h [!__ASSEMBLER__]:
323         Include errno.h.
325 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
327         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
328         Adjust comment. Sort macros alphabetically. Remove old
329         lock comments.
331 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
333         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c:
334         Update from nptl/sysdeps/pthread/unwind-forcedunwind.c
335         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c:
336         Update from nptl/sysdeps/pthread/unwind-resume.c
338 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
340         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define
341         FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME,
342         and FUTEX_BITSET_MATCH_ANY.
344 2009-02-22  Carlos O'Donell  <carlos@codesourcery.com>
346         * sysdeps/unix/sysv/linux/hppa/Versions: Add missing bracket.
348 2009-02-22  Carlos O'Donell  <carlos@codesourcery.com>
350         * sysdeps/hppa/dl-machine.h: Use _dl_runtime_profile.
352 2009-02-13  Khem Raj  <raj.khem@gmail.com>
354         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c
355         (libgcc_s_handle): New variable.
356         (pthread_cancel_init): Depend in libgcc_s_handle for decision to
357         load DSO.  Assign last.
358         (__unwind_freeres): New function.
360 2009-02-09  Arthur Loiret  <aloiret@debian.org>
362         [BZ #9717]
364         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h
365         (MALLOC): Adjust __libc_tsd_define arguments.
366         (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
367         arguments.
369 2008-08-07  Helge Deller  <deller@gmx.de>
371         * sysdeps/unix/sysv/linux/hppa/ucontext_i.sym: New file.
372         * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
373         * sysdeps/unix/sysv/linux/hppa/getcontext.S: New file.
374         * sysdeps/unix/sysv/linux/hppa/makecontext.c: New file.
375         * sysdeps/unix/sysv/linux/hppa/setcontext.S: New file.
376         * sysdeps/unix/sysv/linux/hppa/swapcontext.c: New file.
378 2008-06-17  Aurelian Jarno  <aurelien@aurel32.net>
379             Carlos O'Donell  <carlos@systemhalted.org>
381         [BZ #6037]
382         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Check for -11
383         (-EAGAIN) instead of 11. Loop again when the kernel
384         returns -45 (-EDEADLOCK). Add back memory clobber.
385         Do not initialize lws_ret and lws_errno.
387 2008-06-17  Guy Martin  <gmsoft@tuxicoman.be>
389         [BZ #5957]
390         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
391         Use shared futex in lll_wait_tid().
393 2008-05-12  Aurelien Jarno  <aurelien@aurel32.net>
395         [BZ #6506]
396         * sysdeps/hppa/fpu/fesetenv.c: bufptr is always read, temp is
397         read while writing back status word.
399 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
401         * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Fix comment describing
402         shmid_ds.
404 2008-04-04  Carlos O'Donell  <carlos@codesourcery.com>
406         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove
407         memory contraint and instead indicate that *mem is
408         written to.
410 2008-03-24  Carlos O'Donell  <carlos@codesourcery.com>
412         * sysdeps/unix/sysv/linux/hppa/sys/user.h: New file.
414 2008-03-14  Carlos O'Donell  <carlos@codesourcery.com>
415             Guy Martin <gmsoft@tuxicoman.be>
417         [BZ #5923]
418         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Pass
419         timespec and futexp.
421 2008-02-22  Carlos O'Donell  <carlos@codesourcery.com>
423         * sysdeps/unix/sysv/linux/hppa/Makefile: Remove.
424         * sysdeps/hppa/nptl/Makefile: Set tst-oddstacklimit-ENV.
426 2007-12-05  Jeff Bailey  <jeffbailey@google.com>
428         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
429         (__lll_unlock): Use define instead of inline function.
430         (__lll_robust_unlock): Likewise.
432 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
434         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
436 2007-10-18  Carlos O'Donell  <carlos@systemhalted.org>
438         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c
439         (__lll_lock_wait): Add private argument. Pass private
440         to lll_futex_wait. Use atomic_compare_and_exchange_val_acq.
441         (__lll_lock_wait_private): New function.
442         (__lll_timedlock_wait): Add private argument. Pass private
443         to lll_futex_timed_wait.
444         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
445         Include kernel-features.h and tls.h.
446         (FUTEX_WAITERS): Define.
447         (FUTEX_OWNER_DIED): Define.
448         (FUTEX_TID_MASK): Define.
449         (__lll_private_flag): Define.
450         (lll_futex_timed_wait): Use __lll_private_flag.
451         (lll_futex_wake): Use __lll_private_flag.
452         (lll_futex_requeue): Use __lll_private_flag.
453         (lll_robust_mutex_dead): Rename to...
454         (lll_robust_dead): ... this. Add private argument. Pass private
455         to lll_futex_wake.
456         (lll_futex_wake_unlock): Use __lll_private_flag.
457         (__lll_mutex_trylock): Remove.
458         (lll_mutex_tryock): Remove.
459         (__lll_robust_mutex_trylock): Rename to...
460         (__lll_robust_trylock): ... this.
461         (lll_robust_mutex_trylock): Rename to...
462         (lll_robust_trylock): ... this. Call __lll_robust_trylock.
463         (__lll_mutex_cond_trylock): Rename to...
464         (__lll_cond_trylock): ... this.
465         (lll_mutex_cond_trylock): Rename to...
466         (lll_cond_trylock): ... this. Call __lll_cond_trylock.
467         (__lll_mutex_lock): Add private argument.
468         (__lll_robust_mutex_lock): Remove.
469         (lll_mutex_lock): Define.
470         (__lll_robust_lock): Define.
471         (lll_robust_mutex_lock): Remove.
472         (__lll_mutex_cond_lock): Remove.
473         (lll_robust_lock) Define.
474         (lll_robust_cond_lock): Define.
475         (lll_robust_mutex_cond_lock): Remove.
476         (__lll_cond_lock): Define.
477         (lll_cond_lock): Define.
478         (__lll_mutex_timedlock): Remove.
479         (__lll_timedlock): Define.
480         (lll_timedlock): Define.
481         (lll_robust_mutex_timedlock): Remove.
482         (lll_robust_timedlock): Define.
483         (__lll_mutex_unlock): Remove.
484         (__lll_unlock): Define.
485         (__lll_robust_mutex_unlock): Remove.
486         (__lll_robust_unlock): Define.
487         (lll_robust_mutex_unlock): Remove.
488         (lll_robust_unlock): Define.
489         (__lll_mutex_unlock_force): Remove.
490         (lll_mutex_unlock_force): Remove.
491         (lll_islocked): Remove.
492         (lll_mutex_islocked): Rename to...
493         (lll_islocked): ... this.
494         (lll_trylock): Remove.
495         (lll_unlock): Remove.
496         (lll_wait_tid): Format whitespace.
497         (lll_cond_wait): Remove.
498         (lll_cond_timedwait): Remove.
499         (lll_cond_wake): Remove.
500         (lll_cond_broadcast): Remove.
502 2007-10-17  Carlos O'Donell  <carlos@systemhalted.org>
504         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Correct return value
505         type and __THROW marker of splice, vmsplice, and tee.
507 2007-09-24  Carlos O'Donell  <carlos@systemhalted.org>
509         * sysdeps/hppa/nptl/tls.h: Fix comment.
510         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Fix comment format.
511         [__USE_GNU] (O_CLOEXEC): Define.
512         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Issue error
513         if the library is unsupported.
514         [ASSEMBLER && IS_IN_librt]: Define CENABLE, CDISABLE, and
515         __local_multiple_threads.
517 2007-08-03  Aurelien Jarno  <aurelien@aurel32.net>
519         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h:
520         (__local_multiple_threads): Declare as hidden only in libc and
521         in libpthread.
523 2007-07-28  Carlos O'Donell  <carlos@systemhalted.org>
525         * sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Remove.
526         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
527         (pthread_rwlock_t): Split __flags into __pad2, __pad1, __shared,
528         and __flags. Update comments. Update copyright.
529         * sysdeps/hppa/nptl/tls.h: Define THREAD_GSCOPE_FLAG_UNUSED,
530         THREAD_GSCOPE_FLAG_USED, THREAD_GSOPE_FLAG_WAIT,
531         THREAD_GSCOPE_RSEET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_WAIT.
532         Update copyright.
533         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Update copyright.
534         (__lll_lock_wait): Call lll_futex_wait with LLL_SHARED.
535         (__lll_timedlock_wait): Call lll_futex_timed_wait with LLL_SHARED.
536         (lll_unlock_Wake_cb): Use lll_private_futex_wake.
537         (___lll_timedwait_tid): Call lll_futex_timed_wait with LLL_SAHRED.
538         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define
539         FUTEX_PRIVATE_FLAG, LLL_PRIVATE, LLL_SHARED, lll_private_futex_wait,
540         lll_private_futex_timed_wait, lll_private_Futex_wake. Add private
541         argument to lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
542         lll_futex_wake_unlock.
543         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Update copyright.
544         (clear_once_control): Use lll_private_futex_wake.
545         (__pthread_once): Use lll_private_futex_wait, and
546         lll_private_futex_wake.
548 2007-07-28  Randolph Chung  <tausq@debian.org>
550         * sysdeps/hppa/nptl/tls.h (DB_THREAD_SELF): Fix definition.
552 2007-06-16  Jeff Bailey  <jbailey@raspberryginger.com>
554         * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Don't
555         include asm/elf.h.  Declare elf_greg_t, elf_gregset_t,
556         elf_fpreg_t, and elf_fpregset_t.
558 2007-06-16  Jeff Bailey  <jbailey@raspberryginger.com>
560         * sysdeps/unix/sysv/linux/hppa/nptl/configure.in: Require
561         at least kernel 2.6.9.
562         * sysdeps/unix/sysv/linux/hppa/nptl/configure: Rebuilt.
564 2007-05-17  Carlos O'Donell  <carlos@systemhalted.org>
566         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h
567         (SEM_VALUE_MAX): Remove.
569 2007-05-17  Carlos O'Donell  <carlos@systemhalted.org>
571         * sysdeps/unix/sysv/linux/hppa/sysdep.h (PIC_REG_DEF): Define.
572         (PIC_REG_USE): Define.
573         (INLINE_SYSCALL): Use PIC_REG_DEF, PIC_REG_USE.
574         (INTERNAL_SYSCALL): Likewise.
575         (INTERNAL_SYSCALL_NCS): Likewise.
576         * sysdeps/unix/sysv/linux/hppa/sysdep.c (syscall): Use
577         PIC_REG_DEF, PIC_REG_USE.
579 2007-05-01  Carlos O'Donell  <carlos@systemhalted.org>
581         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h
582         [__USE_XOPEN2K]: Define pthread_rwlock_t and
583         pthread_rwlockattr_t.
585 2007-02-02  Carlos O'Donell  <carlos@systemhalted.org>
587         * sysdeps/unix/sysv/linux/hppa/sysdep.h (PTR_MANGLE): Define.
588         (PTR_DEMANGLE): Define.
590 2007-02-02  Guy Martin  <gmsoft@tuxicoman.be>
592         * sysdeps/hppa/dl-trampoline.S (_dl_runtime_profile):
593         Add cfi_endproc.
595 2006-12-03  Carlos O'Donell  <carlos@systemhalted.org>
597         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove non-atomic
598         versions. Adjust jump target to '0b'.
600 2006-12-03  Carlos O'Donell  <carlos@systemhalted.org>
602         * sysdeps/hppa/Makefile: Set long-double-fcts to `no'.
603         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
604         * sysdeps/hppa/fpu/bits/mathdef.h: New file.
606 2006-11-10  Carlos O'Donell  <carlos@systemhalted.org>
608         * sysdeps/hppa/nptl/pthread_spin_init.c: New file.
609         * sysdeps/hppa/nptl/pthread_spin_unlock.c: Remove strong alias
610         to pthread_spin_init.
611         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Define
612         RTLD_SINGLE_THREAD_P.
614 2006-09-20  Carlos O'Donell  <carlos@systemhalted.org>
616         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (splice): Add offin
617         and offout arguments to the prototype.
619 2006-09-15  Carlos O'Donell  <carlos@systemhalted.org>
621         * sysdeps/hppa/nptl/tcb-offsets.sym: Define TID_THREAD_OFFSET.
622         * sysdeps/unix/sysv/linux/hppa/clone.S: Handle RESET_PID, and
623         restore r19 before call to _exit.
624         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: New file.
626 2006-09-13  Carlos O'Donell  <carlos@systemhalted.org>
628         * sysdeps/hppa/dl-machine.h (RTLD_START): Comment the use of
629         _dl_fini_plabel.
630         * sysdeps/hppa/elf/start.S: Correctly pass r23 to argument 6 of
631         __libc_start_main. Comment the order of arguments at entry and
632         those to __libc_start_main.
634 2006-09-07  Carlos O'Donell  <carlos@systemhalted.org>
636         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Remove
637         lvalue cast.
638         * sysdeps/hppa/dl-trampoline.S (_dl_fixup): Correct stack usage.
639         (_dl_runtime_profile): LA fixups.
640         * sysdeps/unix/sysv/linux/hppa/clone.S: Correct stack usage. Return
641         -1 on error. Use branch and link for error handler funciton.
642         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Correct stack usage.
643         Avoid register shuffling.
644         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (ASM_EAGAIN): Define
645         as -EAGAIN.
646         * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Adjust definitions to
647         match required standards.
648         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
649         (lll_futex_wait): Return __ret.
650         (lll_futex_timed_wait): Likewise.
651         (lll_futex_wake): Likewise.
652         (lll_futex_requeue): Likewise.
653         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Correct stack
654         usage and adjust error return.
655         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Adjust
656         stack usage for gdb, and avoid extra register loads.
657         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Copy
658         nptl/sysdeps/pthread/unwind-forcedunwind.c.
659         (LIBGCC_SO): Define and use.
660         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Copy
661         nptl/sysdeps/pthread/unwind-resume.c.
662         (LIBGCC_SO): Define and use.
664 2006-08-13  Carlos O'Donell  <carlos@systemhalted.org>
666         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h (FUTEX_LOCK_PI,
667         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
669 2006-07-24  Carlos O'Donell  <carlos@systemhalted.org>
671         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
672         __SIZEOF_PTHREAD_COND_T is 64 bytes. Remove __PAD_ATOMIC_LOCK_T.
674 2006-07-18  Carlos O'Donell  <carlos@systemhalted.org>
676         * sysdeps/hppa/nptl/pthread_spin_lock.c (pthread_spin_lock): Swap
677         newval and oldval.
678         * sysdeps/hppa/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
679         Likewise.
681 2006-07-16  Jeff Bailey  <jbailey@ubuntu.com>
683         * sysdeps/hppa/tst-audit.h: New file.
685 2006-07-16  Carlos O'Donell  <carlos@systemhalted.org>
687         * sysdeps/hppa/tls-macros.h: Cleanup formatting.
689 2006-07-15  Jeff Bailey  <jbailey@ubuntu.com>
691         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Return NULL.
693 2006-07-13  Carlos O'Donell  <carlos@systemhalted.org>
695         * sysdeps/unix/sysv/linux/hppa/xstat.c: New file.
696         * sysdeps/unix/sysv/linux/hppa/lxstat.c: Likewise.
697         * sysdeps/unix/sysv/linux/hppa/fxstat.c: Likewise.
698         * sysdeps/unix/sysv/linux/hppa/fxstatat.c: Likewise.
700 2006-07-13  Carlos O'Donell  <carlos@systemhalted.org>
702         * sysdeps/hppa/nptl/Makefile: New file
703         * sysdeps/hppa/nptl/jmpbuf-unwind.h: Likewise
704         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise
705         * sysdeps/hppa/nptl/pthread_spin_trylock.c: Likewise
706         * sysdeps/hppa/nptl/pthread_spin_unlock.c: Likewise
707         * sysdeps/hppa/nptl/pthreaddef.h: Likewise
708         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise
709         * sysdeps/hppa/nptl/tls.h: Likewise
710         * sysdeps/unix/sysv/linux/hppa/nptl/bits: Likewise
711         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: Likewise
712         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: Likewise
713         * sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Likewise
714         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: Likewise
715         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Likewise
716         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise
717         * sysdeps/unix/sysv/linux/hppa/nptl/pt-initfini.c: Likewise
718         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Likewise
719         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Likewise
720         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise
721         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Likewise
722         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Likewise
724 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
726         * sysdeps/unix/sysv/linux/hppa/Versions: new errlist compat entry
727         for up to 256 errnos
729 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
731         * sysdeps/hppa/hppa1.1/Implies: Remove ieee754/ldbl-128.
732         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
733         [__LINUX_KERNEL_VERSION >= 0x020609]: Define __ASSUME_LWS_CAS.
734         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: New file.
736 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
738         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Reformat
739         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
740         Define.
742 2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
744         * sysdeps/unix/sysv/linux/hppa/clone.S: .LerrorRest
745         is a label.
747 2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
749         * sysdeps/hppa/ldsodefs.h: New file.
750         * sysdeps/unix/sysv/linux/hppa/bits/mman.h:
751         Only define MADV_* macros when __USE_BSD is present.
752         (MADV_REMOVE, MADV_DONTFORK, MADV_DOFORK): Define.
754 2006-05-15  Carlos O'Donell  <carlos@systemhalted.org>
756         * sysdeps/unix/sysv/linux/hppa/clone.S: Accept extra arguments
757         required for NPTL.
758         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Use var args for 6 arg
759         syscall.
760         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Move DOARGS and UNDOARGS
761         into PSEUDO_*'s.
762         (ENTRY_LEAF): Define.
763         (PSEUDO_NOERRNO, PSEUDO_ERRVAL): Use ENTRY_LEAF.
764         (DO_CALL): Create frame.
766 2006-05-15  Carlos O'Donell  <carlos@systemhalted.org>
768         * sysdeps/hppa/dl-machine.h: Include tls.h
769         (elf_machine_fixup_plt): Returns fdesc.
770         (elf_machine_profile_fixup_plt): Remove.
771         (elf_machine_plt_value): Returns fdesc.
772         (elf_machine_runtime_setup): Check that dl_profile != NULL.
773         (ARCH_LA_PLTENT, ARCH_LA_PLTEXIT): Define.
774         (RTLD_START): Use iitlbp with sr0.
775         (elf_machine_type_class): Include TLS relocs.
776         (reassemble_21, reassemble_14): Define.
777         (elf_machine_rela): Add DIR21L, DIR14R, PLABEL21L, PLABEL14R,
778         TLS_DTPMOD32, TLS_TPREL32, TLS_DTPOFF32 support.
779         (TRAMPOLINE_TEMPLATE): Move to ...
780         * sysdeps/hppa/dl-trampoline.S: ... here.
781         * sysdeps/hppa/abort-instr.h: Use iitlbp with sr0.
782         * sysdeps/hppa/dl-lookupcfg.h: Inlcude dl-fptr.h.
783         (DL_FIXUP_VALUE_TYPE, DL_FIXUP_MAKE_VALUE, DL_FIXUP_VALUE_CODE_ADDR,
784         DL_FIXUP_VALUE_ADD, DL_FIXUP_ADDR_VALUE): Define.
785         * sysdeps/hppa/sysdep.h: Use "!" as a separator. Cleanup comments.
786         * sysdeps/hppa/bits/link.h (La_hppa_regs, La_hppa_retval): Define.
787         Define prototypes for la_hppa_gnu_pltenter and la_hppa_gnu_pltexit.
789 2006-04-27  Carlos O'Donell  <carlos@systemhalted.org>
791         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Include uio.h, and
792         define vmsplice.
794 2006-04-21  Carlos O'Donell  <carlos@systemhalted.org>
796         * sysdeps/hppa/dl-tls.h: New file
797         * sysdeps/hppa/libc-tls.c: Likewise.
798         * sysdeps/hppa/tls-macros.h: Likewise.
799         * sysdeps/hppa/elf/configure: Likewise.
800         * sysdeps/hppa/elf/configure.in: Likewise.
802 2006-04-20  Carlos O'Donell  <carlos@systemhalted.org>
804         * sysdeps/hppa/fpu/fclrexcpt.c (feclearexcept): Use union to
805         align parameters. Specify memory clobbers.
806         * sysdeps/hppa/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
807         * sysdeps/hppa/fpu/feenablxcpt.c (feenableexcept): Likewise.
808         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Do not save exception
809         register. Use memcpy to align buffer.
810         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Store and reload
811         fr0. Use union to align parameters.
812         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
813         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Do not save
814         exception registers. Define libm_hidden_def.
815         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Do not save exception
816         registers.
817         * sysdeps/hppa/fpu/fesetround.c (fesetround): Use union to
818         align parameters, speficy memory clobbers. Define libm_hidde_def
819         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Use union to align
820         parameters. Use memcpy to align buffer.
821         * sysdeps/hppa/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
822         * sysdeps/hppa/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
823         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
824         * sysdeps/hppa/fpu/libm-test-ulps: Update.
825         * sysdeps/hppa/fpu/bits/fenv.h: Add ABI comments.
827 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
829         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]:
830         Define MMAP_FIXED.
831         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_GNU]:
832         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE,
833         SYNC_FILE_RANGE_WAIT_AFTER, sync_file_range, splice, tee.
835 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
837         * sysdeps/unix/sysv/linux/hppa/kernel-features.h: New file.
839 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
841         * sysdeps/hppa/linuxthreads/pspinlock.c: New file.
842         * sysdeps/hppa/linuxthreads/pt-machine.h: Likewise.
843         * sysdeps/hppa/linuxthreads/tls.h: Likewise.
844         * sysdeps/unix/sysv/linux/hppa/linuxthreads/aio_cancel.c: Likewise.
845         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h:
846         Likewise.
847         * sysdeps/unix/sysv/linux/hppa/linuxthreads/pt-initfini.c: Likewise.
848         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: Likewise.
849         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/initspin.h: Likewise.
850         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h:
851         Likewise.
853 2006-02-28  Roland McGrath  <roland@redhat.com>
855         * sysdeps/hppa/shlib-versions: New file.
856         * sysdeps/hppa/preconfigure: New file.