linux-generic: add <bits/msq.h> and <bits/shm.h>.
[glibc.git] / ChangeLog.hppa
blobbe3a951a8575ef7a3fc871e19d41cec68ff9f3a5
1 2011-10-21  Carlos O'Donell  <carlos@systemhalted.org>
3         * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Update copyright year.
4         Do not include signal.h and sys/ucontext.h. 
6 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
8         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Update copyright 
9         year. 
10         (PSEUDO): Define __*_nocancel version. Add CFI directives to __*_nocancel
11         and normal version.
12         (PUSHARGS_1): Add CFI directive.
13         (PUSHARGS_2): Likewise.
14         (PUSHARGS_3): Likewise.
15         (PUSHARGS_4): Likewise.
16         (PUSHARGS_5): Likewise.
17         (PUSHARGS_6): Likewise.
18         (POPARGS_1): Likewise.
19         (POPARGS_2): Likewise.
20         (POPARGS_3): Likewise.
21         (POPARGS_4): Likewise.
22         (POPARGS_5): Likewise.
23         (POPARGS_6): Likewise.
25 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
27         * sysdeps/unix/sysv/linux/hppa/linuxthreads/aio_cancel.c: Remove.
28         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/initspin.h: Remove.
29         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h: Remove.
30         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h: Remove.
31         * sysdeps/unix/sysv/linux/hppa/linuxthreads/pt-initfini.c: Remove.
32         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: Remove.
33         * sysdeps/hppa/linuxthreads/pspinlock.c: Remove.
34         * sysdeps/hppa/linuxthreads/pt-machine.h: Remove.
35         * sysdeps/hppa/linuxthreads/tls.h: Remove.
37 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
39         * sysdeps/hppa/stackinfo.h: Update copyright year.
40         Include elf.h and define DEFAULT_STACK_PERMS.
42 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
44         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Synchronize
45         with canonical fcntl.h.
47 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
49         * sysdeps/hppa/fpu/fegetenv.c: Add hidden alias.
50         * sysdeps/hppa/fpu/feupdateenv.c: Likewise.
51         * sysdeps/hppa/fpu/ftestexcept.c: Likewise.
53 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
55         * sysdeps/hppa/dl-tls.h: Update copyright year.
56         Define TLS_DTV_UNALLOCATED.
58 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
60         * sysdeps/hppa/elf/configure.in: Always test for TLS support
61         and error out if missing.
62         * sysdeps/hppa/elf/configure: Regenerate.
63         * sysdeps/hppa/configure: Regenerate.
65 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
67         * sysdeps/hppa/nptl/tls.h: Update copyright year.
68         Remove HAVE_TLS_SUPPORT check.
70 2011-10-17  Guy Martin  <gmsoft@tuxicoman.be>
72         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h
73         Fix EPOLL_CLOEXEC and EPOLL_NONBLOCK to match kernel definition.
74         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h
75         Fix EFD_CLOEXEC and EFD_NONBLOCK to match kernel definition.
76         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h
77         Fix IN_CLOEXEC and IN_NONBLOCK to match kernel definition.
78         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h
79         Fix SFD_CLOEXEC and SFD_NONBLOCK to match kernel definition.
80         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h
81         Fix TFD_CLOEXEC and TFD_NONBLOCK to match kernel definition.
83 2011-10-05  Andreas Schwab  <schwab@redhat.com>
85         * sysdeps/hppa/dl-machine.h (elf_machine_rela)
86         (elf_machine_lazy_rel): Add parameter skip_ifunc.
88 2010-06-24  Carlos O'Donell  <carlos@codesourcery.com>
90         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Only create stack
91         frame around call to SYSCALL_ERROR_HANDLER. Do not restore %rp
92         from the stack frame on successfull return.
94 2010-06-23  Carlos O'Donell  <carlos@codesourcery.com>
96         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext_ret):
97         Document that this function is a non-standard calling ABI.
98         Document register usage.
99         (__getcontext): Use normal %sp without adjustment. Use named
100         resgister %sp.
101         * sysdeps/unix/sysv/linux/hppa/makecontext.c: Remove FRAME_SIZE.
102         Define FRAME_SIZE_UL, FRAME_SIZE_BYTES, ARGS.
103         (__makecontext): Create and setup a stack frame.
104         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
105         Use named register %sp. Do not use oSS_SP.
107 2010-06-07  Andreas Schwab  <schwab@redhat.com>
109         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Update to agree
110         with generic file.
112 2010-03-30  Carlos O'Donell <carlos@codesourcery.com>
114         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Define
115         MSG_WAITFORONE.
117 2010-02-17  Matt Turner  <mattst88@gmail.com>
119         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Actually fix
120         SOCK_CLOEXEC to match O_CLOEXEC.
122 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
124         * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Define
125         MADV_MERGEABLE and MADV_UNMERGEABLE.
127 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
129         * sysdeps/hppa/nptl/tls.h (__set_cr27): Clobber
130         link register r31.
132 2010-02-02  Carlos O'Donell  <carlos@codesourcery.com>
134         * sysdeps/unix/sysv/linux/hppa/makecontext.c (__makecontext):
135         Support more than 8 arguments.
137 2010-02-01  Kyle McMartin  <kyle@redhat.com>
139         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Fix value of
140         SOCK_CLOEXEC to match O_CLOEXEC.
142 2010-02-01  Carlos O'Donell  <carlos@codesourcery.com>
144         * sysdeps/unix/sysv/linux/hppa/Versions: Bump
145         errlist-compat to 257 for GLIBC_2.12.
146         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
147         (EOWNERDEAD): Define if not already defined.
148         (ENOTRECOVERABLE): Likewise.
149         (ERFKILL): Likewise.
151 2009-11-29  Carlos O'Donell  <carlos@codesourcery.com>
153         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h:
154         Rearrange file to reduce future maintenance.
155         [__USE_GNU]: Update F_GETOWN_EX, and F_SETOWN_EX.
156         Define f_owner_ex an __pid_type.
158 2009-11-25  Carlos O'Donell  <carlos@codesourcery.com>
160         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
161         Use correct alignment for pthread_mutex_t, pthread_cond_t,
162         and pthread_rwlock_t.
164 2009-11-22  Carlos O'Donell  <carlos@codesourcery.com>
166         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Avoid warnings
167         by casting oldval to int.
169 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
171         [BZ #6676]
173         * sysdeps/unix/sysv/linux/hppa/socket.h: Move from here...
174         * sysdeps/unix/sysv/linux/hppa/bits/socket.h: ... to here.
176 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
178         * sysdeps/unix/sysv/linux/hppa/Versions (libc): Add
179         fallocate64@@GLIBC_2.11.
180         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h
181         [__USE_GNU]: Define F_GETOWN_EX, and F_SETOWN_EX.
182         [!__USE_FILE_OFFSET64]: Define fallocate.
183         [__USE_FILE_OFFSET64 && __REDIRECT]: Define __REDIRECT.
184         [__USE_FILE_OFFSET64 && !__REDIRECT]: Define fallocate as
185         fallocate64.
186         [__USE_LARGEFILE64]: define fallocate64.
188 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
190         * sysdeps/hppa/dl-fptr.h: Update copyright year.
191         Reduce ELF_MACHINE_BOOT_FPTR_TABLE_LEN to 64.
192         Implement ELF_MACHINE_LOAD_ADDRESS using PC relative loads.
194 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
196         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
197         Remove FUTEX_WAITERS, FUTEX_OWNER_DIED, and FUTEX_TID_MASK.
199 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
200             Aurelian Jarno  <aurelien@aurel32.net>
202         [BZ #10527]
204         * sysdeps/unix/sysv/linux/hppa/socket.h: New file.
206 2009-11-15  Carlos O'Donell  <carlos@codesourcery.com>
208         [BZ #6676]
210         * sysdeps/hppa/elf/start.S: Use R_PARISC_DLTIND* relocations
211         to support -fPIE.
213 2009-11-08  Carlos O'Donell  <carlos@codesourcery.com>
215         [BZ #10920]
217         * sysdeps/hppa/libgcc_s.h: New file.
218         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Remove.
219         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Remove.
221 2009-09-08  Carlos O'Donell  <carlos@codesourcery.com>
223         sysdeps/unix/sysv/linux/hppa/
224         * internaltypes.h: New file.
226         sysdeps/unix/sysv/linux/hppa/nptl/
227         * pthreadP.h: New file.
228         * pthread.h: New file.
229         * pthread_cond_broadcast.c: New file.
230         * pthread_cond_destroy.c: New file.
231         * pthread_cond_init.c: New file.
232         * pthread_cond_signal.c: New file.
233         * pthread_cond_timedwait.c: New file.
234         * pthread_cond_wait.c: New file.
235         * bits/pthreadtypes.h: Make pthread_mutex_t,
236         pthread_rwlock_t, and pthread_cond_t backwards
237         compatible.
239 2009-04-24  Carlos O'Donell  <carlos@codesourcery.com>
241         * sysdeps/hppa/hppa1.1/s_signbit.c: New file.
243 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
245         * sysdeps/hppa/dl-machine.h: Remove VALID_ELF_OSABI,
246         VALID_ELF_ABIVERSION, and VALID_ELF_HEADER.
248 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
250         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Do not include
251         sysdep.h. Document the reason for other includes.
253 2009-04-23  Carlos O'Donell  <carlos@codesourcery.com>
255         * sysdeps/unix/sysv/linux/hppa/sysdep.h [!__ASSEMBLER__]:
256         Include errno.h.
258 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
260         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
261         Adjust comment. Sort macros alphabetically. Remove old
262         lock comments.
264 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
266         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c:
267         Update from nptl/sysdeps/pthread/unwind-forcedunwind.c
268         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c:
269         Update from nptl/sysdeps/pthread/unwind-resume.c
271 2009-02-25  Carlos O'Donell  <carlos@codesourcery.com>
273         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define
274         FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME,
275         and FUTEX_BITSET_MATCH_ANY.
277 2009-02-22  Carlos O'Donell  <carlos@codesourcery.com>
279         * sysdeps/unix/sysv/linux/hppa/Versions: Add missing bracket.
281 2009-02-22  Carlos O'Donell  <carlos@codesourcery.com>
283         * sysdeps/hppa/dl-machine.h: Use _dl_runtime_profile.
285 2009-02-13  Khem Raj  <raj.khem@gmail.com>
287         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c
288         (libgcc_s_handle): New variable.
289         (pthread_cancel_init): Depend in libgcc_s_handle for decision to
290         load DSO.  Assign last.
291         (__unwind_freeres): New function.
293 2009-02-09  Arthur Loiret  <aloiret@debian.org>
295         [BZ #9717]
297         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h
298         (MALLOC): Adjust __libc_tsd_define arguments.
299         (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
300         arguments.
302 2008-08-07  Helge Deller  <deller@gmx.de>
304         * sysdeps/unix/sysv/linux/hppa/ucontext_i.sym: New file.
305         * sysdeps/unix/sysv/linux/hppa/Makefile: New file.
306         * sysdeps/unix/sysv/linux/hppa/getcontext.S: New file.
307         * sysdeps/unix/sysv/linux/hppa/makecontext.c: New file.
308         * sysdeps/unix/sysv/linux/hppa/setcontext.S: New file.
309         * sysdeps/unix/sysv/linux/hppa/swapcontext.c: New file.
311 2008-06-17  Aurelian Jarno  <aurelien@aurel32.net>
312             Carlos O'Donell  <carlos@systemhalted.org>
314         [BZ #6037]
315         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Check for -11
316         (-EAGAIN) instead of 11. Loop again when the kernel
317         returns -45 (-EDEADLOCK). Add back memory clobber.
318         Do not initialize lws_ret and lws_errno.
320 2008-06-17  Guy Martin  <gmsoft@tuxicoman.be>
322         [BZ #5957]
323         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
324         Use shared futex in lll_wait_tid().
326 2008-05-12  Aurelien Jarno  <aurelien@aurel32.net>
328         [BZ #6506]
329         * sysdeps/hppa/fpu/fesetenv.c: bufptr is always read, temp is
330         read while writing back status word.
332 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
334         * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Fix comment describing
335         shmid_ds.
337 2008-04-04  Carlos O'Donell  <carlos@codesourcery.com>
339         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove
340         memory contraint and instead indicate that *mem is
341         written to.
343 2008-03-24  Carlos O'Donell  <carlos@codesourcery.com>
345         * sysdeps/unix/sysv/linux/hppa/sys/user.h: New file.
347 2008-03-14  Carlos O'Donell  <carlos@codesourcery.com>
348             Guy Martin <gmsoft@tuxicoman.be>
350         [BZ #5923]
351         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Pass
352         timespec and futexp.
354 2008-02-22  Carlos O'Donell  <carlos@codesourcery.com>
356         * sysdeps/unix/sysv/linux/hppa/Makefile: Remove.
357         * sysdeps/hppa/nptl/Makefile: Set tst-oddstacklimit-ENV.
359 2007-12-05  Jeff Bailey  <jeffbailey@google.com>
361         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
362         (__lll_unlock): Use define instead of inline function.
363         (__lll_robust_unlock): Likewise.
365 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
367         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
369 2007-10-18  Carlos O'Donell  <carlos@systemhalted.org>
371         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c
372         (__lll_lock_wait): Add private argument. Pass private
373         to lll_futex_wait. Use atomic_compare_and_exchange_val_acq.
374         (__lll_lock_wait_private): New function.
375         (__lll_timedlock_wait): Add private argument. Pass private
376         to lll_futex_timed_wait.
377         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
378         Include kernel-features.h and tls.h.
379         (FUTEX_WAITERS): Define.
380         (FUTEX_OWNER_DIED): Define.
381         (FUTEX_TID_MASK): Define.
382         (__lll_private_flag): Define.
383         (lll_futex_timed_wait): Use __lll_private_flag.
384         (lll_futex_wake): Use __lll_private_flag.
385         (lll_futex_requeue): Use __lll_private_flag.
386         (lll_robust_mutex_dead): Rename to...
387         (lll_robust_dead): ... this. Add private argument. Pass private
388         to lll_futex_wake.
389         (lll_futex_wake_unlock): Use __lll_private_flag.
390         (__lll_mutex_trylock): Remove.
391         (lll_mutex_tryock): Remove.
392         (__lll_robust_mutex_trylock): Rename to...
393         (__lll_robust_trylock): ... this.
394         (lll_robust_mutex_trylock): Rename to...
395         (lll_robust_trylock): ... this. Call __lll_robust_trylock.
396         (__lll_mutex_cond_trylock): Rename to...
397         (__lll_cond_trylock): ... this.
398         (lll_mutex_cond_trylock): Rename to...
399         (lll_cond_trylock): ... this. Call __lll_cond_trylock.
400         (__lll_mutex_lock): Add private argument.
401         (__lll_robust_mutex_lock): Remove.
402         (lll_mutex_lock): Define.
403         (__lll_robust_lock): Define.
404         (lll_robust_mutex_lock): Remove.
405         (__lll_mutex_cond_lock): Remove.
406         (lll_robust_lock) Define.
407         (lll_robust_cond_lock): Define.
408         (lll_robust_mutex_cond_lock): Remove.
409         (__lll_cond_lock): Define.
410         (lll_cond_lock): Define.
411         (__lll_mutex_timedlock): Remove.
412         (__lll_timedlock): Define.
413         (lll_timedlock): Define.
414         (lll_robust_mutex_timedlock): Remove.
415         (lll_robust_timedlock): Define.
416         (__lll_mutex_unlock): Remove.
417         (__lll_unlock): Define.
418         (__lll_robust_mutex_unlock): Remove.
419         (__lll_robust_unlock): Define.
420         (lll_robust_mutex_unlock): Remove.
421         (lll_robust_unlock): Define.
422         (__lll_mutex_unlock_force): Remove.
423         (lll_mutex_unlock_force): Remove.
424         (lll_islocked): Remove.
425         (lll_mutex_islocked): Rename to...
426         (lll_islocked): ... this.
427         (lll_trylock): Remove.
428         (lll_unlock): Remove.
429         (lll_wait_tid): Format whitespace.
430         (lll_cond_wait): Remove.
431         (lll_cond_timedwait): Remove.
432         (lll_cond_wake): Remove.
433         (lll_cond_broadcast): Remove.
435 2007-10-17  Carlos O'Donell  <carlos@systemhalted.org>
437         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Correct return value
438         type and __THROW marker of splice, vmsplice, and tee.
440 2007-09-24  Carlos O'Donell  <carlos@systemhalted.org>
442         * sysdeps/hppa/nptl/tls.h: Fix comment.
443         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Fix comment format.
444         [__USE_GNU] (O_CLOEXEC): Define.
445         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Issue error
446         if the library is unsupported.
447         [ASSEMBLER && IS_IN_librt]: Define CENABLE, CDISABLE, and
448         __local_multiple_threads.
450 2007-08-03  Aurelien Jarno  <aurelien@aurel32.net>
452         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h:
453         (__local_multiple_threads): Declare as hidden only in libc and
454         in libpthread.
456 2007-07-28  Carlos O'Donell  <carlos@systemhalted.org>
458         * sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Remove.
459         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
460         (pthread_rwlock_t): Split __flags into __pad2, __pad1, __shared,
461         and __flags. Update comments. Update copyright.
462         * sysdeps/hppa/nptl/tls.h: Define THREAD_GSCOPE_FLAG_UNUSED,
463         THREAD_GSCOPE_FLAG_USED, THREAD_GSOPE_FLAG_WAIT,
464         THREAD_GSCOPE_RSEET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_WAIT.
465         Update copyright.
466         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Update copyright.
467         (__lll_lock_wait): Call lll_futex_wait with LLL_SHARED.
468         (__lll_timedlock_wait): Call lll_futex_timed_wait with LLL_SHARED.
469         (lll_unlock_Wake_cb): Use lll_private_futex_wake.
470         (___lll_timedwait_tid): Call lll_futex_timed_wait with LLL_SAHRED.
471         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define
472         FUTEX_PRIVATE_FLAG, LLL_PRIVATE, LLL_SHARED, lll_private_futex_wait,
473         lll_private_futex_timed_wait, lll_private_Futex_wake. Add private
474         argument to lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
475         lll_futex_wake_unlock.
476         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Update copyright.
477         (clear_once_control): Use lll_private_futex_wake.
478         (__pthread_once): Use lll_private_futex_wait, and
479         lll_private_futex_wake.
481 2007-07-28  Randolph Chung  <tausq@debian.org>
483         * sysdeps/hppa/nptl/tls.h (DB_THREAD_SELF): Fix definition.
485 2007-06-16  Jeff Bailey  <jbailey@raspberryginger.com>
487         * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Don't
488         include asm/elf.h.  Declare elf_greg_t, elf_gregset_t,
489         elf_fpreg_t, and elf_fpregset_t.
491 2007-06-16  Jeff Bailey  <jbailey@raspberryginger.com>
493         * sysdeps/unix/sysv/linux/hppa/nptl/configure.in: Require
494         at least kernel 2.6.9.
495         * sysdeps/unix/sysv/linux/hppa/nptl/configure: Rebuilt.
497 2007-05-17  Carlos O'Donell  <carlos@systemhalted.org>
499         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h
500         (SEM_VALUE_MAX): Remove.
502 2007-05-17  Carlos O'Donell  <carlos@systemhalted.org>
504         * sysdeps/unix/sysv/linux/hppa/sysdep.h (PIC_REG_DEF): Define.
505         (PIC_REG_USE): Define.
506         (INLINE_SYSCALL): Use PIC_REG_DEF, PIC_REG_USE.
507         (INTERNAL_SYSCALL): Likewise.
508         (INTERNAL_SYSCALL_NCS): Likewise.
509         * sysdeps/unix/sysv/linux/hppa/sysdep.c (syscall): Use
510         PIC_REG_DEF, PIC_REG_USE.
512 2007-05-01  Carlos O'Donell  <carlos@systemhalted.org>
514         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h
515         [__USE_XOPEN2K]: Define pthread_rwlock_t and
516         pthread_rwlockattr_t.
518 2007-02-02  Carlos O'Donell  <carlos@systemhalted.org>
520         * sysdeps/unix/sysv/linux/hppa/sysdep.h (PTR_MANGLE): Define.
521         (PTR_DEMANGLE): Define.
523 2007-02-02  Guy Martin  <gmsoft@tuxicoman.be>
525         * sysdeps/hppa/dl-trampoline.S (_dl_runtime_profile):
526         Add cfi_endproc.
528 2006-12-03  Carlos O'Donell  <carlos@systemhalted.org>
530         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove non-atomic
531         versions. Adjust jump target to '0b'.
533 2006-12-03  Carlos O'Donell  <carlos@systemhalted.org>
535         * sysdeps/hppa/Makefile: Set long-double-fcts to `no'.
536         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
537         * sysdeps/hppa/fpu/bits/mathdef.h: New file.
539 2006-11-10  Carlos O'Donell  <carlos@systemhalted.org>
541         * sysdeps/hppa/nptl/pthread_spin_init.c: New file.
542         * sysdeps/hppa/nptl/pthread_spin_unlock.c: Remove strong alias
543         to pthread_spin_init.
544         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Define
545         RTLD_SINGLE_THREAD_P.
547 2006-09-20  Carlos O'Donell  <carlos@systemhalted.org>
549         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (splice): Add offin
550         and offout arguments to the prototype.
552 2006-09-15  Carlos O'Donell  <carlos@systemhalted.org>
554         * sysdeps/hppa/nptl/tcb-offsets.sym: Define TID_THREAD_OFFSET.
555         * sysdeps/unix/sysv/linux/hppa/clone.S: Handle RESET_PID, and
556         restore r19 before call to _exit.
557         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: New file.
559 2006-09-13  Carlos O'Donell  <carlos@systemhalted.org>
561         * sysdeps/hppa/dl-machine.h (RTLD_START): Comment the use of
562         _dl_fini_plabel.
563         * sysdeps/hppa/elf/start.S: Correctly pass r23 to argument 6 of
564         __libc_start_main. Comment the order of arguments at entry and
565         those to __libc_start_main.
567 2006-09-07  Carlos O'Donell  <carlos@systemhalted.org>
569         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Remove
570         lvalue cast.
571         * sysdeps/hppa/dl-trampoline.S (_dl_fixup): Correct stack usage.
572         (_dl_runtime_profile): LA fixups.
573         * sysdeps/unix/sysv/linux/hppa/clone.S: Correct stack usage. Return
574         -1 on error. Use branch and link for error handler funciton.
575         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Correct stack usage.
576         Avoid register shuffling.
577         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (ASM_EAGAIN): Define
578         as -EAGAIN.
579         * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Adjust definitions to
580         match required standards.
581         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
582         (lll_futex_wait): Return __ret.
583         (lll_futex_timed_wait): Likewise.
584         (lll_futex_wake): Likewise.
585         (lll_futex_requeue): Likewise.
586         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Correct stack
587         usage and adjust error return.
588         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Adjust
589         stack usage for gdb, and avoid extra register loads.
590         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Copy
591         nptl/sysdeps/pthread/unwind-forcedunwind.c.
592         (LIBGCC_SO): Define and use.
593         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Copy
594         nptl/sysdeps/pthread/unwind-resume.c.
595         (LIBGCC_SO): Define and use.
597 2006-08-13  Carlos O'Donell  <carlos@systemhalted.org>
599         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h (FUTEX_LOCK_PI,
600         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
602 2006-07-24  Carlos O'Donell  <carlos@systemhalted.org>
604         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
605         __SIZEOF_PTHREAD_COND_T is 64 bytes. Remove __PAD_ATOMIC_LOCK_T.
607 2006-07-18  Carlos O'Donell  <carlos@systemhalted.org>
609         * sysdeps/hppa/nptl/pthread_spin_lock.c (pthread_spin_lock): Swap
610         newval and oldval.
611         * sysdeps/hppa/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
612         Likewise.
614 2006-07-16  Jeff Bailey  <jbailey@ubuntu.com>
616         * sysdeps/hppa/tst-audit.h: New file.
618 2006-07-16  Carlos O'Donell  <carlos@systemhalted.org>
620         * sysdeps/hppa/tls-macros.h: Cleanup formatting.
622 2006-07-15  Jeff Bailey  <jbailey@ubuntu.com>
624         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Return NULL.
626 2006-07-13  Carlos O'Donell  <carlos@systemhalted.org>
628         * sysdeps/unix/sysv/linux/hppa/xstat.c: New file.
629         * sysdeps/unix/sysv/linux/hppa/lxstat.c: Likewise.
630         * sysdeps/unix/sysv/linux/hppa/fxstat.c: Likewise.
631         * sysdeps/unix/sysv/linux/hppa/fxstatat.c: Likewise.
633 2006-07-13  Carlos O'Donell  <carlos@systemhalted.org>
635         * sysdeps/hppa/nptl/Makefile: New file
636         * sysdeps/hppa/nptl/jmpbuf-unwind.h: Likewise
637         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise
638         * sysdeps/hppa/nptl/pthread_spin_trylock.c: Likewise
639         * sysdeps/hppa/nptl/pthread_spin_unlock.c: Likewise
640         * sysdeps/hppa/nptl/pthreaddef.h: Likewise
641         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise
642         * sysdeps/hppa/nptl/tls.h: Likewise
643         * sysdeps/unix/sysv/linux/hppa/nptl/bits: Likewise
644         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: Likewise
645         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: Likewise
646         * sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Likewise
647         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: Likewise
648         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Likewise
649         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise
650         * sysdeps/unix/sysv/linux/hppa/nptl/pt-initfini.c: Likewise
651         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Likewise
652         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Likewise
653         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise
654         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Likewise
655         * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Likewise
657 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
659         * sysdeps/unix/sysv/linux/hppa/Versions: new errlist compat entry
660         for up to 256 errnos
662 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
664         * sysdeps/hppa/hppa1.1/Implies: Remove ieee754/ldbl-128.
665         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
666         [__LINUX_KERNEL_VERSION >= 0x020609]: Define __ASSUME_LWS_CAS.
667         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: New file.
669 2006-06-08  Carlos O'Donell  <carlos@systemhalted.org>
671         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Reformat
672         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
673         Define.
675 2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
677         * sysdeps/unix/sysv/linux/hppa/clone.S: .LerrorRest
678         is a label.
680 2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
682         * sysdeps/hppa/ldsodefs.h: New file.
683         * sysdeps/unix/sysv/linux/hppa/bits/mman.h:
684         Only define MADV_* macros when __USE_BSD is present.
685         (MADV_REMOVE, MADV_DONTFORK, MADV_DOFORK): Define.
687 2006-05-15  Carlos O'Donell  <carlos@systemhalted.org>
689         * sysdeps/unix/sysv/linux/hppa/clone.S: Accept extra arguments
690         required for NPTL.
691         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Use var args for 6 arg
692         syscall.
693         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Move DOARGS and UNDOARGS
694         into PSEUDO_*'s.
695         (ENTRY_LEAF): Define.
696         (PSEUDO_NOERRNO, PSEUDO_ERRVAL): Use ENTRY_LEAF.
697         (DO_CALL): Create frame.
699 2006-05-15  Carlos O'Donell  <carlos@systemhalted.org>
701         * sysdeps/hppa/dl-machine.h: Include tls.h
702         (elf_machine_fixup_plt): Returns fdesc.
703         (elf_machine_profile_fixup_plt): Remove.
704         (elf_machine_plt_value): Returns fdesc.
705         (elf_machine_runtime_setup): Check that dl_profile != NULL.
706         (ARCH_LA_PLTENT, ARCH_LA_PLTEXIT): Define.
707         (RTLD_START): Use iitlbp with sr0.
708         (elf_machine_type_class): Include TLS relocs.
709         (reassemble_21, reassemble_14): Define.
710         (elf_machine_rela): Add DIR21L, DIR14R, PLABEL21L, PLABEL14R,
711         TLS_DTPMOD32, TLS_TPREL32, TLS_DTPOFF32 support.
712         (TRAMPOLINE_TEMPLATE): Move to ...
713         * sysdeps/hppa/dl-trampoline.S: ... here.
714         * sysdeps/hppa/abort-instr.h: Use iitlbp with sr0.
715         * sysdeps/hppa/dl-lookupcfg.h: Inlcude dl-fptr.h.
716         (DL_FIXUP_VALUE_TYPE, DL_FIXUP_MAKE_VALUE, DL_FIXUP_VALUE_CODE_ADDR,
717         DL_FIXUP_VALUE_ADD, DL_FIXUP_ADDR_VALUE): Define.
718         * sysdeps/hppa/sysdep.h: Use "!" as a separator. Cleanup comments.
719         * sysdeps/hppa/bits/link.h (La_hppa_regs, La_hppa_retval): Define.
720         Define prototypes for la_hppa_gnu_pltenter and la_hppa_gnu_pltexit.
722 2006-04-27  Carlos O'Donell  <carlos@systemhalted.org>
724         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Include uio.h, and
725         define vmsplice.
727 2006-04-21  Carlos O'Donell  <carlos@systemhalted.org>
729         * sysdeps/hppa/dl-tls.h: New file
730         * sysdeps/hppa/libc-tls.c: Likewise.
731         * sysdeps/hppa/tls-macros.h: Likewise.
732         * sysdeps/hppa/elf/configure: Likewise.
733         * sysdeps/hppa/elf/configure.in: Likewise.
735 2006-04-20  Carlos O'Donell  <carlos@systemhalted.org>
737         * sysdeps/hppa/fpu/fclrexcpt.c (feclearexcept): Use union to
738         align parameters. Specify memory clobbers.
739         * sysdeps/hppa/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
740         * sysdeps/hppa/fpu/feenablxcpt.c (feenableexcept): Likewise.
741         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Do not save exception
742         register. Use memcpy to align buffer.
743         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Store and reload
744         fr0. Use union to align parameters.
745         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
746         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Do not save
747         exception registers. Define libm_hidden_def.
748         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Do not save exception
749         registers.
750         * sysdeps/hppa/fpu/fesetround.c (fesetround): Use union to
751         align parameters, speficy memory clobbers. Define libm_hidde_def
752         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Use union to align
753         parameters. Use memcpy to align buffer.
754         * sysdeps/hppa/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
755         * sysdeps/hppa/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
756         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
757         * sysdeps/hppa/fpu/libm-test-ulps: Update.
758         * sysdeps/hppa/fpu/bits/fenv.h: Add ABI comments.
760 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
762         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]:
763         Define MMAP_FIXED.
764         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_GNU]:
765         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE,
766         SYNC_FILE_RANGE_WAIT_AFTER, sync_file_range, splice, tee.
768 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
770         * sysdeps/unix/sysv/linux/hppa/kernel-features.h: New file.
772 2006-04-19  Carlos O'Donell  <carlos@systemhalted.org>
774         * sysdeps/hppa/linuxthreads/pspinlock.c: New file.
775         * sysdeps/hppa/linuxthreads/pt-machine.h: Likewise.
776         * sysdeps/hppa/linuxthreads/tls.h: Likewise.
777         * sysdeps/unix/sysv/linux/hppa/linuxthreads/aio_cancel.c: Likewise.
778         * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h:
779         Likewise.
780         * sysdeps/unix/sysv/linux/hppa/linuxthreads/pt-initfini.c: Likewise.
781         * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: Likewise.
782         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/initspin.h: Likewise.
783         * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h:
784         Likewise.
786 2006-02-28  Roland McGrath  <roland@redhat.com>
788         * sysdeps/hppa/shlib-versions: New file.
789         * sysdeps/hppa/preconfigure: New file.