1 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3 * sysdeps/m68k/Makefile (CFLAGS-backtrace.c): Add -funwind-tables.
5 2013-01-19 Andreas Schwab <schwab@linux-m68k.org>
7 * sysdeps/m68k/backtrace.c: New file.
9 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: New file.
10 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add waitpid.
12 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14 * sysdeps/m68k/bits/byteswap.h (__bswap_64): Use __extension__
17 2013-01-04 Andreas Schwab <schwab@suse.de>
19 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23 * sysdeps/m68k/m680x0/fpu/mathimpl.h: Fix copyright notice
26 * All files with FSF copyright notices: Update copyright dates
27 using scripts/update-copyrights.
29 2012-11-30 Andreas Schwab <schwab@linux-m68k.org>
31 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35 * sysdeps/m68k/dl-trampoline.S (_dl_runtime_profile)
36 [__mcoldfire__]: Fix copying loop.
38 * sysdeps/m68k/sotruss-lib.c: New file.
40 2012-11-21 Andreas Schwab <schwab@linux-m68k.org>
42 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h
43 (lll_futex_timed_wait_bitset): Remove use of
44 INTERNAL_SYSCALL_ERROR_P.
46 2012-11-20 Andreas Schwab <schwab@linux-m68k.org>
48 * sysdeps/m68k/m680x0/fpu/s_atan.c (weak_aliasx): Remove
49 macro and use weak_alias directly.
50 * sysdeps/m68k/m680x0/fpu/s_ccosh.c (weak_aliasx): Likewise.
51 * sysdeps/m68k/m680x0/fpu/s_cexp.c (weak_aliasx): Likewise.
52 * sysdeps/m68k/m680x0/fpu/s_csin.c (weak_aliasx): Likewise.
53 * sysdeps/m68k/m680x0/fpu/s_csinh.c (weak_aliasx): Likewise.
54 * sysdeps/m68k/m680x0/fpu/s_expm1.c (weak_aliasx): Likewise.
55 * sysdeps/m68k/m680x0/fpu/s_frexp.c (weak_aliasx): Likewise.
56 * sysdeps/m68k/m680x0/fpu/s_lrint.c (weak_aliasx): Likewise.
57 * sysdeps/m68k/m680x0/fpu/s_modf.c (weak_aliasx): Likewise.
58 * sysdeps/m68k/m680x0/fpu/s_isinf.c (weak_aliasx): Likewise.
59 * sysdeps/m68k/m680x0/fpu/s_remquo.c (weak_aliasx): Likewise.
60 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (strong_aliasx, weak_aliasx):
62 * sysdeps/m68k/m680x0/fpu/s_sin.c (weak_aliasx): Likewise.
63 * sysdeps/m68k/m680x0/fpu/s_sincos.c (weak_aliasx): Likewise.
65 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
67 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h (_DOCARGS_5)
68 (UNDOCARGS_5): Save %d5 on stack instead of in %a1.
70 2012-11-15 Andreas Schwab <schwab@linux-m68k.org>
72 * sysdeps/m68k/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS):
75 2012-11-06 Andreas Schwab <schwab@linux-m68k.org>
77 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
79 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h
80 (lll_futex_timed_wait_bitset): Define.
82 2012-11-03 Joseph Myers <joseph@codesourcery.com>
84 * sysdeps/m68k/fpu/fclrexcpt.c (feclearexcept): Add
88 * sysdeps/m68k/fpu/bits/fenv.h (FE_INEXACT): Define macro to
89 integer constant usable in #if and use that to give value to enum
91 (FE_DIVBYZERO): Likewise.
92 (FE_UNDERFLOW): Likewise.
93 (FE_OVERFLOW): Likewise.
94 (FE_INVALID): Likewise.
95 (FE_TONEAREST): Likewise.
96 (FE_TOWARDZERO): Likewise.
97 (FE_DOWNWARD): Likewise.
98 (FE_UPWARD): Likewise.
100 2012-10-25 Andreas Jaeger <aj@suse.de>
102 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Remove all
103 definitions and declarations that are provided by
104 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
106 2012-10-19 Roland McGrath <roland@hack.frob.com>
108 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist:
109 (GLIBC_2.17): Add clock_* symbols.
110 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Likewise.
112 2012-10-02 Siddhesh Poyarekar <siddhesh@redhat.com>
114 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Fix clone
115 flag name in comment to CLONE_CHILD_CLEARTID.
117 2012-09-28 Roland McGrath <roland@hack.frob.com>
119 * sysdeps/unix/sysv/linux/m68k/init-first.c: Include main file from
120 csu/ rather than sysdeps/unix/sysv/linux/.
122 2012-08-27 Joseph Myers <joseph@codesourcery.com>
124 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
125 (__ASSUME_STAT64_SYSCALL): Remove.
127 2012-08-21 Joseph Myers <joseph@codesourcery.com>
129 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
130 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
132 2012-08-20 Joseph Myers <joseph@codesourcery.com>
134 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
135 (__ASSUME_MMAP2_SYSCALL): Remove.
137 2012-08-15 Maxim Kuvyrkov <maxim@codesourcery.com>
139 * sysdeps/m68k/nptl/pthread_spin_lock.c: Use generic code.
140 * sysdeps/m68k/nptl/pthread_spin_trylock.c: Remove, use generic version.
142 2012-08-10 Andreas Schwab <schwab@linux-m68k.org>
144 * sysdeps/m68k/ldsodefs.h (m68k_gnu_pltenter): Remove const on
147 2012-08-08 Joseph Myers <joseph@codesourcery.com>
149 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
150 (__ASSUME_TGKILL): Remove.
152 2012-08-08 Andreas Schwab <schwab@linux-m68k.org>
154 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: New file.
156 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h
157 (atomic_compare_and_exchange_val_acq) [!SHARED]: Add cast to avoid
160 2012-08-07 Joseph Myers <joseph@codesourcery.com>
162 * sysdeps/unix/sysv/linux/m68k/configure.in (arch_minimum_kernel):
164 * sysdeps/unix/sysv/linux/m68k/configure: Regenerated.
165 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
166 (__ASSUME_TGKILL): Define unconditionally.
167 (__ASSUME_UTIMES): Likewise.
168 (__ASSUME_FADVISE64_64_SYSCALL): Likewise.
170 2012-08-03 Andreas Schwab <schwab@linux-m68k.org>
172 * sysdeps/m68k/sysdep.h (ALIGNARG, ASM_TYPE_DIRECTIVE)
173 (ASM_SIZE_DIRECTIVE): Remove.
174 (ENTRY, END): Use .p2align. Use .type and .size instead of
175 ASM_TYPE_DIRECTIVE and ASM_SIZE_DIRECTIVE.
176 * sysdeps/m68k/asm-syntax.h (ALIGNARG, PROLOG, EPILOG, ALIGN)
177 (GLOBL): Remove unused macros.
179 2012-08-01 Joseph Myers <joseph@codesourcery.com>
181 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
182 (__ASSUME_FCNTL64): Remove.
184 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
185 (__ASSUME_VFORK_SYSCALL): Remove.
186 * sysdeps/unix/sysv/linux/m68k/vfork.S (__vfork) [__NR_vfork]:
187 Make code unconditional.
188 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
189 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
191 2012-08-01 Roland McGrath <roland@hack.frob.com>
194 * sysdeps/unix/sysv/linux/m68k/getrlimit.c: File removed.
196 2012-08-01 Andreas Schwab <schwab@linux-m68k.org>
198 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
200 2012-07-26 Andreas Schwab <schwab@linux-m68k.org>
202 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
204 2012-07-25 Joseph Myers <joseph@codesourcery.com>
206 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
207 (__ASSUME_MMAP2_SYSCALL): Define unconditionally.
208 (__ASSUME_STAT64_SYSCALL): Likewise.
209 (__ASSUME_FCNTL64): Likewise.
210 (__ASSUME_VFORK_SYSCALL): Likewise.
212 2012-07-25 Florian Weimer <fweimer@redhat.com>
214 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist:
216 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist:
219 2012-07-20 Joseph Myers <joseph@codesourcery.com>
221 * data/localplt-m68k-linux-gnu.data: Move to ...
222 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: ... here.
224 2012-07-17 Joseph Myers <joseph@codesourcery.com>
226 * data/c++-types-m68k-linux-gnu.data: Move to ...
227 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: ... here.
229 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
231 * sysdeps/unix/sysv/linux/m68k/m680x0/Makefile: New file.
232 * sysdeps/unix/sysv/linux/m68k/m680x0/getcontext.S: New file.
233 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: New file.
234 * sysdeps/unix/sysv/linux/m68k/m680x0/setcontext.S: New file.
235 * sysdeps/unix/sysv/linux/m68k/m680x0/swapcontext.S: New file.
236 * sysdeps/unix/sysv/linux/m68k/m680x0/ucontext_i.sym: New file.
238 2012-07-09 Andreas Schwab <schwab@linux-m68k.org>
240 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
242 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
244 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
245 (__ASSUME_TRUNCATE64_SYSCALL): Remove.
247 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Use
248 hidden_def instead of adding _internal alias.
250 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
252 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
253 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove.
255 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add chown.
256 * sysdeps/unix/sysv/linux/m68k/chown.c: Remove file.
258 2012-05-23 Andreas Schwab <schwab@linux-m68k.org>
260 * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MADV_DONTDUMP)
261 (MADV_DODUMP): Define.
263 2012-05-21 Andreas Schwab <schwab@linux-m68k.org>
265 * sysdeps/m68k/m680x0/fpu/s_logbl.c: New file.
267 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Update.
268 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Update.
270 2012-05-14 Andreas Schwab <schwab@linux-m68k.org>
272 * sysdeps/unix/sysv/linux/m68k/configure.in (arch_minimum_kernel)
273 [$machine != m68k/coldfire]: Don't set.
275 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
277 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
279 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
281 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: New file.
282 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
284 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: New
286 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: New
288 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist: New
290 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: New
292 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: New
294 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: New
296 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
298 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
300 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: New
302 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
304 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: New
306 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: New file.
307 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
309 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: New
311 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: New file.
312 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: New
314 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: New
316 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: New file.
317 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: New
319 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist: New
321 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: New
323 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: New
325 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
327 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: New
330 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
332 * sysdeps/m68k/libgcc_s.h: Remove.
333 * sysdeps/m68k/shlib-versions: Add libgcc_s.
335 2012-04-18 Andreas Schwab <schwab@linux-m68k.org>
337 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
339 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
341 * sysdeps/m68k/m680x0/fpu/e_ilogb.c: Renamed from s_ilogb.c.
342 Define __ieee754_ilogb instead of __ilogb.
343 * sysdeps/m68k/m680x0/fpu/e_ilogbf.c: Renamed from s_ilogbf.c and
345 * sysdeps/m68k/m680x0/fpu/e_ilogbl.c: Renamed from s_ilogbl.c and
348 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
350 * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MAP_STACK)
351 (MAP_HUGETLB): Define.
353 2012-03-27 Andreas Schwab <schwab@linux-m68k.org>
355 * sysdeps/m68k/elf/start.S: Move to ...
356 * sysdeps/m68k/start.S: ... here.
358 2012-03-23 Andreas Schwab <schwab@linux-m68k.org>
360 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
362 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Avoid undue overflow.
364 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_mathop1):
365 Mark asm as volatile.
366 (__scalbn): Likewise.
368 (__sincos): Likewise.
370 2012-03-22 Andreas Schwab <schwab@linux-m68k.org>
372 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
374 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
376 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Include <_itoa.h>
377 instead of <stdio-common/_itoa.h>.
379 2012-03-20 Andreas Schwab <schwab@linux-m68k.org>
381 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
383 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
385 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
387 2012-03-13 Andreas Schwab <schwab@linux-m68k.org>
389 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
390 (__ASSUME_NEW_GETRLIMIT_SYSCALL, __ASSUME_VFORK_SYSCALL): Define
392 (__ASSUME_PSELECT, __ASSUME_PPOLL): Only undefine before 3.0.
394 2012-03-09 Richard Henderson <rth@twiddle.net>
396 * sysdeps/m68k/m680x0/fpu/math_private.h: Use include_next to
397 chain math_private.h.
399 * m68k/m680x0/fpu/e_acos.c: Use <> to include math_private.h.
400 * m68k/m680x0/fpu/e_atan2.c, m68k/m680x0/fpu/e_fmod.c: Likewise.
401 * m68k/m680x0/fpu/e_pow.c, m68k/m680x0/fpu/e_scalb.c: Likewise.
402 * m68k/m680x0/fpu/s_fpclassifyl.c, m68k/m680x0/fpu/s_llrint.c: Likewise.
403 * m68k/m680x0/fpu/s_llrintf.c, m68k/m680x0/fpu/s_llrintl.c: Likewise.
404 * m68k/m680x0/fpu/s_nextafterl.c: Likewise.
406 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
409 Replace FSF snail mail address with URLs, as per GNU coding standards.
411 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
413 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
415 2012-03-02 Andreas Schwab <schwab@linux-m68k.org>
417 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update ULPs.
419 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
421 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
422 (pthread_attr_t): Fix name of union. Only define if not already
425 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
427 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Name
428 pthread_attr_t union.
430 * sysdeps/m68k/m680x0/fpu/Makefile: Remove.
431 * sysdeps/m68k/m680x0/fpu/switch: Remove directory.
433 * sysdeps/m68k/m680x0/fpu/k_sinl.c: Replace by empty file.
434 * sysdeps/m68k/m680x0/fpu/k_cosl.c: Likewise.
435 * sysdeps/m68k/m680x0/fpu/k_tanf.c: Likewise.
436 * sysdeps/m68k/m680x0/fpu/k_tanl.c: Likewise.
437 * sysdeps/m68k/m680x0/fpu/k_sin.c: Remove.
438 * sysdeps/m68k/m680x0/fpu/k_sinf.c: Remove.
439 * sysdeps/m68k/m680x0/fpu/k_cos.c: Remove.
440 * sysdeps/m68k/m680x0/fpu/k_cosf.c: Remove.
441 * sysdeps/m68k/m680x0/fpu/k_tan.c: Remove.
443 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
445 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Avoid raising invalid
446 exception for NaN+iNaN.
448 2012-02-24 Andreas Schwab <schwab@linux-m68k.org>
450 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update ULPs.
452 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Set errno to ERANGE if
453 argument causes overflow.
454 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Include <s_expm1.c>.
455 (float_type, o_threshold): Define.
456 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
457 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__OPTIMIZE__]: Don't
458 define expm1 as inline.
460 * sysdeps/m68k/m680x0/fpu/s_sin.c: Set errno to EDOM if argument
462 * sysdeps/m68k/m680x0/fpu/s_cos.c: Include <s_sin.c>.
463 * sysdeps/m68k/m680x0/fpu/s_tan.c: Likewise.
464 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Include <s_sinf.c>.
465 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Include <s_sinl.c>.
466 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Include <s_sin.c>.
467 (FUNC): Don't define if already defined.
468 (float_type): Define.
469 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
470 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__OPTIMIZE__]: Don't
471 define sin, cos, tan as inlines.
473 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
475 * sysdeps/m68k/crti.S: New file.
476 * sysdeps/m68k/crtn.S: New file.
478 * sysdeps/m68k/m680x0/sysdep.h (LOAD_GOT): Define.
479 * sysdeps/m68k/coldfire/sysdep.h (LOAD_GOT): Define.
480 * sysdeps/unix/sysv/linux/m68k/coldfire/m68k-helper.S: Remove.
481 * sysdeps/unix/sysv/linux/m68k/m680x0/m68k-helper.S: Remove.
482 * sysdeps/unix/sysv/linux/m68k/m68k-helper.S: New file.
484 * sysdeps/unix/sysv/linux/m68k/configure.in
485 (libc_cv_gcc_unwind_find_fde): Don't set on coldfire.
487 2012-01-29 Andreas Schwab <schwab@linux-m68k.org>
489 * sysdeps/m68k/asm-syntax.h: Remove __STDC__ conditionals.
490 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
491 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
493 2012-01-08 Andreas Schwab <schwab@linux-m68k.org>
495 * sysdeps/m68k/fpu/bits/fenv.h (FE_DFL_ENV, FE_NOMASK_ENV): Use
496 const intead of __const.
498 * sysdeps/m68k/asm-syntax.h: Remove non-ELF support.
499 * sysdeps/m68k/sysdep.h: Likewise.
500 (NO_UNDERSCORES): Don't define.
502 2012-01-07 Andreas Schwab <schwab@linux-m68k.org>
504 * sysdeps/unix/sysv/linux/m68k/configure.in: Set
505 arch_minimum_kernel, libc_cv_gcc_unwind_find_fde and
508 2012-01-05 Andreas Schwab <schwab@linux-m68k.org>
510 * sysdeps/m68k/dl-trampoline.S: Add cfi directives.
511 * sysdeps/m68k/memchr.S: Likewise.
512 * sysdeps/m68k/rawmemchr.S: Likewise.
513 * sysdeps/m68k/strchr.S: Likewise.
514 * sysdeps/m68k/strchrnul.S: Likewise.
515 * sysdeps/m68k/m680x0/add_n.S: Likewise.
516 * sysdeps/m68k/m680x0/lshift.S: Likewise.
517 * sysdeps/m68k/m680x0/rshift.S: Likewise.
518 * sysdeps/m68k/m680x0/sub_n.S: Likewise.
519 * sysdeps/m68k/m680x0/m68020/addmul_1.S: Likewise.
520 * sysdeps/m68k/m680x0/m68020/mul_1.S: Likewise.
521 * sysdeps/m68k/m680x0/m68020/submul_1.S: Likewise.
522 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
523 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Likewise.
524 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
525 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
526 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
527 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
528 * sysdeps/m68k/sysdep.h (CALL_MCOUNT): Likewise.
529 (ENTRY): Add cfi_startproc.
530 (END): Add cfi_endproc.
531 * sysdeps/unix/sysv/linux/m68k/coldfire/m68k-helpers.S: Remove
532 cfi_startproc/cfi_endproc.
533 * sysdeps/unix/sysv/linux/m68k/m680x0/m68k-helpers.S: Likewise.
534 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h (PSEUDO):
537 2011-12-23 Andreas Schwab <schwab@linux-m68k.org>
539 * sysdeps/m68k/bits/byteswap.h (__bswap_constant_64): Protect long
540 long constant with __extension__.
542 2011-12-04 Thorsten Glaser <tg@mirbsd.de>
544 * sysdeps/unix/sysv/linux/m68k/syscall.S: Allow six arguments.
546 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
548 * sysdeps/m68k/stackinfo.h (stackinfo_get_sp, stackinfo_sub_sp):
551 2011-10-26 Andreas Schwab <schwab@linux-m68k.org>
553 * sysdeps/m68k/m680x0/fpu/math_private.h: New file.
555 * sysdeps/m68k/m680x0/fpu/sincostab.c: New file.
557 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
559 * sysdeps/m68k/coldfire/fpu/e_sqrt.c: Add __sqrt_finite alias.
560 * sysdeps/m68k/coldfire/fpu/e_sqrtf.c: Add __sqrtf_finite alias.
562 * sysdeps/m68k/m680x0/fpu/e_exp.c (FUNC_FINITE): Define.
563 * sysdeps/m68k/m680x0/fpu/e_expf.c (FUNC_FINITE): Define.
564 * sysdeps/m68k/m680x0/fpu/e_expl.c (FUNC_FINITE): Define.
566 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
568 * sysdeps/m68k/m680x0/fpu/s_ccos.c: Remove.
569 * sysdeps/m68k/m680x0/fpu/s_ccosf.c: Remove.
570 * sysdeps/m68k/m680x0/fpu/s_ccosl.c: Remove.
572 2011-10-13 Andreas Schwab <schwab@linux-m68k.org>
574 * sysdeps/m68k/m680x0/fpu/e_acos.c: Add __*_finite alias.
575 * sysdeps/m68k/m680x0/fpu/e_acosf.c: Likewise.
576 * sysdeps/m68k/m680x0/fpu/e_acosl.c: Likewise.
577 * sysdeps/m68k/m680x0/fpu/e_asin.c: Likewise.
578 * sysdeps/m68k/m680x0/fpu/e_asinl.c: Likewise.
579 * sysdeps/m68k/m680x0/fpu/e_asinf.c: Likewise.
580 * sysdeps/m68k/m680x0/fpu/e_atan2.c: Likewise.
581 * sysdeps/m68k/m680x0/fpu/e_atanh.c: Likewise.
582 * sysdeps/m68k/m680x0/fpu/e_atanhf.c: Likewise.
583 * sysdeps/m68k/m680x0/fpu/e_atanhl.c: Likewise.
584 * sysdeps/m68k/m680x0/fpu/e_cosh.c: Likewise.
585 * sysdeps/m68k/m680x0/fpu/e_coshf.c: Likewise.
586 * sysdeps/m68k/m680x0/fpu/e_coshl.c: Likewise.
587 * sysdeps/m68k/m680x0/fpu/e_exp10.c: Likewise.
588 * sysdeps/m68k/m680x0/fpu/e_exp10f.c: Likewise.
589 * sysdeps/m68k/m680x0/fpu/e_exp10l.c: Likewise.
590 * sysdeps/m68k/m680x0/fpu/e_exp2.c: Likewise.
591 * sysdeps/m68k/m680x0/fpu/e_exp2l.c: Likewise.
592 * sysdeps/m68k/m680x0/fpu/e_exp2f.c: Likewise.
593 * sysdeps/m68k/m680x0/fpu/e_fmod.c: Likewise.
594 * sysdeps/m68k/m680x0/fpu/e_fmodf.c: Likewise.
595 * sysdeps/m68k/m680x0/fpu/e_fmodl.c: Likewise.
596 * sysdeps/m68k/m680x0/fpu/e_log.c: Likewise.
597 * sysdeps/m68k/m680x0/fpu/e_logl.c: Likewise.
598 * sysdeps/m68k/m680x0/fpu/e_logf.c: Likewise.
599 * sysdeps/m68k/m680x0/fpu/e_log10.c: Likewise.
600 * sysdeps/m68k/m680x0/fpu/e_log10f.c: Likewise.
601 * sysdeps/m68k/m680x0/fpu/e_log10l.c: Likewise.
602 * sysdeps/m68k/m680x0/fpu/e_log2.c: Likewise.
603 * sysdeps/m68k/m680x0/fpu/e_log2f.c: Likewise.
604 * sysdeps/m68k/m680x0/fpu/e_log2l.c: Likewise.
605 * sysdeps/m68k/m680x0/fpu/e_pow.c: Likewise.
606 * sysdeps/m68k/m680x0/fpu/e_remainder.c: Likewise.
607 * sysdeps/m68k/m680x0/fpu/e_remainderl.c: Likewise.
608 * sysdeps/m68k/m680x0/fpu/e_remainderf.c: Likewise.
609 * sysdeps/m68k/m680x0/fpu/e_scalb.c: Likewise.
610 * sysdeps/m68k/m680x0/fpu/e_sinh.c: Likewise.
611 * sysdeps/m68k/m680x0/fpu/e_sinhf.c: Likewise.
612 * sysdeps/m68k/m680x0/fpu/e_sinhl.c: Likewise.
613 * sysdeps/m68k/m680x0/fpu/e_sqrt.c: Likewise.
614 * sysdeps/m68k/m680x0/fpu/e_sqrtf.c: Likewise.
615 * sysdeps/m68k/m680x0/fpu/e_sqrtl.c: Likewise.
617 2011-10-09 Andreas Schwab <schwab@linux-m68k.org>
619 * sysdeps/m68k/m680x0/s_isinfl.c: Remove.
620 * sysdeps/m68k/m680x0/s_isnanl.c: Remove.
622 2011-10-05 Andreas Schwab <schwab@redhat.com>
624 * sysdeps/m68k/dl-machine.h (elf_machine_rela)
625 (elf_machine_lazy_rel): Add parameter skip_ifunc.
627 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
629 * sysdeps/m68k/nptl/tls.h: Don't define USE_TLS.
630 * sysdeps/m68k/dl-machine.h: Remove use of USE_TLS.
631 * sysdeps/m68k/libc-tls.c: Likewise.
633 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Remove use of
636 2011-06-23 Andreas Schwab <schwab@linux-m68k.org>
638 * sysdeps/m68k/dl-trampoline.S (_dl_runtime_profile)
639 [__mcoldfire__]: Fix typo saving %fp0.
641 2011-04-11 Andreas Schwab <schwab@linux-m68k.org>
643 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Define.
645 2011-04-03 Andreas Schwab <schwab@linux-m68k.org>
647 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Update comments.
649 (struct file_handle, MAX_HANDLE_SZ): Define.
650 (name_to_handle_at, open_by_handle_at): Declare.
652 2011-03-06 Andreas Schwab <schwab@linux-m68k.org>
654 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
655 (__bswap_64): Implement as inline functions.
657 2011-01-18 Andreas Schwab <schwab@linux-m68k.org>
659 * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MADV_HUGEPAGE)
660 (MADV_NOHUGEPAGE): Define.
662 2011-01-10 Andreas Schwab <schwab@linux-m68k.org>
664 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h (sem_t):
667 2010-12-26 Andreas Schwab <schwab@linux-m68k.org>
669 * sysdeps/m68k/stackinfo.h (DEFAULT_STACK_PERMS): Define.
671 2010-11-05 Andreas Schwab <schwab@linux-m68k.org>
673 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Include
676 2010-10-11 Andreas Schwab <schwab@linux-m68k.org>
678 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Remove fma inlines.
680 * sysdeps/m68k/fpu/feupdateenv.c (feupdateenv): Add
682 * sysdeps/m68k/fpu/ftestexcept.c (feupdateenv): Add
685 2010-08-25 Andreas Schwab <schwab@linux-m68k.org>
687 * sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h
688 (SYSCALL_ERROR_LOAD_GOT): Use & instead of #.
690 2010-08-17 Andreas Schwab <schwab@linux-m68k.org>
692 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove
695 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
697 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add prlimit64,
698 fanotify_init, fanotify_mask.
700 2010-08-02 Andreas Schwab <schwab@linux-m68k.org>
702 * sysdeps/m68k/coldfire/sysdep.h: New file.
704 * sysdeps/m68k/m680x0/sysdep.h: New file.
706 * sysdeps/m68k/sysdep.h (PCREL_OP): Don't define here.
707 * sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h: New file.
708 (SYSCALL_ERROR_LOAD_GOT): Define.
709 * sysdeps/unix/sysv/linux/m68k/m680x0/sysdep.h: New file.
710 (SYSCALL_ERROR_LOAD_GOT): Define.
711 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't include subordinate
713 (SYSCALL_ERROR_HANDLER) [PIC && USE___THREAD]: Use
714 SYSCALL_ERROR_LOAD_GOT.
716 2010-06-24 Joseph Myers <joseph@codesourcery.com>
718 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETPIPE_SZ,
719 F_GETPIPE_SZ): Define.
721 2010-06-13 Andreas Schwab <schwab@linux-m68k.org>
723 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Mark all functions as
726 * sysdeps/unix/sysv/linux/m68k/sys/user.h (NBPG, UPAGES)
727 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Define.
729 2010-06-11 Andreas Schwab <schwab@linux-m68k.org>
731 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Force
732 alignment of futex variables.
734 2010-05-22 Andreas Schwab <schwab@linux-m68k.org>
736 * data/c++-types-m68k-linux-gnu.data: New file.
737 * data/localplt-m68k-linux-gnu.data: New file.
739 2010-03-13 Andreas Schwab <schwab@linux-m68k.org>
741 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Use signbit macro.
742 * sysdeps/m68k/m680x0/fpu/s_ccos.c: Likewise.
744 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__signbit)
745 (__signbitf, __signbitl): Always define as inline.
747 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
748 Add variant for USE__THREAD.
750 2010-03-12 Andreas Schwab <schwab@linux-m68k.org>
752 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Don't include
755 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Renamed ...
756 * sysdeps/unix/sysv/linux/m68k/coldfire/m68k-helpers.S: ... to
758 * sysdeps/unix/sysv/linux/m68k/m680x0/m68k-helpers.S: New file.
760 2010-03-09 Maxim Kuvyrkov <maxim@codesourcery.com>
762 NPTL support for m68k/ColdFire
763 * sysdeps/unix/sysv/linux/m68k/sysdep.h (tls.h): Include.
764 (INTERNAL_SYSCALL): Convert to INTERNAL_SYSCALL_NCS.
765 (PTR_MANGLE, PTR_DEMANGLE): Define.
766 (NEED_STATIC_SYSINFO_DSO): Define.
767 * sysdeps/unix/sysv/linux/m68k/clone.S: Support RESET_PID.
768 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: New.
769 * sysdeps/unix/sysv/linux/m68k/Makefile: Add new files to lists.
770 * sysdeps/unix/sysv/linux/m68k/vfork.S: Add SAVE_PID/RESTORE_PID.
771 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: New.
772 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: New.
773 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: New.
774 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: New.
775 * sysdeps/unix/sysv/linux/m68k/Versions: Add symbols for NPTL support.
776 * sysdeps/unix/sysv/linux/m68k/init-first.c: New.
777 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: New.
778 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: New.
779 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: New.
780 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: New.
781 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: New.
782 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: New.
783 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: New.
784 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: New.
785 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: New.
786 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: New.
787 * sysdeps/unix/sysv/linux/m68k/socket.S: Update cancelation code.
788 * sysdeps/m68k/dl-tls.h: New.
789 * sysdeps/m68k/libc-tls.c: New.
790 * sysdeps/m68k/tls-macros.h: New.
791 * sysdeps/m68k/dl-machine.h (RTLD_START): Terminate stack frame to
792 generate better backtraces.
793 (elf_machine_type_class, elf_machine_rela): Handle TLS relocations.
794 * sysdeps/m68k/dl-machine.h: Handle TLS relocations.
795 * sysdeps/m68k/nptl/tcb-offsets.sym: New.
796 * sysdeps/m68k/nptl/pthread_spin_trylock.c: New.
797 * sysdeps/m68k/nptl/tls.h: New.
798 * sysdeps/m68k/nptl/pthread_spin_lock.c: New.
799 * sysdeps/m68k/nptl/pthreaddef.h: New.
800 * sysdeps/m68k/nptl/Makefile: New.
802 * sysdeps/unix/sysv/linux/m68k/bits/sigcontext.h: Remove.
803 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Update.
805 * sysdeps/unix/sysv/linux/m68k/bits/siginfo.h: Remove.
807 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ)
808 (_jmpbuf_sp, _JMPBUF_UNWINDS_ADJ, __libc_unwind_longjmp): Define.
810 2010-02-10 Joseph Myers <joseph@codesourcery.com>
812 * sysdeps/m68k/fpu/fegetenv.c: Add hidden alias.
814 2010-01-11 Joseph Myers <joseph@codesourcery.com>
816 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Fix double-inclusion
819 2010-01-10 Joseph Myers <joseph@codesourcery.com>
821 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Define O_DIRECTORY,
822 O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
824 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Enable using from
827 2009-12-16 Joseph Myers <joseph@codesourcery.com>
830 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Define POLLRDNORM,
831 POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
833 2009-12-16 Joseph Myers <joseph@codesourcery.com>
835 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Redefine O_SYNC and
836 O_DSYNC to match 2.6.33+ kernels.
838 2009-11-23 Andreas Schwab <schwab@linux-m68k.org>
840 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Use struct timespec
841 for timestamps also if __USE_XOPEN2K8.
843 2009-11-19 Joseph Myers <joseph@codesourcery.com>
845 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Introduce new symbol
846 F_OWNER_PGRP and mark F_OWNER_GID obsolete.
848 2009-11-18 Joseph Myers <joseph@codesourcery.com>
850 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Change misleading
851 names of parameters of sync_file_range.
853 2009-11-17 Joseph Myers <joseph@codesourcery.com>
856 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add new MADV_*
857 constants from recent kernels.
859 2009-11-15 Andreas Schwab <schwab@linux-m68k.org>
861 * sysdeps/m68k/libgcc_s.h: New file.
863 2009-11-14 Andreas Schwab <schwab@linux-m68k.org>
865 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN_EX)
866 (F_GETOWN_EX, F_OWNER_TID, F_OWNER_PID, F_OWNER_GID, f_owner_ex):
869 2009-11-07 Joseph Myers <joseph@codesourcery.com>
871 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (fallocate): Fix types
872 of last two arguments when -D_FILE_OFFSET_BITS=64.
874 2009-10-30 Joseph Myers <joseph@codesourcery.com>
877 * sysdeps/unix/sysv/linux/m68k/fchownat.c (fchownat): Fix handling
878 of empty parameters for file names.
880 2009-09-06 Andreas Schwab <schwab@linux-m68k.org>
882 * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c: New file.
884 * sysdeps/m68k/__longjmp.c (__longjmp): Call CHECK_SP if defined.
886 2009-05-16 Joseph Myers <joseph@codesourcery.com>
888 * sysdeps/unix/sysv/linux/m68k/Versions (libc): Add
889 fallocate64@@GLIBC_2.11.
891 2009-04-25 Andreas Schwab <schwab@linux-m68k.org>
893 * sysdeps/unix/sysv/linux/m68k/kernel-features.h: Revert last
894 change, the syscalls have been added to 2.6.30-rc4.
896 2009-04-18 Joseph Myers <joseph@codesourcery.com>
898 * sysdeps/unix/sysv/linux/m68k/kernel-features.h (__ASSUME_PREADV,
899 __ASSUME_PWRITEV): Undefine.
901 2009-03-17 Joseph Myers <joseph@codesourcery.com>
903 * sysdeps/unix/sysv/linux/m68k/getsysstats.c (GET_NPROCS_PARSER):
904 Change parameters and use next_line.
906 2009-03-15 Joseph Myers <joseph@codesourcery.com>
908 * sysdeps/m68k/bits/link.h: Uglify function parameter names.
910 2009-03-04 Joseph Myers <joseph@codesourcery.com>
912 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Declare
915 2009-02-26 Joseph Myers <joseph@codesourcery.com>
917 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Protect UTIME_NOW and
918 UTIME_OMIT only with __USE_ATFILE.
920 2008-08-10 Joseph Myers <joseph@codesourcery.com>
922 * sysdeps/m68k/bits/byteswap.h: Allow inclusion from <endian.h>.
923 (__bswap_constant_16): Define.
924 (__bswap_16): Allow arguments with side effects.
925 (__bswap_constant_32): Ensure result is unsigned.
926 (__bswap_32): Define as inline function in fallback case.
927 (__bswap_constant_64): Define.
928 (__bswap_64): Use it for constant arguments.
929 * sysdeps/m68k/bits/setjmp.h (__jmp_buf): Give name to structure
931 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Only allow inclusion
932 from <math.h>. Do not use extern inline directly.
933 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Include <bits/uio.h>.
934 (O_CLOEXEC, SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE,
935 SYNC_FILE_RANGE_WAIT_AFTER, SPLICE_F_MOVE, SPLICE_F_NONBLOCK,
936 SPLICE_F_MORE, SPLICE_F_GIFT): Define.
937 (sync_file_range, vmsplice, splice, tee): Declare.
938 * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MADV_REMOVE): Define.
939 * sysdeps/unix/sysv/linux/m68k/bits/poll.h (POLLMSG, POLLREMOVE,
941 * sysdeps/unix/sysv/linux/m68k/bits/stat.h (UTIME_NOW,
943 * sysdeps/unix/sysv/linux/m68k/kernel-features.h: New.
944 * sysdeps/unix/sysv/linux/m68k/sys/user.h: New.
946 2008-03-28 Maxim Kuvyrkov <maxim@codesourcery.com>
948 Explicitly get address of _DYNAMIC.
949 * sysdeps/m68k/dl-machine.h (elf_machine_dynamic): Retrieve _DYNAMIC
950 from GOT instead of assuming value at GOT pointer.
952 2007-10-22 Daniel Jacobowitz <dan@codesourcery.com>
954 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
956 2007-07-10 Daniel Jacobowitz <dan@codesourcery.com>
958 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Comment fix.
960 2006-11-28 Andreas Schwab <schwab@suse.de>
962 * sysdeps/unix/sysv/linux/m68k/sysdep.h (DOARGS_6, _DOARGS_6)
963 (UNDOARGS_6): Define for 6-argument syscall stubs.
965 2006-10-03 Andreas Schwab <schwab@suse.de>
967 * sysdeps/m68k/setjmp.c: Use __builtin_return_address and
968 __builtin_frame_address. Don't call __sigjmp_save in ld.so.
970 * sysdeps/unix/sysv/linux/m68k/mremap.S: Accept fifth parameter.
972 2006-10-03 Richard Sandiford <richard@codesourcery.com>
974 * sysdeps/m68k/bits/mathdef.h: Moved from sysdeps/m68k to
976 * sysdeps/m68k/m68020/submul_1.S: Likewise.
977 * sysdeps/m68k/m68020/Makefile: Likewise.
978 * sysdeps/m68k/m68020/mul_1.S: Likewise.
979 * sysdeps/m68k/m68020/wordcopy.S: Likewise.
980 * sysdeps/m68k/m68020/addmul_1.S: Likewise.
981 * sysdeps/m68k/m68020/bits/string.h: Likewise.
982 * sysdeps/m68k/m68020/bits/atomic.h: Likewise.
983 * sysdeps/m68k/sub_n.S: Likewise.
984 * sysdeps/m68k/add_n.S: Likewise.
985 * sysdeps/m68k/s_isnanl.c: Likewise.
986 * sysdeps/m68k/fpu/s_log1p.c: Likewise.
987 * sysdeps/m68k/fpu/e_asinf.c: Likewise.
988 * sysdeps/m68k/fpu/s_cosl.c: Likewise.
989 * sysdeps/m68k/fpu/s_isinff.c: Likewise.
990 * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
991 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
992 * sysdeps/m68k/fpu/s_expm1.c: Likewise.
993 * sysdeps/m68k/fpu/slowexp.c: Likewise.
994 * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
995 * sysdeps/m68k/fpu/s_ccoshf.c: Likewise.
996 * sysdeps/m68k/fpu/s_ilogbl.c: Likewise.
997 * sysdeps/m68k/fpu/Makefile: Likewise.
998 * sysdeps/m68k/fpu/s_expm1f.c: Likewise.
999 * sysdeps/m68k/fpu/s_significandf.c: Likewise.
1000 * sysdeps/m68k/fpu/e_pow.c: Likewise.
1001 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
1002 * sysdeps/m68k/fpu/e_exp.c: Likewise.
1003 * sysdeps/m68k/fpu/s_remquof.c: Likewise.
1004 * sysdeps/m68k/fpu/s_ilogbf.c: Likewise.
1005 * sysdeps/m68k/fpu/s_truncl.c: Likewise.
1006 * sysdeps/m68k/fpu/s_frexpf.c: Likewise.
1007 * sysdeps/m68k/fpu/s_cos.c: Likewise.
1008 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1009 * sysdeps/m68k/fpu/branred.c: Likewise.
1010 * sysdeps/m68k/fpu/s_frexpl.c: Likewise.
1011 * sysdeps/m68k/fpu/s_atan.c: Likewise.
1012 * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
1013 * sysdeps/m68k/fpu/e_scalbl.c: Likewise.
1014 * sysdeps/m68k/fpu/e_exp2.c: Likewise.
1015 * sysdeps/m68k/fpu/s_cexpf.c: Likewise.
1016 * sysdeps/m68k/fpu/mplog.c: Likewise.
1017 * sysdeps/m68k/fpu/s_rintf.c: Likewise.
1018 * sysdeps/m68k/fpu/s_tanh.c: Likewise.
1019 * sysdeps/m68k/fpu/e_scalbf.c: Likewise.
1020 * sysdeps/m68k/fpu/s_csinhl.c: Likewise.
1021 * sysdeps/m68k/fpu/s_floorl.c: Likewise.
1022 * sysdeps/m68k/fpu/k_tanf.c: Likewise.
1023 * sysdeps/m68k/fpu/k_tanl.c: Likewise.
1024 * sysdeps/m68k/fpu/e_fmodf.c: Likewise.
1025 * sysdeps/m68k/fpu/e_atanhf.c: Likewise.
1026 * sysdeps/m68k/fpu/s_isnanf.c: Likewise.
1027 * sysdeps/m68k/fpu/s_fpclassifyl.c: Likewise.
1028 * sysdeps/m68k/fpu/s_modf.c: Likewise.
1029 * sysdeps/m68k/fpu/e_log2.c: Likewise.
1030 * sysdeps/m68k/fpu/e_acosf.c: Likewise.
1031 * sysdeps/m68k/fpu/s_log1pl.c: Likewise.
1032 * sysdeps/m68k/fpu/e_log2f.c: Likewise.
1033 * sysdeps/m68k/fpu/mpa.c: Likewise.
1034 * sysdeps/m68k/fpu/t_exp.c: Likewise.
1035 * sysdeps/m68k/fpu/e_acos.c: Likewise.
1036 * sysdeps/m68k/fpu/s_expm1l.c: Likewise.
1037 * sysdeps/m68k/fpu/s_ccoshl.c: Likewise.
1038 * sysdeps/m68k/fpu/s_sinf.c: Likewise.
1039 * sysdeps/m68k/fpu/k_tan.c: Likewise.
1040 * sysdeps/m68k/fpu/k_cosl.c: Likewise.
1041 * sysdeps/m68k/fpu/e_remainder.c: Likewise.
1042 * sysdeps/m68k/fpu/s_trunc.c: Likewise.
1043 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
1044 * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
1045 * sysdeps/m68k/fpu/s_finitef.c: Likewise.
1046 * sysdeps/m68k/fpu/s_tanhl.c: Likewise.
1047 * sysdeps/m68k/fpu/s_lrintl.c: Likewise.
1048 * sysdeps/m68k/fpu/slowpow.c: Likewise.
1049 * sysdeps/m68k/fpu/mpexp.c: Likewise.
1050 * sysdeps/m68k/fpu/s_isnanl.c: Likewise.
1051 * sysdeps/m68k/fpu/e_expf.c: Likewise.
1052 * sysdeps/m68k/fpu/s_significand.c: Likewise.
1053 * sysdeps/m68k/fpu/e_sinhf.c: Likewise.
1054 * sysdeps/m68k/fpu/s_tanl.c: Likewise.
1055 * sysdeps/m68k/fpu/s_tanhf.c: Likewise.
1056 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
1057 * sysdeps/m68k/fpu/e_sqrtf.c: Likewise.
1058 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
1059 * sysdeps/m68k/fpu/s_nearbyint.c: Likewise.
1060 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
1061 * sysdeps/m68k/fpu/sincos32.c: Likewise.
1062 * sysdeps/m68k/fpu/e_sqrtl.c: Likewise.
1063 * sysdeps/m68k/fpu/s_sincosl.c: Likewise.
1064 * sysdeps/m68k/fpu/e_atan2f.c: Likewise.
1065 * sysdeps/m68k/fpu/s_nearbyintf.c: Likewise.
1066 * sysdeps/m68k/fpu/e_fmodl.c: Likewise.
1067 * sysdeps/m68k/fpu/e_coshf.c: Likewise.
1068 * sysdeps/m68k/fpu/s_csinf.c: Likewise.
1069 * sysdeps/m68k/fpu/s_ccosl.c: Likewise.
1070 * sysdeps/m68k/fpu/e_sqrt.c: Likewise.
1071 * sysdeps/m68k/fpu/s_sin.c: Likewise.
1072 * sysdeps/m68k/fpu/e_asin.c: Likewise.
1073 * sysdeps/m68k/fpu/mptan.c: Likewise.
1074 * sysdeps/m68k/fpu/e_exp10f.c: Likewise.
1075 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
1076 * sysdeps/m68k/fpu/s_finitel.c: Likewise.
1077 * sysdeps/m68k/fpu/e_log10.c: Likewise.
1078 * sysdeps/m68k/fpu/k_sinl.c: Likewise.
1079 * sysdeps/m68k/fpu/e_remainderl.c: Likewise.
1080 * sysdeps/m68k/fpu/s_remquol.c: Likewise.
1081 * sysdeps/m68k/fpu/s_scalblnf.c: Likewise.
1082 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
1083 * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
1084 * sysdeps/m68k/fpu/e_asinl.c: Likewise.
1085 * sysdeps/m68k/fpu/e_logl.c: Likewise.
1086 * sysdeps/m68k/fpu/s_cosf.c: Likewise.
1087 * sysdeps/m68k/fpu/s_rint.c: Likewise.
1088 * sysdeps/m68k/fpu/s_ceill.c: Likewise.
1089 * sysdeps/m68k/fpu/s_modfl.c: Likewise.
1090 * sysdeps/m68k/fpu/s_csinl.c: Likewise.
1091 * sysdeps/m68k/fpu/s_tan.c: Likewise.
1092 * sysdeps/m68k/fpu/s_sincosf.c: Likewise.
1093 * sysdeps/m68k/fpu/dosincos.c: Likewise.
1094 * sysdeps/m68k/fpu/e_powl.c: Likewise.
1095 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
1096 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
1097 * sysdeps/m68k/fpu/e_expl.c: Likewise.
1098 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
1099 * sysdeps/m68k/fpu/s_tanf.c: Likewise.
1100 * sysdeps/m68k/fpu/mpsqrt.c: Likewise.
1101 * sysdeps/m68k/fpu/s_sinl.c: Likewise.
1102 * sysdeps/m68k/fpu/mathimpl.h: Likewise.
1103 * sysdeps/m68k/fpu/e_acosl.c: Likewise.
1104 * sysdeps/m68k/fpu/e_cosh.c: Likewise.
1105 * sysdeps/m68k/fpu/s_cexpl.c: Likewise.
1106 * sysdeps/m68k/fpu/s_fabsl.c: Likewise.
1107 * sysdeps/m68k/fpu/halfulp.c: Likewise.
1108 * sysdeps/m68k/fpu/s_modff.c: Likewise.
1109 * sysdeps/m68k/fpu/s_isnan.c: Likewise.
1110 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
1111 * sysdeps/m68k/fpu/s_fabs.c: Likewise.
1112 * sysdeps/m68k/fpu/e_log10f.c: Likewise.
1113 * sysdeps/m68k/fpu/k_cosf.c: Likewise.
1114 * sysdeps/m68k/fpu/e_sinh.c: Likewise.
1115 * sysdeps/m68k/fpu/s_truncf.c: Likewise.
1116 * sysdeps/m68k/fpu/s_ceil.c: Likewise.
1117 * sysdeps/m68k/fpu/s_log1pf.c: Likewise.
1118 * sysdeps/m68k/fpu/e_logf.c: Likewise.
1119 * sysdeps/m68k/fpu/mpatan.c: Likewise.
1120 * sysdeps/m68k/fpu/s_csin.c: Likewise.
1121 * sysdeps/m68k/fpu/e_exp2l.c: Likewise.
1122 * sysdeps/m68k/fpu/e_sinhl.c: Likewise.
1123 * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
1124 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
1125 * sysdeps/m68k/fpu/s_floorf.c: Likewise.
1126 * sysdeps/m68k/fpu/e_log2l.c: Likewise.
1127 * sysdeps/m68k/fpu/s_atanl.c: Likewise.
1128 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
1129 * sysdeps/m68k/fpu/k_sinf.c: Likewise.
1130 * sysdeps/m68k/fpu/s_csinhf.c: Likewise.
1131 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
1132 * sysdeps/m68k/fpu/s_atanf.c: Likewise.
1133 * sysdeps/m68k/fpu/s_floor.c: Likewise.
1134 * sysdeps/m68k/fpu/e_exp10l.c: Likewise.
1135 * sysdeps/m68k/fpu/doasin.c: Likewise.
1136 * sysdeps/m68k/fpu/s_rintl.c: Likewise.
1137 * sysdeps/m68k/fpu/e_atanhl.c: Likewise.
1138 * sysdeps/m68k/fpu/e_remainderf.c: Likewise.
1139 * sysdeps/m68k/fpu/s_scalbln.c: Likewise.
1140 * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
1141 * sysdeps/m68k/fpu/e_exp10.c: Likewise.
1142 * sysdeps/m68k/fpu/s_lrintf.c: Likewise.
1143 * sysdeps/m68k/fpu/k_cos.c: Likewise.
1144 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
1145 * sysdeps/m68k/fpu/s_ccosf.c: Likewise.
1146 * sysdeps/m68k/fpu/s_scalblnl.c: Likewise.
1147 * sysdeps/m68k/fpu/switch/Makefile: Likewise.
1148 * sysdeps/m68k/fpu/switch/switch.c: Likewise.
1149 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
1150 * sysdeps/m68k/fpu/switch/bits/mathinline.h: Likewise.
1151 * sysdeps/m68k/fpu/e_log.c: Likewise.
1152 * sysdeps/m68k/fpu/s_nextafterl.c: Likewise.
1153 * sysdeps/m68k/fpu/s_nearbyintl.c: Likewise.
1154 * sysdeps/m68k/fpu/mpatan2.c: Likewise.
1155 * sysdeps/m68k/fpu/k_sin.c: Likewise.
1156 * sysdeps/m68k/fpu/e_atanh.c: Likewise.
1157 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
1158 * sysdeps/m68k/fpu/e_log10l.c: Likewise.
1159 * sysdeps/m68k/fpu/s_ceilf.c: Likewise.
1160 * sysdeps/m68k/fpu/s_fabsf.c: Likewise.
1161 * sysdeps/m68k/fpu/s_significandl.c: Likewise.
1162 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
1163 * sysdeps/m68k/fpu/e_coshl.c: Likewise.
1164 * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
1165 * sysdeps/m68k/fpu/s_finite.c: Likewise.
1166 * sysdeps/m68k/fpu/e_exp2f.c: Likewise.
1167 * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
1168 * sysdeps/m68k/fpu/s_isinfl.c: Likewise.
1169 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
1170 * sysdeps/m68k/fpu/e_powf.c: Likewise.
1171 * sysdeps/m68k/rshift.S: Likewise.
1172 * sysdeps/m68k/lshift.S: Likewise.
1173 * sysdeps/m68k/strtold_l.c: Likewise.
1174 * sysdeps/m68k/printf_fphex.c: Likewise.
1175 * sysdeps/m68k/s_isinfl.c: Likewise.
1176 * sysdeps/m68k/bits/huge_vall.h: Likewise.
1178 * sysdeps/m68k/asm-syntax.h (andw, andl, subqw, tstw, tstl): New.
1179 * sysdeps/m68k/bits/byteswap.h (__bswap32): Don't define for
1181 * sysdeps/m68k/bits/setjmp.h (__jmp_buf): Add a 64-byte
1182 __fpregs field for Coldfire FPUs.
1183 * sysdeps/m68k/dl-machine.h: Include sysdep.h.
1184 (elf_machine_load_address): Use PCREL_OP.
1185 (_dl_start_user): Likewise.
1186 * sysdeps/m68k/dl-trampoline.S (_dl_runtime_resolve): Avoid jmp (%dN)
1187 on Coldfire; push the target address and use rts instead.
1188 (_dl_runtime_profile): Likewise. Round up the frame size to longword
1189 rather than word alignment. Avoid dbra on Coldfire. Avoid using
1190 jsr (%d0) on Coldfire; push the return address and target address
1191 and use rts instead. Use fmovem.l rather than fmovem.x on Coldfire.
1192 Add missing initialization of lrv_a0 and restore a0 from it after
1193 calling _dl_call_pltexit. Adjust the stack offsets of later data
1194 accordingly, fixing a previously incorrect offset for the inregs
1196 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Save the control
1197 registers individually on Coldfire targets.
1198 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1199 Add missing libm_hidden_def.
1200 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Save and restore the
1201 control registers individually on Coldfire targets.
1202 * sysdeps/m68k/fpu/fesetround.c (fesetround): Add missing
1204 * sysdeps/m68k/fpu_control.h: Add the Coldfire bit assignments to
1206 (_FPU_DOUBLE): Define to 0 for Coldfire.
1207 (_FPU_EXTENDED): Don't define for Coldfire.
1208 (_FPU_RESERVED): Include bit 15 for Coldfire.
1209 * sysdeps/m68k/Implies: Remove ieee754/ldbl-96.
1210 * sysdeps/m68k/m680x0/Implies: Add it to this new file instead.
1211 * sysdeps/m68k/ldsodefs.h: New file.
1212 * sysdeps/m68k/__longjmp.c (__longjmp): Restore the floating-point
1213 registers when using a Coldfire FPU.
1214 * sysdeps/m68k/Makefile (long-double-fcts): Delete.
1215 * sysdeps/m68k/m680x0/Makefile: Add it to this new file instead.
1216 * sysdeps/m68k/memchr.S (__memchr): Add Coldfire code. Avoid
1218 * sysdeps/m68k/preconfigure (m680?0): Add "m680x0" to $machine.
1219 (m68k): Use the compiler to decide whether $machine should be
1220 set to m68k/coldfire or m68k/m680x0/m68020.
1221 * sysdeps/m68k/rawmemchr.S (__rawmemchr): Add Coldfire code. Avoid
1223 * sysdeps/m68k/setjmp.c (__sigsetjmp): Save the floating-point
1224 registers when using a Coldfire FPU. Use libc_hidden_def rather
1226 * sysdeps/m68k/strchrnul.S (__strchrnul): Add Coldfire code. Avoid
1228 * sysdeps/m68k/strchr.S (strchr): Likewise.
1229 * sysdeps/m68k/sysdep.h (PCREL_OP): Define.
1230 * sysdeps/m68k/tst-audit.h: New file.
1231 * sysdeps/m68k/wcpcpy.c: Likewise.
1232 * sysdeps/m68k/wcpcpy_chk.c: Likewise.
1233 * sysdeps/unix/sysv/linux/m68k/configure.in: New file.
1234 * sysdeps/unix/sysv/linux/m68k/configure: Likewise.
1235 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Add Coldfire code.
1236 * sysdeps/unix/sysv/linux/m68k/register-dump.h (real_catch_segfault):
1237 Do not define on Coldfire.
1238 (catch_segfault): Likewise.
1239 (register_dump): Use the Coldfire-specific sigcontext fields to
1240 display call-saved data and address registers (rather than the
1241 data stored in sc_fpstate by real_catch_segfault). Display 8-byte
1242 floating-point registers on Coldfire.
1243 * sysdeps/unix/sysv/linux/m68k/socket.S (__socket): Pass a temporary
1244 register to SINGLE_THREAD_P.
1245 * sysdeps/unix/sysv/linux/m68k/sys/reg.h (PT_FP0): Redefine for
1247 (PT_FP1, PT_FP2, PT_FP3, PT_FP4, PT_FP5, PT_FP6, PT_FP7): Likewise.
1248 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset): Sync field
1249 order with linux. Make f_fpregs an 8*2 array on Coldfire.
1250 (ucontext): Sync field order with linux.
1251 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Guard against multiple
1253 (SYSCALL_ERROR_HANDLER): Use PCREL_OP.
1254 * sysdeps/unix/sysv/linux/m68k/syscalls.list (oldgetrlimit): Delete.
1255 (oldsetrlimit): Likewise.
1256 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: New file.
1257 List oldgetrlimit and oldsetrlimit here instead.
1258 * sysdeps/unix/sysv/linux/m68k/bits/sigcontext.h: New file.
1259 * sysdeps/unix/sysv/linux/m68k/bits/siginfo.h: Likewise.
1260 * sysdeps/m68k/coldfire/bits/atomic.h: Likewise.
1261 * sysdeps/m68k/coldfire/fpu/e_sqrt.c: Likewise.
1262 * sysdeps/m68k/coldfire/fpu/e_sqrtf.c: Likewise.
1263 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c: Likewise.
1264 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1265 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Likewise.
1266 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Likewise.
1267 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Likewise.
1268 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Likewise.
1269 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
1270 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
1271 * sysdeps/m68k/coldfire/shlib-versions: Likewise.
1273 2006-02-28 Roland McGrath <roland@redhat.com>
1275 * sysdeps/m68k/preconfigure: New file.