1 2008-02-22 Carlos O'Donell <carlos@codesourcery.com>
3 * sysdeps/unix/sysv/linux/hppa/Makefile: Remove.
4 * sysdeps/hppa/nptl/Makefile: Set tst-oddstacklimit-ENV.
6 2007-12-05 Jeff Bailey <jeffbailey@google.com>
8 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
9 (__lll_unlock): Use define instead of inline function.
10 (__lll_robust_unlock): Likewise.
12 2007-10-22 Daniel Jacobowitz <dan@codesourcery.com>
14 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
16 2007-10-18 Carlos O'Donell <carlos@systemhalted.org>
18 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c
19 (__lll_lock_wait): Add private argument. Pass private
20 to lll_futex_wait. Use atomic_compare_and_exchange_val_acq.
21 (__lll_lock_wait_private): New function.
22 (__lll_timedlock_wait): Add private argument. Pass private
23 to lll_futex_timed_wait.
24 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h:
25 Include kernel-features.h and tls.h.
26 (FUTEX_WAITERS): Define.
27 (FUTEX_OWNER_DIED): Define.
28 (FUTEX_TID_MASK): Define.
29 (__lll_private_flag): Define.
30 (lll_futex_timed_wait): Use __lll_private_flag.
31 (lll_futex_wake): Use __lll_private_flag.
32 (lll_futex_requeue): Use __lll_private_flag.
33 (lll_robust_mutex_dead): Rename to...
34 (lll_robust_dead): ... this. Add private argument. Pass private
36 (lll_futex_wake_unlock): Use __lll_private_flag.
37 (__lll_mutex_trylock): Remove.
38 (lll_mutex_tryock): Remove.
39 (__lll_robust_mutex_trylock): Rename to...
40 (__lll_robust_trylock): ... this.
41 (lll_robust_mutex_trylock): Rename to...
42 (lll_robust_trylock): ... this. Call __lll_robust_trylock.
43 (__lll_mutex_cond_trylock): Rename to...
44 (__lll_cond_trylock): ... this.
45 (lll_mutex_cond_trylock): Rename to...
46 (lll_cond_trylock): ... this. Call __lll_cond_trylock.
47 (__lll_mutex_lock): Add private argument.
48 (__lll_robust_mutex_lock): Remove.
49 (lll_mutex_lock): Define.
50 (__lll_robust_lock): Define.
51 (lll_robust_mutex_lock): Remove.
52 (__lll_mutex_cond_lock): Remove.
53 (lll_robust_lock) Define.
54 (lll_robust_cond_lock): Define.
55 (lll_robust_mutex_cond_lock): Remove.
56 (__lll_cond_lock): Define.
57 (lll_cond_lock): Define.
58 (__lll_mutex_timedlock): Remove.
59 (__lll_timedlock): Define.
60 (lll_timedlock): Define.
61 (lll_robust_mutex_timedlock): Remove.
62 (lll_robust_timedlock): Define.
63 (__lll_mutex_unlock): Remove.
64 (__lll_unlock): Define.
65 (__lll_robust_mutex_unlock): Remove.
66 (__lll_robust_unlock): Define.
67 (lll_robust_mutex_unlock): Remove.
68 (lll_robust_unlock): Define.
69 (__lll_mutex_unlock_force): Remove.
70 (lll_mutex_unlock_force): Remove.
71 (lll_islocked): Remove.
72 (lll_mutex_islocked): Rename to...
73 (lll_islocked): ... this.
74 (lll_trylock): Remove.
76 (lll_wait_tid): Format whitespace.
77 (lll_cond_wait): Remove.
78 (lll_cond_timedwait): Remove.
79 (lll_cond_wake): Remove.
80 (lll_cond_broadcast): Remove.
82 2007-10-17 Carlos O'Donell <carlos@systemhalted.org>
84 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Correct return value
85 type and __THROW marker of splice, vmsplice, and tee.
87 2007-09-24 Carlos O'Donell <carlos@systemhalted.org>
89 * sysdeps/hppa/nptl/tls.h: Fix comment.
90 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Fix comment format.
91 [__USE_GNU] (O_CLOEXEC): Define.
92 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Issue error
93 if the library is unsupported.
94 [ASSEMBLER && IS_IN_librt]: Define CENABLE, CDISABLE, and
95 __local_multiple_threads.
97 2007-08-03 Aurelien Jarno <aurelien@aurel32.net>
99 * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h:
100 (__local_multiple_threads): Declare as hidden only in libc and
103 2007-07-28 Carlos O'Donell <carlos@systemhalted.org>
105 * sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Remove.
106 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
107 (pthread_rwlock_t): Split __flags into __pad2, __pad1, __shared,
108 and __flags. Update comments. Update copyright.
109 * sysdeps/hppa/nptl/tls.h: Define THREAD_GSCOPE_FLAG_UNUSED,
110 THREAD_GSCOPE_FLAG_USED, THREAD_GSOPE_FLAG_WAIT,
111 THREAD_GSCOPE_RSEET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_WAIT.
113 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Update copyright.
114 (__lll_lock_wait): Call lll_futex_wait with LLL_SHARED.
115 (__lll_timedlock_wait): Call lll_futex_timed_wait with LLL_SHARED.
116 (lll_unlock_Wake_cb): Use lll_private_futex_wake.
117 (___lll_timedwait_tid): Call lll_futex_timed_wait with LLL_SAHRED.
118 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Define
119 FUTEX_PRIVATE_FLAG, LLL_PRIVATE, LLL_SHARED, lll_private_futex_wait,
120 lll_private_futex_timed_wait, lll_private_Futex_wake. Add private
121 argument to lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
122 lll_futex_wake_unlock.
123 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Update copyright.
124 (clear_once_control): Use lll_private_futex_wake.
125 (__pthread_once): Use lll_private_futex_wait, and
126 lll_private_futex_wake.
128 2007-07-28 Randolph Chung <tausq@debian.org>
130 * sysdeps/hppa/nptl/tls.h (DB_THREAD_SELF): Fix definition.
132 2007-06-16 Jeff Bailey <jbailey@raspberryginger.com>
134 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Don't
135 include asm/elf.h. Declare elf_greg_t, elf_gregset_t,
136 elf_fpreg_t, and elf_fpregset_t.
138 2007-06-16 Jeff Bailey <jbailey@raspberryginger.com>
140 * sysdeps/unix/sysv/linux/hppa/nptl/configure.in: Require
141 at least kernel 2.6.9.
142 * sysdeps/unix/sysv/linux/hppa/nptl/configure: Rebuilt.
144 2007-05-17 Carlos O'Donell <carlos@systemhalted.org>
146 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h
147 (SEM_VALUE_MAX): Remove.
149 2007-05-17 Carlos O'Donell <carlos@systemhalted.org>
151 * sysdeps/unix/sysv/linux/hppa/sysdep.h (PIC_REG_DEF): Define.
152 (PIC_REG_USE): Define.
153 (INLINE_SYSCALL): Use PIC_REG_DEF, PIC_REG_USE.
154 (INTERNAL_SYSCALL): Likewise.
155 (INTERNAL_SYSCALL_NCS): Likewise.
156 * sysdeps/unix/sysv/linux/hppa/sysdep.c (syscall): Use
157 PIC_REG_DEF, PIC_REG_USE.
159 2007-05-01 Carlos O'Donell <carlos@systemhalted.org>
161 * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h
162 [__USE_XOPEN2K]: Define pthread_rwlock_t and
163 pthread_rwlockattr_t.
165 2007-02-02 Carlos O'Donell <carlos@systemhalted.org>
167 * sysdeps/unix/sysv/linux/hppa/sysdep.h (PTR_MANGLE): Define.
168 (PTR_DEMANGLE): Define.
170 2007-02-02 Guy Martin <gmsoft@tuxicoman.be>
172 * sysdeps/hppa/dl-trampoline.S (_dl_runtime_profile):
175 2006-12-03 Carlos O'Donell <carlos@systemhalted.org>
177 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Remove non-atomic
178 versions. Adjust jump target to '0b'.
180 2006-12-03 Carlos O'Donell <carlos@systemhalted.org>
182 * sysdeps/hppa/Makefile: Set long-double-fcts to `no'.
183 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
184 * sysdeps/hppa/fpu/bits/mathdef.h: New file.
186 2006-11-10 Carlos O'Donell <carlos@systemhalted.org>
188 * sysdeps/hppa/nptl/pthread_spin_init.c: New file.
189 * sysdeps/hppa/nptl/pthread_spin_unlock.c: Remove strong alias
190 to pthread_spin_init.
191 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Define
192 RTLD_SINGLE_THREAD_P.
194 2006-09-20 Carlos O'Donell <carlos@systemhalted.org>
196 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (splice): Add offin
197 and offout arguments to the prototype.
199 2006-09-15 Carlos O'Donell <carlos@systemhalted.org>
201 * sysdeps/hppa/nptl/tcb-offsets.sym: Define TID_THREAD_OFFSET.
202 * sysdeps/unix/sysv/linux/hppa/clone.S: Handle RESET_PID, and
203 restore r19 before call to _exit.
204 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: New file.
206 2006-09-13 Carlos O'Donell <carlos@systemhalted.org>
208 * sysdeps/hppa/dl-machine.h (RTLD_START): Comment the use of
210 * sysdeps/hppa/elf/start.S: Correctly pass r23 to argument 6 of
211 __libc_start_main. Comment the order of arguments at entry and
212 those to __libc_start_main.
214 2006-09-07 Carlos O'Donell <carlos@systemhalted.org>
216 * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Remove
218 * sysdeps/hppa/dl-trampoline.S (_dl_fixup): Correct stack usage.
219 (_dl_runtime_profile): LA fixups.
220 * sysdeps/unix/sysv/linux/hppa/clone.S: Correct stack usage. Return
221 -1 on error. Use branch and link for error handler funciton.
222 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Correct stack usage.
223 Avoid register shuffling.
224 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (ASM_EAGAIN): Define
226 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Adjust definitions to
227 match required standards.
228 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h
229 (lll_futex_wait): Return __ret.
230 (lll_futex_timed_wait): Likewise.
231 (lll_futex_wake): Likewise.
232 (lll_futex_requeue): Likewise.
233 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Correct stack
234 usage and adjust error return.
235 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Adjust
236 stack usage for gdb, and avoid extra register loads.
237 * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Copy
238 nptl/sysdeps/pthread/unwind-forcedunwind.c.
239 (LIBGCC_SO): Define and use.
240 * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Copy
241 nptl/sysdeps/pthread/unwind-resume.c.
242 (LIBGCC_SO): Define and use.
244 2006-08-13 Carlos O'Donell <carlos@systemhalted.org>
246 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h (FUTEX_LOCK_PI,
247 FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
249 2006-07-24 Carlos O'Donell <carlos@systemhalted.org>
251 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h:
252 __SIZEOF_PTHREAD_COND_T is 64 bytes. Remove __PAD_ATOMIC_LOCK_T.
254 2006-07-18 Carlos O'Donell <carlos@systemhalted.org>
256 * sysdeps/hppa/nptl/pthread_spin_lock.c (pthread_spin_lock): Swap
258 * sysdeps/hppa/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
261 2006-07-16 Jeff Bailey <jbailey@ubuntu.com>
263 * sysdeps/hppa/tst-audit.h: New file.
265 2006-07-16 Carlos O'Donell <carlos@systemhalted.org>
267 * sysdeps/hppa/tls-macros.h: Cleanup formatting.
269 2006-07-15 Jeff Bailey <jbailey@ubuntu.com>
271 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Return NULL.
273 2006-07-13 Carlos O'Donell <carlos@systemhalted.org>
275 * sysdeps/unix/sysv/linux/hppa/xstat.c: New file.
276 * sysdeps/unix/sysv/linux/hppa/lxstat.c: Likewise.
277 * sysdeps/unix/sysv/linux/hppa/fxstat.c: Likewise.
278 * sysdeps/unix/sysv/linux/hppa/fxstatat.c: Likewise.
280 2006-07-13 Carlos O'Donell <carlos@systemhalted.org>
282 * sysdeps/hppa/nptl/Makefile: New file
283 * sysdeps/hppa/nptl/jmpbuf-unwind.h: Likewise
284 * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise
285 * sysdeps/hppa/nptl/pthread_spin_trylock.c: Likewise
286 * sysdeps/hppa/nptl/pthread_spin_unlock.c: Likewise
287 * sysdeps/hppa/nptl/pthreaddef.h: Likewise
288 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise
289 * sysdeps/hppa/nptl/tls.h: Likewise
290 * sysdeps/unix/sysv/linux/hppa/nptl/bits: Likewise
291 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: Likewise
292 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: Likewise
293 * sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h: Likewise
294 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: Likewise
295 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Likewise
296 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise
297 * sysdeps/unix/sysv/linux/hppa/nptl/pt-initfini.c: Likewise
298 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Likewise
299 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_once.c: Likewise
300 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise
301 * sysdeps/unix/sysv/linux/hppa/nptl/unwind-forcedunwind.c: Likewise
302 * sysdeps/unix/sysv/linux/hppa/nptl/unwind-resume.c: Likewise
304 2006-06-08 Carlos O'Donell <carlos@systemhalted.org>
306 * sysdeps/unix/sysv/linux/hppa/Versions: new errlist compat entry
309 2006-06-08 Carlos O'Donell <carlos@systemhalted.org>
311 * sysdeps/hppa/hppa1.1/Implies: Remove ieee754/ldbl-128.
312 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
313 [__LINUX_KERNEL_VERSION >= 0x020609]: Define __ASSUME_LWS_CAS.
314 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: New file.
316 2006-06-08 Carlos O'Donell <carlos@systemhalted.org>
318 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Reformat
319 (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
322 2006-05-24 Carlos O'Donell <carlos@systemhalted.org>
324 * sysdeps/unix/sysv/linux/hppa/clone.S: .LerrorRest
327 2006-05-24 Carlos O'Donell <carlos@systemhalted.org>
329 * sysdeps/hppa/ldsodefs.h: New file.
330 * sysdeps/unix/sysv/linux/hppa/bits/mman.h:
331 Only define MADV_* macros when __USE_BSD is present.
332 (MADV_REMOVE, MADV_DONTFORK, MADV_DOFORK): Define.
334 2006-05-15 Carlos O'Donell <carlos@systemhalted.org>
336 * sysdeps/unix/sysv/linux/hppa/clone.S: Accept extra arguments
338 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Use var args for 6 arg
340 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Move DOARGS and UNDOARGS
342 (ENTRY_LEAF): Define.
343 (PSEUDO_NOERRNO, PSEUDO_ERRVAL): Use ENTRY_LEAF.
344 (DO_CALL): Create frame.
346 2006-05-15 Carlos O'Donell <carlos@systemhalted.org>
348 * sysdeps/hppa/dl-machine.h: Include tls.h
349 (elf_machine_fixup_plt): Returns fdesc.
350 (elf_machine_profile_fixup_plt): Remove.
351 (elf_machine_plt_value): Returns fdesc.
352 (elf_machine_runtime_setup): Check that dl_profile != NULL.
353 (ARCH_LA_PLTENT, ARCH_LA_PLTEXIT): Define.
354 (RTLD_START): Use iitlbp with sr0.
355 (elf_machine_type_class): Include TLS relocs.
356 (reassemble_21, reassemble_14): Define.
357 (elf_machine_rela): Add DIR21L, DIR14R, PLABEL21L, PLABEL14R,
358 TLS_DTPMOD32, TLS_TPREL32, TLS_DTPOFF32 support.
359 (TRAMPOLINE_TEMPLATE): Move to ...
360 * sysdeps/hppa/dl-trampoline.S: ... here.
361 * sysdeps/hppa/abort-instr.h: Use iitlbp with sr0.
362 * sysdeps/hppa/dl-lookupcfg.h: Inlcude dl-fptr.h.
363 (DL_FIXUP_VALUE_TYPE, DL_FIXUP_MAKE_VALUE, DL_FIXUP_VALUE_CODE_ADDR,
364 DL_FIXUP_VALUE_ADD, DL_FIXUP_ADDR_VALUE): Define.
365 * sysdeps/hppa/sysdep.h: Use "!" as a separator. Cleanup comments.
366 * sysdeps/hppa/bits/link.h (La_hppa_regs, La_hppa_retval): Define.
367 Define prototypes for la_hppa_gnu_pltenter and la_hppa_gnu_pltexit.
369 2006-04-27 Carlos O'Donell <carlos@systemhalted.org>
371 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: Include uio.h, and
374 2006-04-21 Carlos O'Donell <carlos@systemhalted.org>
376 * sysdeps/hppa/dl-tls.h: New file
377 * sysdeps/hppa/libc-tls.c: Likewise.
378 * sysdeps/hppa/tls-macros.h: Likewise.
379 * sysdeps/hppa/elf/configure: Likewise.
380 * sysdeps/hppa/elf/configure.in: Likewise.
382 2006-04-20 Carlos O'Donell <carlos@systemhalted.org>
384 * sysdeps/hppa/fpu/fclrexcpt.c (feclearexcept): Use union to
385 align parameters. Specify memory clobbers.
386 * sysdeps/hppa/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
387 * sysdeps/hppa/fpu/feenablxcpt.c (feenableexcept): Likewise.
388 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Do not save exception
389 register. Use memcpy to align buffer.
390 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Store and reload
391 fr0. Use union to align parameters.
392 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
393 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Do not save
394 exception registers. Define libm_hidden_def.
395 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Do not save exception
397 * sysdeps/hppa/fpu/fesetround.c (fesetround): Use union to
398 align parameters, speficy memory clobbers. Define libm_hidde_def
399 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Use union to align
400 parameters. Use memcpy to align buffer.
401 * sysdeps/hppa/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
402 * sysdeps/hppa/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
403 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
404 * sysdeps/hppa/fpu/libm-test-ulps: Update.
405 * sysdeps/hppa/fpu/bits/fenv.h: Add ABI comments.
407 2006-04-19 Carlos O'Donell <carlos@systemhalted.org>
409 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]:
411 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_GNU]:
412 Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE,
413 SYNC_FILE_RANGE_WAIT_AFTER, sync_file_range, splice, tee.
415 2006-04-19 Carlos O'Donell <carlos@systemhalted.org>
417 * sysdeps/unix/sysv/linux/hppa/kernel-features.h: New file.
419 2006-04-19 Carlos O'Donell <carlos@systemhalted.org>
421 * sysdeps/hppa/linuxthreads/pspinlock.c: New file.
422 * sysdeps/hppa/linuxthreads/pt-machine.h: Likewise.
423 * sysdeps/hppa/linuxthreads/tls.h: Likewise.
424 * sysdeps/unix/sysv/linux/hppa/linuxthreads/aio_cancel.c: Likewise.
425 * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h:
427 * sysdeps/unix/sysv/linux/hppa/linuxthreads/pt-initfini.c: Likewise.
428 * sysdeps/unix/sysv/linux/hppa/linuxthreads/sysdep-cancel.h: Likewise.
429 * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/initspin.h: Likewise.
430 * sysdeps/unix/sysv/linux/hppa/linuxthreads/bits/pthreadtypes.h:
433 2006-02-28 Roland McGrath <roland@redhat.com>
435 * sysdeps/hppa/shlib-versions: New file.
436 * sysdeps/hppa/preconfigure: New file.