NEWS: BZ#18319 was fixed in commit ed159672eb3cd650a32b7e5cb4d5ec1fe0e63802
[glibc.git] / ChangeLog.old-ports-m68k
blob74f9fb85cef85e8bebefb0537e70f8ac36ad6abb
1 This file describes changes to the M68K port while it was in the ports
2 add-on directory.  This port is no longer part of an add-on and so
3 future changes to it should be listed in the top-level ChangeLog file,
4 not here.
6 \f
8 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10         * sysdeps/m68k: Move directory to ../sysdeps/m68k.
11         * sysdeps/unix/sysv/linux/m68k: Move directory to
12         ../sysdeps/unix/sysv/linux/m68k.
14 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
16         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Regenerate.
18 2013-12-10  Andreas Schwab  <schwab@linux-m68k.org>
20         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Use
21         math_force_eval.
23         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h
24         (FUTEX_WAIT_REQEUE_PI, FUTEX_CMP_REQEUE_PI)
25         (lll_futex_wait_requeue_pi, lll_futex_timed_wait_requeue_pi)
26         (lll_futex_cmp_requeue_pi): Define.
28         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29         (__ASSUME_REQUEUE_PI, __ASSUME_SET_ROBUST_LIST): Undefine before
30         3.10.
32 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
34         * sysdeps/m68k/fpu/fegetround.c (fegetround): Use libm_hidden_def.
36 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
38         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Use __glibc_reserved
39         instead of __unused.
41 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
43         * sysdeps/unix/sysv/linux/m68k/configure.in: Moved to ...
44         * sysdeps/unix/sysv/linux/m68k/configure.ac: ... here.
45         * sysdeps/unix/sysv/linux/m68k/configure: Regenerated.
47 2013-10-08  Andreas Schwab  <schwab@suse.de>
49         * sysdeps/m68k/start.S [SHARED]: Use PIC.
51 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
53         * sysdeps/m68k/ffs.c (__ffs): Define as hidden.
55 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57         * sysdeps/unix/sysv/linux/m68k/mmap64.c: New file.
59 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
61         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c: Fix typos.
63 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
65         * sysdeps/unix/sysv/linux/m68k/dl-static.c: New file.
66         * sysdeps/unix/sysv/linux/m68k/ldsodefs.h: New file.
67         * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep-dl-routines)
68         (sysdep_routines, sysdep-rtld-routines) [$(subdir) = elf]: Add
69         dl-static.
70         * sysdeps/unix/sysv/linux/m68k/Versions (ld: GLIBC_PRIVATE): Add
71         _dl_var_init.
73 2013-07-03  Andreas Schwab  <schwab@linux-m68k.org>
75         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
77 2013-06-30  Joseph Myers  <joseph@codesourcery.com>
79         * sysdeps/m68k/dl-trampoline.S (FMOVE): Define conditional on
80         [__mcoldfire__] and [__mcffpu__].
81         (FPSPACE): Likewise.
82         (_dl_runtime_profile): Save and restore %fp0 with FMOVE, only if
83         [FMOVE].  Use FPSPACE in stack offsets.
85 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
87         * sysdeps/m68k/fpu_control.h: Fix preprocessor indentation.
89 2013-06-28  Nathan Sidwell  <nathan@codesourcery.com>
91         * sysdeps/m68k/fpu_control.h [__mcoldfire__ && !__mcffpu__]
92         (_FPU_RESERVED): Provide alternative definition.
93         [__mcoldfire__ && !__mcffpu__] (_FPU_DEFAULT): Likewise.
94         [__mcoldfire__ && !__mcffpu__] (_FPU_GETCW): Likewise.
95         [__mcoldfire__ && !__mcffpu__] (_FPU_SETCW): Likewise.
96         [!(__mcoldfire__ && !__mcffpu__)]: Make existing macro definitions
97         conditional.
99 2013-06-25  Andreas Schwab  <schwab@linux-m68k.org>
101         * sysdeps/m68k/sysdep.h (CALL_MCOUNT) [PROF]: Use %a6 instead of
102         %fp in cfi insns.
104 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
106         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
107         Update.
108         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
109         Likewise.
111 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
113         * sysdeps/unix/sysv/linux/m68k/getpagesize.c (__getpagesize): Use
114         (void) in function definition.
116 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
118         * sysdeps/unix/sysv/linux/m68k/socket.S: Remove trailing
119         whitespace.
121 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
123         [BZ #15465]
124         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Use
125         RTLD_PROGNAME.
127 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
129         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Update test names.
130         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
132 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
134         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Update names of sincos
135         tests.
136         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
138 2013-04-11  Andreas Schwab  <schwab@suse.de>
140         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update
142 2013-03-11  Andreas Schwab  <schwab@suse.de>
144         [BZ #15234]
145         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist
146         (GLIBC_2.4): Remove pthread_atfork.
148 2013-03-06  Andreas Jaeger  <aj@suse.de>
150         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Remove all defines
151         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
153 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
155         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Add
156         __cxa_thread_atexit_impl.
157         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist:
158         Likewise.
160 2013-02-08  Andreas Schwab  <schwab@linux-m68k.org>
162         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
163         (__ASSUME_O_CLOEXEC): Define for 2.6.23 or later.
164         (__ASSUME_SOCK_CLOEXEC, __ASSUME_IN_NONBLOCK, __ASSUME_PIPE2)
165         (__ASSUME_EVENTFD2, __ASSUME_SIGNALFD4, __ASSUME_DUP3): Define for
166         2.6.27 or later.
167         (__ASSUME_ACCEPT4): Define for 2.6.28 or later.
169 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
171         [BZ #13550]
172         * sysdeps/m68k/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
173         Remove alias.
175 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
177         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
179         * sysdeps/m68k/Makefile (CFLAGS-backtrace.c): Add -funwind-tables.
181 2013-01-19  Andreas Schwab  <schwab@linux-m68k.org>
183         * sysdeps/m68k/backtrace.c: New file.
185         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: New file.
186         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add waitpid.
188 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
190         * sysdeps/m68k/bits/byteswap.h (__bswap_64): Use __extension__
191         with long long.
193 2013-01-04  Andreas Schwab  <schwab@suse.de>
195         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
197 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
199         * sysdeps/m68k/m680x0/fpu/mathimpl.h: Fix copyright notice
200         formatting.
202         * All files with FSF copyright notices: Update copyright dates
203         using scripts/update-copyrights.
205 2012-11-30  Andreas Schwab  <schwab@linux-m68k.org>
207         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
209 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
211         * sysdeps/m68k/dl-trampoline.S (_dl_runtime_profile)
212         [__mcoldfire__]: Fix copying loop.
214         * sysdeps/m68k/sotruss-lib.c: New file.
216 2012-11-21  Andreas Schwab  <schwab@linux-m68k.org>
218         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h
219         (lll_futex_timed_wait_bitset): Remove use of
220         INTERNAL_SYSCALL_ERROR_P.
222 2012-11-20  Andreas Schwab  <schwab@linux-m68k.org>
224         * sysdeps/m68k/m680x0/fpu/s_atan.c (weak_aliasx): Remove
225         macro and use weak_alias directly.
226         * sysdeps/m68k/m680x0/fpu/s_ccosh.c (weak_aliasx): Likewise.
227         * sysdeps/m68k/m680x0/fpu/s_cexp.c (weak_aliasx): Likewise.
228         * sysdeps/m68k/m680x0/fpu/s_csin.c (weak_aliasx): Likewise.
229         * sysdeps/m68k/m680x0/fpu/s_csinh.c (weak_aliasx): Likewise.
230         * sysdeps/m68k/m680x0/fpu/s_expm1.c (weak_aliasx): Likewise.
231         * sysdeps/m68k/m680x0/fpu/s_frexp.c (weak_aliasx): Likewise.
232         * sysdeps/m68k/m680x0/fpu/s_lrint.c (weak_aliasx): Likewise.
233         * sysdeps/m68k/m680x0/fpu/s_modf.c (weak_aliasx): Likewise.
234         * sysdeps/m68k/m680x0/fpu/s_isinf.c (weak_aliasx): Likewise.
235         * sysdeps/m68k/m680x0/fpu/s_remquo.c (weak_aliasx): Likewise.
236         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (strong_aliasx, weak_aliasx):
237         Likewise.
238         * sysdeps/m68k/m680x0/fpu/s_sin.c (weak_aliasx): Likewise.
239         * sysdeps/m68k/m680x0/fpu/s_sincos.c (weak_aliasx): Likewise.
241 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
243         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h (_DOCARGS_5)
244         (UNDOCARGS_5): Save %d5 on stack instead of in %a1.
246 2012-11-15  Andreas Schwab  <schwab@linux-m68k.org>
248         * sysdeps/m68k/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS):
249         Define.
251 2012-11-06  Andreas Schwab  <schwab@linux-m68k.org>
253         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
255         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h
256         (lll_futex_timed_wait_bitset): Define.
258 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
260         * sysdeps/m68k/fpu/fclrexcpt.c (feclearexcept): Add
261         libm_hidden_ver.
263         [BZ #3439]
264         * sysdeps/m68k/fpu/bits/fenv.h (FE_INEXACT): Define macro to
265         integer constant usable in #if and use that to give value to enum
266         constant.
267         (FE_DIVBYZERO): Likewise.
268         (FE_UNDERFLOW): Likewise.
269         (FE_OVERFLOW): Likewise.
270         (FE_INVALID): Likewise.
271         (FE_TONEAREST): Likewise.
272         (FE_TOWARDZERO): Likewise.
273         (FE_DOWNWARD): Likewise.
274         (FE_UPWARD): Likewise.
276 2012-10-25  Andreas Jaeger  <aj@suse.de>
278         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Remove all
279         definitions and declarations that are provided by
280         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
282 2012-10-19  Roland McGrath  <roland@hack.frob.com>
284         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist:
285         (GLIBC_2.17): Add clock_* symbols.
286         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Likewise.
288 2012-10-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
290         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Fix clone
291         flag name in comment to CLONE_CHILD_CLEARTID.
293 2012-09-28  Roland McGrath  <roland@hack.frob.com>
295         * sysdeps/unix/sysv/linux/m68k/init-first.c: Include main file from
296         csu/ rather than sysdeps/unix/sysv/linux/.
298 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
300         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
301         (__ASSUME_STAT64_SYSCALL): Remove.
303 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
305         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
306         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
308 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
310         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
311         (__ASSUME_MMAP2_SYSCALL): Remove.
313 2012-08-15  Maxim Kuvyrkov  <maxim@codesourcery.com>
315         * sysdeps/m68k/nptl/pthread_spin_lock.c: Use generic code.
316         * sysdeps/m68k/nptl/pthread_spin_trylock.c: Remove, use generic version.
318 2012-08-10  Andreas Schwab  <schwab@linux-m68k.org>
320         * sysdeps/m68k/ldsodefs.h (m68k_gnu_pltenter): Remove const on
321         fifth parameter.
323 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
325         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
326         (__ASSUME_TGKILL): Remove.
328 2012-08-08  Andreas Schwab  <schwab@linux-m68k.org>
330         * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: New file.
332         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h
333         (atomic_compare_and_exchange_val_acq) [!SHARED]: Add cast to avoid
334         warning.
336 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
338         * sysdeps/unix/sysv/linux/m68k/configure.in (arch_minimum_kernel):
339         Remove.
340         * sysdeps/unix/sysv/linux/m68k/configure: Regenerated.
341         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
342         (__ASSUME_TGKILL): Define unconditionally.
343         (__ASSUME_UTIMES): Likewise.
344         (__ASSUME_FADVISE64_64_SYSCALL): Likewise.
346 2012-08-03  Andreas Schwab  <schwab@linux-m68k.org>
348         * sysdeps/m68k/sysdep.h (ALIGNARG, ASM_TYPE_DIRECTIVE)
349         (ASM_SIZE_DIRECTIVE): Remove.
350         (ENTRY, END): Use .p2align.  Use .type and .size instead of
351         ASM_TYPE_DIRECTIVE and ASM_SIZE_DIRECTIVE.
352         * sysdeps/m68k/asm-syntax.h (ALIGNARG, PROLOG, EPILOG, ALIGN)
353         (GLOBL): Remove unused macros.
355 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
357         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
358         (__ASSUME_FCNTL64): Remove.
360         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
361         (__ASSUME_VFORK_SYSCALL): Remove.
362         * sysdeps/unix/sysv/linux/m68k/vfork.S (__vfork) [__NR_vfork]:
363         Make code unconditional.
364         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
365         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
367 2012-08-01  Roland McGrath  <roland@hack.frob.com>
369         [BZ #14138]
370         * sysdeps/unix/sysv/linux/m68k/getrlimit.c: File removed.
372 2012-08-01  Andreas Schwab  <schwab@linux-m68k.org>
374         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
376 2012-07-26  Andreas Schwab  <schwab@linux-m68k.org>
378         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
380 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
382         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
383         (__ASSUME_MMAP2_SYSCALL): Define unconditionally.
384         (__ASSUME_STAT64_SYSCALL): Likewise.
385         (__ASSUME_FCNTL64): Likewise.
386         (__ASSUME_VFORK_SYSCALL): Likewise.
388 2012-07-25  Florian Weimer  <fweimer@redhat.com>
390         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist:
391         Add secure_getenv.
392         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist:
393         Likewise.
395 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
397         * data/localplt-m68k-linux-gnu.data: Move to ...
398         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: ... here.
400 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
402         * data/c++-types-m68k-linux-gnu.data: Move to ...
403         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: ... here.
405 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
407         * sysdeps/unix/sysv/linux/m68k/m680x0/Makefile: New file.
408         * sysdeps/unix/sysv/linux/m68k/m680x0/getcontext.S: New file.
409         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: New file.
410         * sysdeps/unix/sysv/linux/m68k/m680x0/setcontext.S: New file.
411         * sysdeps/unix/sysv/linux/m68k/m680x0/swapcontext.S: New file.
412         * sysdeps/unix/sysv/linux/m68k/m680x0/ucontext_i.sym: New file.
414 2012-07-09  Andreas Schwab  <schwab@linux-m68k.org>
416         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
418 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
420         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
421         (__ASSUME_TRUNCATE64_SYSCALL): Remove.
423         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Use
424         hidden_def instead of adding _internal alias.
426 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
428         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
429         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove.
431         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add chown.
432         * sysdeps/unix/sysv/linux/m68k/chown.c: Remove file.
434 2012-05-23  Andreas Schwab  <schwab@linux-m68k.org>
436         * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MADV_DONTDUMP)
437         (MADV_DODUMP): Define.
439 2012-05-21  Andreas Schwab  <schwab@linux-m68k.org>
441         * sysdeps/m68k/m680x0/fpu/s_logbl.c: New file.
443         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Update.
444         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Update.
446 2012-05-14  Andreas Schwab  <schwab@linux-m68k.org>
448         * sysdeps/unix/sysv/linux/m68k/configure.in (arch_minimum_kernel)
449         [$machine != m68k/coldfire]: Don't set.
451 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
453         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
455 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
457         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: New file.
458         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
459         New file.
460         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: New
461         file.
462         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: New
463         file.
464         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist: New
465         file.
466         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: New
467         file.
468         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: New
469         file.
470         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: New
471         file.
472         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
473         New file.
474         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
475         New file.
476         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: New
477         file.
478         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
479         New file.
480         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: New
481         file.
482         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: New file.
483         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
484         New file.
485         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: New
486         file.
487         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: New file.
488         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: New
489         file.
490         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: New
491         file.
492         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: New file.
493         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: New
494         file.
495         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist: New
496         file.
497         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: New
498         file.
499         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: New
500         file.
501         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
502         New file.
503         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: New
504         file.
506 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
508         * sysdeps/m68k/libgcc_s.h: Remove.
509         * sysdeps/m68k/shlib-versions: Add libgcc_s.
511 2012-04-18  Andreas Schwab  <schwab@linux-m68k.org>
513         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
515 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
517         * sysdeps/m68k/m680x0/fpu/e_ilogb.c: Renamed from s_ilogb.c.
518         Define __ieee754_ilogb instead of __ilogb.
519         * sysdeps/m68k/m680x0/fpu/e_ilogbf.c: Renamed from s_ilogbf.c and
520         adjusted.
521         * sysdeps/m68k/m680x0/fpu/e_ilogbl.c: Renamed from s_ilogbl.c and
522         adjusted.
524 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
526         * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MAP_STACK)
527         (MAP_HUGETLB): Define.
529 2012-03-27  Andreas Schwab  <schwab@linux-m68k.org>
531         * sysdeps/m68k/elf/start.S: Move to ...
532         * sysdeps/m68k/start.S: ... here.
534 2012-03-23  Andreas Schwab  <schwab@linux-m68k.org>
536         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
538         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Avoid undue overflow.
540         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_mathop1):
541         Mark asm as volatile.
542         (__scalbn): Likewise.
543         (__lrint): Likewise.
544         (__sincos): Likewise.
546 2012-03-22  Andreas Schwab  <schwab@linux-m68k.org>
548         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
550 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
552         * sysdeps/unix/sysv/linux/m68k/register-dump.h: Include <_itoa.h>
553         instead of <stdio-common/_itoa.h>.
555 2012-03-20  Andreas Schwab  <schwab@linux-m68k.org>
557         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
559 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
561         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
563 2012-03-13  Andreas Schwab  <schwab@linux-m68k.org>
565         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
566         (__ASSUME_NEW_GETRLIMIT_SYSCALL, __ASSUME_VFORK_SYSCALL): Define
567         for 2.4.12 or later.
568         (__ASSUME_PSELECT, __ASSUME_PPOLL): Only undefine before 3.0.
570 2012-03-09  Richard Henderson  <rth@twiddle.net>
572         * sysdeps/m68k/m680x0/fpu/math_private.h: Use include_next to
573         chain math_private.h.
575         * m68k/m680x0/fpu/e_acos.c: Use <> to include math_private.h.
576         * m68k/m680x0/fpu/e_atan2.c, m68k/m680x0/fpu/e_fmod.c: Likewise.
577         * m68k/m680x0/fpu/e_pow.c, m68k/m680x0/fpu/e_scalb.c: Likewise.
578         * m68k/m680x0/fpu/s_fpclassifyl.c, m68k/m680x0/fpu/s_llrint.c: Likewise.
579         * m68k/m680x0/fpu/s_llrintf.c, m68k/m680x0/fpu/s_llrintl.c: Likewise.
580         * m68k/m680x0/fpu/s_nextafterl.c: Likewise.
582 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
584         [BZ #13673]
585         Replace FSF snail mail address with URLs, as per GNU coding standards.
587 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
589         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
591 2012-03-02  Andreas Schwab  <schwab@linux-m68k.org>
593         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update ULPs.
595 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
597         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
598         (pthread_attr_t): Fix name of union.  Only define if not already
599         defined.
601 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
603         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Name
604         pthread_attr_t union.
606         * sysdeps/m68k/m680x0/fpu/Makefile: Remove.
607         * sysdeps/m68k/m680x0/fpu/switch: Remove directory.
609         * sysdeps/m68k/m680x0/fpu/k_sinl.c: Replace by empty file.
610         * sysdeps/m68k/m680x0/fpu/k_cosl.c: Likewise.
611         * sysdeps/m68k/m680x0/fpu/k_tanf.c: Likewise.
612         * sysdeps/m68k/m680x0/fpu/k_tanl.c: Likewise.
613         * sysdeps/m68k/m680x0/fpu/k_sin.c: Remove.
614         * sysdeps/m68k/m680x0/fpu/k_sinf.c: Remove.
615         * sysdeps/m68k/m680x0/fpu/k_cos.c: Remove.
616         * sysdeps/m68k/m680x0/fpu/k_cosf.c: Remove.
617         * sysdeps/m68k/m680x0/fpu/k_tan.c: Remove.
619 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
621         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Avoid raising invalid
622         exception for NaN+iNaN.
624 2012-02-24  Andreas Schwab  <schwab@linux-m68k.org>
626         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update ULPs.
628         * sysdeps/m68k/m680x0/fpu/s_expm1.c: Set errno to ERANGE if
629         argument causes overflow.
630         * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Include <s_expm1.c>.
631         (float_type, o_threshold): Define.
632         * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
633         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__OPTIMIZE__]: Don't
634         define expm1 as inline.
636         * sysdeps/m68k/m680x0/fpu/s_sin.c: Set errno to EDOM if argument
637         is infinite.
638         * sysdeps/m68k/m680x0/fpu/s_cos.c: Include <s_sin.c>.
639         * sysdeps/m68k/m680x0/fpu/s_tan.c: Likewise.
640         * sysdeps/m68k/m680x0/fpu/s_cosf.c: Include <s_sinf.c>.
641         * sysdeps/m68k/m680x0/fpu/s_cosl.c: Include <s_sinl.c>.
642         * sysdeps/m68k/m680x0/fpu/s_sinf.c: Include <s_sin.c>.
643         (FUNC): Don't define if already defined.
644         (float_type): Define.
645         * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
646         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__OPTIMIZE__]: Don't
647         define sin, cos, tan as inlines.
649 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
651         * sysdeps/m68k/crti.S: New file.
652         * sysdeps/m68k/crtn.S: New file.
654         * sysdeps/m68k/m680x0/sysdep.h (LOAD_GOT): Define.
655         * sysdeps/m68k/coldfire/sysdep.h (LOAD_GOT): Define.
656         * sysdeps/unix/sysv/linux/m68k/coldfire/m68k-helper.S: Remove.
657         * sysdeps/unix/sysv/linux/m68k/m680x0/m68k-helper.S: Remove.
658         * sysdeps/unix/sysv/linux/m68k/m68k-helper.S: New file.
660         * sysdeps/unix/sysv/linux/m68k/configure.in
661         (libc_cv_gcc_unwind_find_fde): Don't set on coldfire.
663 2012-01-29  Andreas Schwab  <schwab@linux-m68k.org>
665         * sysdeps/m68k/asm-syntax.h: Remove __STDC__ conditionals.
666         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
667         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
669 2012-01-08  Andreas Schwab  <schwab@linux-m68k.org>
671         * sysdeps/m68k/fpu/bits/fenv.h (FE_DFL_ENV, FE_NOMASK_ENV): Use
672         const intead of __const.
674         * sysdeps/m68k/asm-syntax.h: Remove non-ELF support.
675         * sysdeps/m68k/sysdep.h: Likewise.
676         (NO_UNDERSCORES): Don't define.
678 2012-01-07  Andreas Schwab  <schwab@linux-m68k.org>
680         * sysdeps/unix/sysv/linux/m68k/configure.in: Set
681         arch_minimum_kernel, libc_cv_gcc_unwind_find_fde and
682         ldd_rewrite_script.
684 2012-01-05  Andreas Schwab  <schwab@linux-m68k.org>
686         * sysdeps/m68k/dl-trampoline.S: Add cfi directives.
687         * sysdeps/m68k/memchr.S: Likewise.
688         * sysdeps/m68k/rawmemchr.S: Likewise.
689         * sysdeps/m68k/strchr.S: Likewise.
690         * sysdeps/m68k/strchrnul.S: Likewise.
691         * sysdeps/m68k/m680x0/add_n.S: Likewise.
692         * sysdeps/m68k/m680x0/lshift.S: Likewise.
693         * sysdeps/m68k/m680x0/rshift.S: Likewise.
694         * sysdeps/m68k/m680x0/sub_n.S: Likewise.
695         * sysdeps/m68k/m680x0/m68020/addmul_1.S: Likewise.
696         * sysdeps/m68k/m680x0/m68020/mul_1.S: Likewise.
697         * sysdeps/m68k/m680x0/m68020/submul_1.S: Likewise.
698         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
699         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Likewise.
700         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
701         * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
702         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
703         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
704         * sysdeps/m68k/sysdep.h (CALL_MCOUNT): Likewise.
705         (ENTRY): Add cfi_startproc.
706         (END): Add cfi_endproc.
707         * sysdeps/unix/sysv/linux/m68k/coldfire/m68k-helpers.S: Remove
708         cfi_startproc/cfi_endproc.
709         * sysdeps/unix/sysv/linux/m68k/m680x0/m68k-helpers.S: Likewise.
710         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h (PSEUDO):
711         Likewise.
713 2011-12-23  Andreas Schwab  <schwab@linux-m68k.org>
715         * sysdeps/m68k/bits/byteswap.h (__bswap_constant_64): Protect long
716         long constant with __extension__.
718 2011-12-04  Thorsten Glaser  <tg@mirbsd.de>
720         * sysdeps/unix/sysv/linux/m68k/syscall.S: Allow six arguments.
722 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
724         * sysdeps/m68k/stackinfo.h (stackinfo_get_sp, stackinfo_sub_sp):
725         Define.
727 2011-10-26  Andreas Schwab  <schwab@linux-m68k.org>
729         * sysdeps/m68k/m680x0/fpu/math_private.h: New file.
731         * sysdeps/m68k/m680x0/fpu/sincostab.c: New file.
733 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
735         * sysdeps/m68k/coldfire/fpu/e_sqrt.c: Add __sqrt_finite alias.
736         * sysdeps/m68k/coldfire/fpu/e_sqrtf.c: Add __sqrtf_finite alias.
738         * sysdeps/m68k/m680x0/fpu/e_exp.c (FUNC_FINITE): Define.
739         * sysdeps/m68k/m680x0/fpu/e_expf.c (FUNC_FINITE): Define.
740         * sysdeps/m68k/m680x0/fpu/e_expl.c (FUNC_FINITE): Define.
742 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
744         * sysdeps/m68k/m680x0/fpu/s_ccos.c: Remove.
745         * sysdeps/m68k/m680x0/fpu/s_ccosf.c: Remove.
746         * sysdeps/m68k/m680x0/fpu/s_ccosl.c: Remove.
748 2011-10-13  Andreas Schwab  <schwab@linux-m68k.org>
750         * sysdeps/m68k/m680x0/fpu/e_acos.c: Add __*_finite alias.
751         * sysdeps/m68k/m680x0/fpu/e_acosf.c: Likewise.
752         * sysdeps/m68k/m680x0/fpu/e_acosl.c: Likewise.
753         * sysdeps/m68k/m680x0/fpu/e_asin.c: Likewise.
754         * sysdeps/m68k/m680x0/fpu/e_asinl.c: Likewise.
755         * sysdeps/m68k/m680x0/fpu/e_asinf.c: Likewise.
756         * sysdeps/m68k/m680x0/fpu/e_atan2.c: Likewise.
757         * sysdeps/m68k/m680x0/fpu/e_atanh.c: Likewise.
758         * sysdeps/m68k/m680x0/fpu/e_atanhf.c: Likewise.
759         * sysdeps/m68k/m680x0/fpu/e_atanhl.c: Likewise.
760         * sysdeps/m68k/m680x0/fpu/e_cosh.c: Likewise.
761         * sysdeps/m68k/m680x0/fpu/e_coshf.c: Likewise.
762         * sysdeps/m68k/m680x0/fpu/e_coshl.c: Likewise.
763         * sysdeps/m68k/m680x0/fpu/e_exp10.c: Likewise.
764         * sysdeps/m68k/m680x0/fpu/e_exp10f.c: Likewise.
765         * sysdeps/m68k/m680x0/fpu/e_exp10l.c: Likewise.
766         * sysdeps/m68k/m680x0/fpu/e_exp2.c: Likewise.
767         * sysdeps/m68k/m680x0/fpu/e_exp2l.c: Likewise.
768         * sysdeps/m68k/m680x0/fpu/e_exp2f.c: Likewise.
769         * sysdeps/m68k/m680x0/fpu/e_fmod.c: Likewise.
770         * sysdeps/m68k/m680x0/fpu/e_fmodf.c: Likewise.
771         * sysdeps/m68k/m680x0/fpu/e_fmodl.c: Likewise.
772         * sysdeps/m68k/m680x0/fpu/e_log.c: Likewise.
773         * sysdeps/m68k/m680x0/fpu/e_logl.c: Likewise.
774         * sysdeps/m68k/m680x0/fpu/e_logf.c: Likewise.
775         * sysdeps/m68k/m680x0/fpu/e_log10.c: Likewise.
776         * sysdeps/m68k/m680x0/fpu/e_log10f.c: Likewise.
777         * sysdeps/m68k/m680x0/fpu/e_log10l.c: Likewise.
778         * sysdeps/m68k/m680x0/fpu/e_log2.c: Likewise.
779         * sysdeps/m68k/m680x0/fpu/e_log2f.c: Likewise.
780         * sysdeps/m68k/m680x0/fpu/e_log2l.c: Likewise.
781         * sysdeps/m68k/m680x0/fpu/e_pow.c: Likewise.
782         * sysdeps/m68k/m680x0/fpu/e_remainder.c: Likewise.
783         * sysdeps/m68k/m680x0/fpu/e_remainderl.c: Likewise.
784         * sysdeps/m68k/m680x0/fpu/e_remainderf.c: Likewise.
785         * sysdeps/m68k/m680x0/fpu/e_scalb.c: Likewise.
786         * sysdeps/m68k/m680x0/fpu/e_sinh.c: Likewise.
787         * sysdeps/m68k/m680x0/fpu/e_sinhf.c: Likewise.
788         * sysdeps/m68k/m680x0/fpu/e_sinhl.c: Likewise.
789         * sysdeps/m68k/m680x0/fpu/e_sqrt.c: Likewise.
790         * sysdeps/m68k/m680x0/fpu/e_sqrtf.c: Likewise.
791         * sysdeps/m68k/m680x0/fpu/e_sqrtl.c: Likewise.
793 2011-10-09  Andreas Schwab  <schwab@linux-m68k.org>
795         * sysdeps/m68k/m680x0/s_isinfl.c: Remove.
796         * sysdeps/m68k/m680x0/s_isnanl.c: Remove.
798 2011-10-05  Andreas Schwab  <schwab@redhat.com>
800         * sysdeps/m68k/dl-machine.h (elf_machine_rela)
801         (elf_machine_lazy_rel): Add parameter skip_ifunc.
803 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
805         * sysdeps/m68k/nptl/tls.h: Don't define USE_TLS.
806         * sysdeps/m68k/dl-machine.h: Remove use of USE_TLS.
807         * sysdeps/m68k/libc-tls.c: Likewise.
809         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Remove use of
810         USE___THREAD.
812 2011-06-23  Andreas Schwab  <schwab@linux-m68k.org>
814         * sysdeps/m68k/dl-trampoline.S (_dl_runtime_profile)
815         [__mcoldfire__]: Fix typo saving %fp0.
817 2011-04-11  Andreas Schwab  <schwab@linux-m68k.org>
819         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Define.
821 2011-04-03  Andreas Schwab  <schwab@linux-m68k.org>
823         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Update comments.
824         (O_PATH): Define.
825         (struct file_handle, MAX_HANDLE_SZ): Define.
826         (name_to_handle_at, open_by_handle_at): Declare.
828 2011-03-06  Andreas Schwab  <schwab@linux-m68k.org>
830         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
831         (__bswap_64): Implement as inline functions.
833 2011-01-18  Andreas Schwab  <schwab@linux-m68k.org>
835         * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MADV_HUGEPAGE)
836         (MADV_NOHUGEPAGE): Define.
838 2011-01-10  Andreas Schwab  <schwab@linux-m68k.org>
840         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h (sem_t):
841         Force alignment.
843 2010-12-26  Andreas Schwab  <schwab@linux-m68k.org>
845         * sysdeps/m68k/stackinfo.h (DEFAULT_STACK_PERMS): Define.
847 2010-11-05  Andreas Schwab  <schwab@linux-m68k.org>
849         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Include
850         i386/fchownat.c.
852 2010-10-11  Andreas Schwab  <schwab@linux-m68k.org>
854         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Remove fma inlines.
856         * sysdeps/m68k/fpu/feupdateenv.c (feupdateenv): Add
857         libm_hidden_ver.
858         * sysdeps/m68k/fpu/ftestexcept.c (feupdateenv): Add
859         libm_hidden_def.
861 2010-08-25  Andreas Schwab  <schwab@linux-m68k.org>
863         * sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h
864         (SYSCALL_ERROR_LOAD_GOT): Use & instead of #.
866 2010-08-17  Andreas Schwab  <schwab@linux-m68k.org>
868         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove
869         fanotify_init.
871 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
873         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add prlimit64,
874         fanotify_init, fanotify_mask.
876 2010-08-02  Andreas Schwab  <schwab@linux-m68k.org>
878         * sysdeps/m68k/coldfire/sysdep.h: New file.
879         (PCREL_OP): Define.
880         * sysdeps/m68k/m680x0/sysdep.h: New file.
881         (PCREL_OP): Define.
882         * sysdeps/m68k/sysdep.h (PCREL_OP): Don't define here.
883         * sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h: New file.
884         (SYSCALL_ERROR_LOAD_GOT): Define.
885         * sysdeps/unix/sysv/linux/m68k/m680x0/sysdep.h: New file.
886         (SYSCALL_ERROR_LOAD_GOT): Define.
887         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't include subordinate
888         sysdep files.
889         (SYSCALL_ERROR_HANDLER) [PIC && USE___THREAD]: Use
890         SYSCALL_ERROR_LOAD_GOT.
892 2010-06-24  Joseph Myers  <joseph@codesourcery.com>
894         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETPIPE_SZ,
895         F_GETPIPE_SZ): Define.
897 2010-06-13  Andreas Schwab  <schwab@linux-m68k.org>
899         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Mark all functions as
900         non-throwing.
902         * sysdeps/unix/sysv/linux/m68k/sys/user.h (NBPG, UPAGES)
903         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Define.
905 2010-06-11  Andreas Schwab  <schwab@linux-m68k.org>
907         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Force
908         alignment of futex variables.
910 2010-05-22  Andreas Schwab  <schwab@linux-m68k.org>
912         * data/c++-types-m68k-linux-gnu.data: New file.
913         * data/localplt-m68k-linux-gnu.data: New file.
915 2010-03-13  Andreas Schwab  <schwab@linux-m68k.org>
917         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Use signbit macro.
918         * sysdeps/m68k/m680x0/fpu/s_ccos.c: Likewise.
920         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__signbit)
921         (__signbitf, __signbitl): Always define as inline.
923         * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
924         Add variant for USE__THREAD.
926 2010-03-12  Andreas Schwab  <schwab@linux-m68k.org>
928         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Don't include
929         <sysdep.h>.
931         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Renamed ...
932         * sysdeps/unix/sysv/linux/m68k/coldfire/m68k-helpers.S: ... to
933         this.
934         * sysdeps/unix/sysv/linux/m68k/m680x0/m68k-helpers.S: New file.
936 2010-03-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
938         NPTL support for m68k/ColdFire
939         * sysdeps/unix/sysv/linux/m68k/sysdep.h (tls.h): Include.
940         (INTERNAL_SYSCALL): Convert to INTERNAL_SYSCALL_NCS.
941         (PTR_MANGLE, PTR_DEMANGLE): Define.
942         (NEED_STATIC_SYSINFO_DSO): Define.
943         * sysdeps/unix/sysv/linux/m68k/clone.S: Support RESET_PID.
944         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: New.
945         * sysdeps/unix/sysv/linux/m68k/Makefile: Add new files to lists.
946         * sysdeps/unix/sysv/linux/m68k/vfork.S: Add SAVE_PID/RESTORE_PID.
947         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: New.
948         * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: New.
949         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: New.
950         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: New.
951         * sysdeps/unix/sysv/linux/m68k/Versions: Add symbols for NPTL support.
952         * sysdeps/unix/sysv/linux/m68k/init-first.c: New.
953         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: New.
954         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: New.
955         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: New.
956         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: New.
957         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: New.
958         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: New.
959         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: New.
960         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: New.
961         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: New.
962         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: New.
963         * sysdeps/unix/sysv/linux/m68k/socket.S: Update cancelation code.
964         * sysdeps/m68k/dl-tls.h: New.
965         * sysdeps/m68k/libc-tls.c: New.
966         * sysdeps/m68k/tls-macros.h: New.
967         * sysdeps/m68k/dl-machine.h (RTLD_START): Terminate stack frame to
968         generate better backtraces.
969         (elf_machine_type_class, elf_machine_rela): Handle TLS relocations.
970         * sysdeps/m68k/dl-machine.h: Handle TLS relocations.
971         * sysdeps/m68k/nptl/tcb-offsets.sym: New.
972         * sysdeps/m68k/nptl/pthread_spin_trylock.c: New.
973         * sysdeps/m68k/nptl/tls.h: New.
974         * sysdeps/m68k/nptl/pthread_spin_lock.c: New.
975         * sysdeps/m68k/nptl/pthreaddef.h: New.
976         * sysdeps/m68k/nptl/Makefile: New.
978         * sysdeps/unix/sysv/linux/m68k/bits/sigcontext.h: Remove.
979         * sysdeps/unix/sysv/linux/m68k/register-dump.h: Update.
981         * sysdeps/unix/sysv/linux/m68k/bits/siginfo.h: Remove.
983         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ)
984         (_jmpbuf_sp, _JMPBUF_UNWINDS_ADJ, __libc_unwind_longjmp): Define.
986 2010-02-10  Joseph Myers  <joseph@codesourcery.com>
988         * sysdeps/m68k/fpu/fegetenv.c: Add hidden alias.
990 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
992         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Fix double-inclusion
993         problem.
995 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
997         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Define O_DIRECTORY,
998         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
999         XPG7.
1000         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Enable using from
1001         fcntl.h.
1003 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
1005         [BZ #11093]
1006         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Define POLLRDNORM,
1007         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
1009 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
1011         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Redefine O_SYNC and
1012         O_DSYNC to match 2.6.33+ kernels.
1014 2009-11-23  Andreas Schwab  <schwab@linux-m68k.org>
1016         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Use struct timespec
1017         for timestamps also if __USE_XOPEN2K8.
1019 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
1021         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Introduce new symbol
1022         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
1024 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
1026         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Change misleading
1027         names of parameters of sync_file_range.
1029 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
1031         [BZ #10972]
1032         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add new MADV_*
1033         constants from recent kernels.
1035 2009-11-15  Andreas Schwab  <schwab@linux-m68k.org>
1037         * sysdeps/m68k/libgcc_s.h: New file.
1039 2009-11-14  Andreas Schwab  <schwab@linux-m68k.org>
1041         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN_EX)
1042         (F_GETOWN_EX, F_OWNER_TID, F_OWNER_PID, F_OWNER_GID, f_owner_ex):
1043         Define.
1045 2009-11-07  Joseph Myers  <joseph@codesourcery.com>
1047         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (fallocate): Fix types
1048         of last two arguments when -D_FILE_OFFSET_BITS=64.
1050 2009-10-30  Joseph Myers  <joseph@codesourcery.com>
1052         [BZ #10609]
1053         * sysdeps/unix/sysv/linux/m68k/fchownat.c (fchownat): Fix handling
1054         of empty parameters for file names.
1056 2009-09-06  Andreas Schwab  <schwab@linux-m68k.org>
1058         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c: New file.
1060         * sysdeps/m68k/__longjmp.c (__longjmp): Call CHECK_SP if defined.
1062 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1064         * sysdeps/unix/sysv/linux/m68k/Versions (libc): Add
1065         fallocate64@@GLIBC_2.11.
1067 2009-04-25  Andreas Schwab  <schwab@linux-m68k.org>
1069         * sysdeps/unix/sysv/linux/m68k/kernel-features.h: Revert last
1070         change, the syscalls have been added to 2.6.30-rc4.
1072 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
1074         * sysdeps/unix/sysv/linux/m68k/kernel-features.h (__ASSUME_PREADV,
1075         __ASSUME_PWRITEV): Undefine.
1077 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
1079         * sysdeps/unix/sysv/linux/m68k/getsysstats.c (GET_NPROCS_PARSER):
1080         Change parameters and use next_line.
1082 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
1084         * sysdeps/m68k/bits/link.h: Uglify function parameter names.
1086 2009-03-04  Joseph Myers  <joseph@codesourcery.com>
1088         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Declare
1089         fallocate{,64}.
1091 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
1093         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Protect UTIME_NOW and
1094         UTIME_OMIT only with __USE_ATFILE.
1096 2008-08-10  Joseph Myers  <joseph@codesourcery.com>
1098         * sysdeps/m68k/bits/byteswap.h: Allow inclusion from <endian.h>.
1099         (__bswap_constant_16): Define.
1100         (__bswap_16): Allow arguments with side effects.
1101         (__bswap_constant_32): Ensure result is unsigned.
1102         (__bswap_32): Define as inline function in fallback case.
1103         (__bswap_constant_64): Define.
1104         (__bswap_64): Use it for constant arguments.
1105         * sysdeps/m68k/bits/setjmp.h (__jmp_buf): Give name to structure
1106         type.
1107         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Only allow inclusion
1108         from <math.h>.  Do not use extern inline directly.
1109         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Include <bits/uio.h>.
1110         (O_CLOEXEC, SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE,
1111         SYNC_FILE_RANGE_WAIT_AFTER, SPLICE_F_MOVE, SPLICE_F_NONBLOCK,
1112         SPLICE_F_MORE, SPLICE_F_GIFT): Define.
1113         (sync_file_range, vmsplice, splice, tee): Declare.
1114         * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MADV_REMOVE): Define.
1115         * sysdeps/unix/sysv/linux/m68k/bits/poll.h (POLLMSG, POLLREMOVE,
1116         POLLRDHUP): Define.
1117         * sysdeps/unix/sysv/linux/m68k/bits/stat.h (UTIME_NOW,
1118         UTIME_OMIT): Define.
1119         * sysdeps/unix/sysv/linux/m68k/kernel-features.h: New.
1120         * sysdeps/unix/sysv/linux/m68k/sys/user.h: New.
1122 2008-03-28  Maxim Kuvyrkov  <maxim@codesourcery.com>
1124         Explicitly get address of _DYNAMIC.
1125         * sysdeps/m68k/dl-machine.h (elf_machine_dynamic): Retrieve _DYNAMIC
1126         from GOT instead of assuming value at GOT pointer.
1128 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
1130         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
1132 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
1134         * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Comment fix.
1136 2006-11-28  Andreas Schwab  <schwab@suse.de>
1138         * sysdeps/unix/sysv/linux/m68k/sysdep.h (DOARGS_6, _DOARGS_6)
1139         (UNDOARGS_6): Define for 6-argument syscall stubs.
1141 2006-10-03  Andreas Schwab  <schwab@suse.de>
1143         * sysdeps/m68k/setjmp.c: Use __builtin_return_address and
1144         __builtin_frame_address.  Don't call __sigjmp_save in ld.so.
1146         * sysdeps/unix/sysv/linux/m68k/mremap.S: Accept fifth parameter.
1148 2006-10-03  Richard Sandiford  <richard@codesourcery.com>
1150         * sysdeps/m68k/bits/mathdef.h: Moved from sysdeps/m68k to
1151         sysdeps/m68k/m680x0.
1152         * sysdeps/m68k/m68020/submul_1.S: Likewise.
1153         * sysdeps/m68k/m68020/Makefile: Likewise.
1154         * sysdeps/m68k/m68020/mul_1.S: Likewise.
1155         * sysdeps/m68k/m68020/wordcopy.S: Likewise.
1156         * sysdeps/m68k/m68020/addmul_1.S: Likewise.
1157         * sysdeps/m68k/m68020/bits/string.h: Likewise.
1158         * sysdeps/m68k/m68020/bits/atomic.h: Likewise.
1159         * sysdeps/m68k/sub_n.S: Likewise.
1160         * sysdeps/m68k/add_n.S: Likewise.
1161         * sysdeps/m68k/s_isnanl.c: Likewise.
1162         * sysdeps/m68k/fpu/s_log1p.c: Likewise.
1163         * sysdeps/m68k/fpu/e_asinf.c: Likewise.
1164         * sysdeps/m68k/fpu/s_cosl.c: Likewise.
1165         * sysdeps/m68k/fpu/s_isinff.c: Likewise.
1166         * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
1167         * sysdeps/m68k/fpu/s_ccos.c: Likewise.
1168         * sysdeps/m68k/fpu/s_expm1.c: Likewise.
1169         * sysdeps/m68k/fpu/slowexp.c: Likewise.
1170         * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
1171         * sysdeps/m68k/fpu/s_ccoshf.c: Likewise.
1172         * sysdeps/m68k/fpu/s_ilogbl.c: Likewise.
1173         * sysdeps/m68k/fpu/Makefile: Likewise.
1174         * sysdeps/m68k/fpu/s_expm1f.c: Likewise.
1175         * sysdeps/m68k/fpu/s_significandf.c: Likewise.
1176         * sysdeps/m68k/fpu/e_pow.c: Likewise.
1177         * sysdeps/m68k/fpu/s_csinh.c: Likewise.
1178         * sysdeps/m68k/fpu/e_exp.c: Likewise.
1179         * sysdeps/m68k/fpu/s_remquof.c: Likewise.
1180         * sysdeps/m68k/fpu/s_ilogbf.c: Likewise.
1181         * sysdeps/m68k/fpu/s_truncl.c: Likewise.
1182         * sysdeps/m68k/fpu/s_frexpf.c: Likewise.
1183         * sysdeps/m68k/fpu/s_cos.c: Likewise.
1184         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
1185         * sysdeps/m68k/fpu/branred.c: Likewise.
1186         * sysdeps/m68k/fpu/s_frexpl.c: Likewise.
1187         * sysdeps/m68k/fpu/s_atan.c: Likewise.
1188         * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
1189         * sysdeps/m68k/fpu/e_scalbl.c: Likewise.
1190         * sysdeps/m68k/fpu/e_exp2.c: Likewise.
1191         * sysdeps/m68k/fpu/s_cexpf.c: Likewise.
1192         * sysdeps/m68k/fpu/mplog.c: Likewise.
1193         * sysdeps/m68k/fpu/s_rintf.c: Likewise.
1194         * sysdeps/m68k/fpu/s_tanh.c: Likewise.
1195         * sysdeps/m68k/fpu/e_scalbf.c: Likewise.
1196         * sysdeps/m68k/fpu/s_csinhl.c: Likewise.
1197         * sysdeps/m68k/fpu/s_floorl.c: Likewise.
1198         * sysdeps/m68k/fpu/k_tanf.c: Likewise.
1199         * sysdeps/m68k/fpu/k_tanl.c: Likewise.
1200         * sysdeps/m68k/fpu/e_fmodf.c: Likewise.
1201         * sysdeps/m68k/fpu/e_atanhf.c: Likewise.
1202         * sysdeps/m68k/fpu/s_isnanf.c: Likewise.
1203         * sysdeps/m68k/fpu/s_fpclassifyl.c: Likewise.
1204         * sysdeps/m68k/fpu/s_modf.c: Likewise.
1205         * sysdeps/m68k/fpu/e_log2.c: Likewise.
1206         * sysdeps/m68k/fpu/e_acosf.c: Likewise.
1207         * sysdeps/m68k/fpu/s_log1pl.c: Likewise.
1208         * sysdeps/m68k/fpu/e_log2f.c: Likewise.
1209         * sysdeps/m68k/fpu/mpa.c: Likewise.
1210         * sysdeps/m68k/fpu/t_exp.c: Likewise.
1211         * sysdeps/m68k/fpu/e_acos.c: Likewise.
1212         * sysdeps/m68k/fpu/s_expm1l.c: Likewise.
1213         * sysdeps/m68k/fpu/s_ccoshl.c: Likewise.
1214         * sysdeps/m68k/fpu/s_sinf.c: Likewise.
1215         * sysdeps/m68k/fpu/k_tan.c: Likewise.
1216         * sysdeps/m68k/fpu/k_cosl.c: Likewise.
1217         * sysdeps/m68k/fpu/e_remainder.c: Likewise.
1218         * sysdeps/m68k/fpu/s_trunc.c: Likewise.
1219         * sysdeps/m68k/fpu/s_sincos.c: Likewise.
1220         * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
1221         * sysdeps/m68k/fpu/s_finitef.c: Likewise.
1222         * sysdeps/m68k/fpu/s_tanhl.c: Likewise.
1223         * sysdeps/m68k/fpu/s_lrintl.c: Likewise.
1224         * sysdeps/m68k/fpu/slowpow.c: Likewise.
1225         * sysdeps/m68k/fpu/mpexp.c: Likewise.
1226         * sysdeps/m68k/fpu/s_isnanl.c: Likewise.
1227         * sysdeps/m68k/fpu/e_expf.c: Likewise.
1228         * sysdeps/m68k/fpu/s_significand.c: Likewise.
1229         * sysdeps/m68k/fpu/e_sinhf.c: Likewise.
1230         * sysdeps/m68k/fpu/s_tanl.c: Likewise.
1231         * sysdeps/m68k/fpu/s_tanhf.c: Likewise.
1232         * sysdeps/m68k/fpu/s_cexp.c: Likewise.
1233         * sysdeps/m68k/fpu/e_sqrtf.c: Likewise.
1234         * sysdeps/m68k/fpu/s_isinf.c: Likewise.
1235         * sysdeps/m68k/fpu/s_nearbyint.c: Likewise.
1236         * sysdeps/m68k/fpu/e_fmod.c: Likewise.
1237         * sysdeps/m68k/fpu/sincos32.c: Likewise.
1238         * sysdeps/m68k/fpu/e_sqrtl.c: Likewise.
1239         * sysdeps/m68k/fpu/s_sincosl.c: Likewise.
1240         * sysdeps/m68k/fpu/e_atan2f.c: Likewise.
1241         * sysdeps/m68k/fpu/s_nearbyintf.c: Likewise.
1242         * sysdeps/m68k/fpu/e_fmodl.c: Likewise.
1243         * sysdeps/m68k/fpu/e_coshf.c: Likewise.
1244         * sysdeps/m68k/fpu/s_csinf.c: Likewise.
1245         * sysdeps/m68k/fpu/s_ccosl.c: Likewise.
1246         * sysdeps/m68k/fpu/e_sqrt.c: Likewise.
1247         * sysdeps/m68k/fpu/s_sin.c: Likewise.
1248         * sysdeps/m68k/fpu/e_asin.c: Likewise.
1249         * sysdeps/m68k/fpu/mptan.c: Likewise.
1250         * sysdeps/m68k/fpu/e_exp10f.c: Likewise.
1251         * sysdeps/m68k/fpu/e_scalb.c: Likewise.
1252         * sysdeps/m68k/fpu/s_finitel.c: Likewise.
1253         * sysdeps/m68k/fpu/e_log10.c: Likewise.
1254         * sysdeps/m68k/fpu/k_sinl.c: Likewise.
1255         * sysdeps/m68k/fpu/e_remainderl.c: Likewise.
1256         * sysdeps/m68k/fpu/s_remquol.c: Likewise.
1257         * sysdeps/m68k/fpu/s_scalblnf.c: Likewise.
1258         * sysdeps/m68k/fpu/s_llrint.c: Likewise.
1259         * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
1260         * sysdeps/m68k/fpu/e_asinl.c: Likewise.
1261         * sysdeps/m68k/fpu/e_logl.c: Likewise.
1262         * sysdeps/m68k/fpu/s_cosf.c: Likewise.
1263         * sysdeps/m68k/fpu/s_rint.c: Likewise.
1264         * sysdeps/m68k/fpu/s_ceill.c: Likewise.
1265         * sysdeps/m68k/fpu/s_modfl.c: Likewise.
1266         * sysdeps/m68k/fpu/s_csinl.c: Likewise.
1267         * sysdeps/m68k/fpu/s_tan.c: Likewise.
1268         * sysdeps/m68k/fpu/s_sincosf.c: Likewise.
1269         * sysdeps/m68k/fpu/dosincos.c: Likewise.
1270         * sysdeps/m68k/fpu/e_powl.c: Likewise.
1271         * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
1272         * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
1273         * sysdeps/m68k/fpu/e_expl.c: Likewise.
1274         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
1275         * sysdeps/m68k/fpu/s_tanf.c: Likewise.
1276         * sysdeps/m68k/fpu/mpsqrt.c: Likewise.
1277         * sysdeps/m68k/fpu/s_sinl.c: Likewise.
1278         * sysdeps/m68k/fpu/mathimpl.h: Likewise.
1279         * sysdeps/m68k/fpu/e_acosl.c: Likewise.
1280         * sysdeps/m68k/fpu/e_cosh.c: Likewise.
1281         * sysdeps/m68k/fpu/s_cexpl.c: Likewise.
1282         * sysdeps/m68k/fpu/s_fabsl.c: Likewise.
1283         * sysdeps/m68k/fpu/halfulp.c: Likewise.
1284         * sysdeps/m68k/fpu/s_modff.c: Likewise.
1285         * sysdeps/m68k/fpu/s_isnan.c: Likewise.
1286         * sysdeps/m68k/fpu/e_atan2.c: Likewise.
1287         * sysdeps/m68k/fpu/s_fabs.c: Likewise.
1288         * sysdeps/m68k/fpu/e_log10f.c: Likewise.
1289         * sysdeps/m68k/fpu/k_cosf.c: Likewise.
1290         * sysdeps/m68k/fpu/e_sinh.c: Likewise.
1291         * sysdeps/m68k/fpu/s_truncf.c: Likewise.
1292         * sysdeps/m68k/fpu/s_ceil.c: Likewise.
1293         * sysdeps/m68k/fpu/s_log1pf.c: Likewise.
1294         * sysdeps/m68k/fpu/e_logf.c: Likewise.
1295         * sysdeps/m68k/fpu/mpatan.c: Likewise.
1296         * sysdeps/m68k/fpu/s_csin.c: Likewise.
1297         * sysdeps/m68k/fpu/e_exp2l.c: Likewise.
1298         * sysdeps/m68k/fpu/e_sinhl.c: Likewise.
1299         * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
1300         * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
1301         * sysdeps/m68k/fpu/s_floorf.c: Likewise.
1302         * sysdeps/m68k/fpu/e_log2l.c: Likewise.
1303         * sysdeps/m68k/fpu/s_atanl.c: Likewise.
1304         * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
1305         * sysdeps/m68k/fpu/k_sinf.c: Likewise.
1306         * sysdeps/m68k/fpu/s_csinhf.c: Likewise.
1307         * sysdeps/m68k/fpu/s_frexp.c: Likewise.
1308         * sysdeps/m68k/fpu/s_atanf.c: Likewise.
1309         * sysdeps/m68k/fpu/s_floor.c: Likewise.
1310         * sysdeps/m68k/fpu/e_exp10l.c: Likewise.
1311         * sysdeps/m68k/fpu/doasin.c: Likewise.
1312         * sysdeps/m68k/fpu/s_rintl.c: Likewise.
1313         * sysdeps/m68k/fpu/e_atanhl.c: Likewise.
1314         * sysdeps/m68k/fpu/e_remainderf.c: Likewise.
1315         * sysdeps/m68k/fpu/s_scalbln.c: Likewise.
1316         * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
1317         * sysdeps/m68k/fpu/e_exp10.c: Likewise.
1318         * sysdeps/m68k/fpu/s_lrintf.c: Likewise.
1319         * sysdeps/m68k/fpu/k_cos.c: Likewise.
1320         * sysdeps/m68k/fpu/s_lrint.c: Likewise.
1321         * sysdeps/m68k/fpu/s_ccosf.c: Likewise.
1322         * sysdeps/m68k/fpu/s_scalblnl.c: Likewise.
1323         * sysdeps/m68k/fpu/switch/Makefile: Likewise.
1324         * sysdeps/m68k/fpu/switch/switch.c: Likewise.
1325         * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
1326         * sysdeps/m68k/fpu/switch/bits/mathinline.h: Likewise.
1327         * sysdeps/m68k/fpu/e_log.c: Likewise.
1328         * sysdeps/m68k/fpu/s_nextafterl.c: Likewise.
1329         * sysdeps/m68k/fpu/s_nearbyintl.c: Likewise.
1330         * sysdeps/m68k/fpu/mpatan2.c: Likewise.
1331         * sysdeps/m68k/fpu/k_sin.c: Likewise.
1332         * sysdeps/m68k/fpu/e_atanh.c: Likewise.
1333         * sysdeps/m68k/fpu/s_remquo.c: Likewise.
1334         * sysdeps/m68k/fpu/e_log10l.c: Likewise.
1335         * sysdeps/m68k/fpu/s_ceilf.c: Likewise.
1336         * sysdeps/m68k/fpu/s_fabsf.c: Likewise.
1337         * sysdeps/m68k/fpu/s_significandl.c: Likewise.
1338         * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
1339         * sysdeps/m68k/fpu/e_coshl.c: Likewise.
1340         * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
1341         * sysdeps/m68k/fpu/s_finite.c: Likewise.
1342         * sysdeps/m68k/fpu/e_exp2f.c: Likewise.
1343         * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
1344         * sysdeps/m68k/fpu/s_isinfl.c: Likewise.
1345         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
1346         * sysdeps/m68k/fpu/e_powf.c: Likewise.
1347         * sysdeps/m68k/rshift.S: Likewise.
1348         * sysdeps/m68k/lshift.S: Likewise.
1349         * sysdeps/m68k/strtold_l.c: Likewise.
1350         * sysdeps/m68k/printf_fphex.c: Likewise.
1351         * sysdeps/m68k/s_isinfl.c: Likewise.
1352         * sysdeps/m68k/bits/huge_vall.h: Likewise.
1354         * sysdeps/m68k/asm-syntax.h (andw, andl, subqw, tstw, tstl): New.
1355         * sysdeps/m68k/bits/byteswap.h (__bswap32): Don't define for
1356         Coldfire targets.
1357         * sysdeps/m68k/bits/setjmp.h (__jmp_buf): Add a 64-byte
1358         __fpregs field for Coldfire FPUs.
1359         * sysdeps/m68k/dl-machine.h: Include sysdep.h.
1360         (elf_machine_load_address): Use PCREL_OP.
1361         (_dl_start_user): Likewise.
1362         * sysdeps/m68k/dl-trampoline.S (_dl_runtime_resolve): Avoid jmp (%dN)
1363         on Coldfire; push the target address and use rts instead.
1364         (_dl_runtime_profile): Likewise.  Round up the frame size to longword
1365         rather than word alignment.  Avoid dbra on Coldfire.  Avoid using
1366         jsr (%d0) on Coldfire; push the return address and target address
1367         and use rts instead.  Use fmovem.l rather than fmovem.x on Coldfire.
1368         Add missing initialization of lrv_a0 and restore a0 from it after
1369         calling _dl_call_pltexit.  Adjust the stack offsets of later data
1370         accordingly, fixing a previously incorrect offset for the inregs
1371         parameter.
1372         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Save the control
1373         registers individually on Coldfire targets.
1374         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1375         Add missing libm_hidden_def.
1376         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Save and restore the
1377         control registers individually on Coldfire targets.
1378         * sysdeps/m68k/fpu/fesetround.c (fesetround): Add missing
1379         libm_hidden_def.
1380         * sysdeps/m68k/fpu_control.h: Add the Coldfire bit assignments to
1381         the main comment.
1382         (_FPU_DOUBLE): Define to 0 for Coldfire.
1383         (_FPU_EXTENDED): Don't define for Coldfire.
1384         (_FPU_RESERVED): Include bit 15 for Coldfire.
1385         * sysdeps/m68k/Implies: Remove ieee754/ldbl-96.
1386         * sysdeps/m68k/m680x0/Implies: Add it to this new file instead.
1387         * sysdeps/m68k/ldsodefs.h: New file.
1388         * sysdeps/m68k/__longjmp.c (__longjmp): Restore the floating-point
1389         registers when using a Coldfire FPU.
1390         * sysdeps/m68k/Makefile (long-double-fcts): Delete.
1391         * sysdeps/m68k/m680x0/Makefile: Add it to this new file instead.
1392         * sysdeps/m68k/memchr.S (__memchr): Add Coldfire code.  Avoid
1393         unnecessary moves.
1394         * sysdeps/m68k/preconfigure (m680?0): Add "m680x0" to $machine.
1395         (m68k): Use the compiler to decide whether $machine should be
1396         set to m68k/coldfire or m68k/m680x0/m68020.
1397         * sysdeps/m68k/rawmemchr.S (__rawmemchr): Add Coldfire code.  Avoid
1398         unnecessary moves.
1399         * sysdeps/m68k/setjmp.c (__sigsetjmp): Save the floating-point
1400         registers when using a Coldfire FPU.  Use libc_hidden_def rather
1401         than hidden_def.
1402         * sysdeps/m68k/strchrnul.S (__strchrnul): Add Coldfire code.  Avoid
1403         unnecessary moves.
1404         * sysdeps/m68k/strchr.S (strchr): Likewise.
1405         * sysdeps/m68k/sysdep.h (PCREL_OP): Define.
1406         * sysdeps/m68k/tst-audit.h: New file.
1407         * sysdeps/m68k/wcpcpy.c: Likewise.
1408         * sysdeps/m68k/wcpcpy_chk.c: Likewise.
1409         * sysdeps/unix/sysv/linux/m68k/configure.in: New file.
1410         * sysdeps/unix/sysv/linux/m68k/configure: Likewise.
1411         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Add Coldfire code.
1412         * sysdeps/unix/sysv/linux/m68k/register-dump.h (real_catch_segfault):
1413         Do not define on Coldfire.
1414         (catch_segfault): Likewise.
1415         (register_dump): Use the Coldfire-specific sigcontext fields to
1416         display call-saved data and address registers (rather than the
1417         data stored in sc_fpstate by real_catch_segfault).  Display 8-byte
1418         floating-point registers on Coldfire.
1419         * sysdeps/unix/sysv/linux/m68k/socket.S (__socket): Pass a temporary
1420         register to SINGLE_THREAD_P.
1421         * sysdeps/unix/sysv/linux/m68k/sys/reg.h (PT_FP0): Redefine for
1422         Coldfire.
1423         (PT_FP1, PT_FP2, PT_FP3, PT_FP4, PT_FP5, PT_FP6, PT_FP7): Likewise.
1424         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset): Sync field
1425         order with linux.  Make f_fpregs an 8*2 array on Coldfire.
1426         (ucontext): Sync field order with linux.
1427         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Guard against multiple
1428         inclusion.
1429         (SYSCALL_ERROR_HANDLER): Use PCREL_OP.
1430         * sysdeps/unix/sysv/linux/m68k/syscalls.list (oldgetrlimit): Delete.
1431         (oldsetrlimit): Likewise.
1432         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: New file.
1433         List oldgetrlimit and oldsetrlimit here instead.
1434         * sysdeps/unix/sysv/linux/m68k/bits/sigcontext.h: New file.
1435         * sysdeps/unix/sysv/linux/m68k/bits/siginfo.h: Likewise.
1436         * sysdeps/m68k/coldfire/bits/atomic.h: Likewise.
1437         * sysdeps/m68k/coldfire/fpu/e_sqrt.c: Likewise.
1438         * sysdeps/m68k/coldfire/fpu/e_sqrtf.c: Likewise.
1439         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c: Likewise.
1440         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1441         * sysdeps/m68k/coldfire/fpu/s_fabs.c: Likewise.
1442         * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Likewise.
1443         * sysdeps/m68k/coldfire/fpu/s_lrint.c: Likewise.
1444         * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Likewise.
1445         * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
1446         * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
1447         * sysdeps/m68k/coldfire/shlib-versions: Likewise.
1449 2006-02-28  Roland McGrath  <roland@redhat.com>
1451         * sysdeps/m68k/preconfigure: New file.