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