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