1 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3 * sysdeps/m68k/crti.S: New file.
4 * sysdeps/m68k/crtn.S: New file.
6 * sysdeps/m68k/m680x0/sysdep.h (LOAD_GOT): Define.
7 * sysdeps/m68k/coldfire/sysdep.h (LOAD_GOT): Define.
8 * sysdeps/unix/sysv/linux/m68k/coldfire/m68k-helper.S: Remove.
9 * sysdeps/unix/sysv/linux/m68k/m680x0/m68k-helper.S: Remove.
10 * sysdeps/unix/sysv/linux/m68k/m68k-helper.S: New file.
12 * sysdeps/unix/sysv/linux/m68k/configure.in
13 (libc_cv_gcc_unwind_find_fde): Don't set on coldfire.
15 2012-01-29 Andreas Schwab <schwab@linux-m68k.org>
17 * sysdeps/m68k/asm-syntax.h: Remove __STDC__ conditionals.
18 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
19 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
21 2012-01-08 Andreas Schwab <schwab@linux-m68k.org>
23 * sysdeps/m68k/fpu/bits/fenv.h (FE_DFL_ENV, FE_NOMASK_ENV): Use
24 const intead of __const.
26 * sysdeps/m68k/asm-syntax.h: Remove non-ELF support.
27 * sysdeps/m68k/sysdep.h: Likewise.
28 (NO_UNDERSCORES): Don't define.
30 2012-01-07 Andreas Schwab <schwab@linux-m68k.org>
32 * sysdeps/unix/sysv/linux/m68k/configure.in: Set
33 arch_minimum_kernel, libc_cv_gcc_unwind_find_fde and
36 2012-01-05 Andreas Schwab <schwab@linux-m68k.org>
38 * sysdeps/m68k/dl-trampoline.S: Add cfi directives.
39 * sysdeps/m68k/memchr.S: Likewise.
40 * sysdeps/m68k/rawmemchr.S: Likewise.
41 * sysdeps/m68k/strchr.S: Likewise.
42 * sysdeps/m68k/strchrnul.S: Likewise.
43 * sysdeps/m68k/m680x0/add_n.S: Likewise.
44 * sysdeps/m68k/m680x0/lshift.S: Likewise.
45 * sysdeps/m68k/m680x0/rshift.S: Likewise.
46 * sysdeps/m68k/m680x0/sub_n.S: Likewise.
47 * sysdeps/m68k/m680x0/m68020/addmul_1.S: Likewise.
48 * sysdeps/m68k/m680x0/m68020/mul_1.S: Likewise.
49 * sysdeps/m68k/m680x0/m68020/submul_1.S: Likewise.
50 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
51 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Likewise.
52 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
53 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
54 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
55 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
56 * sysdeps/m68k/sysdep.h (CALL_MCOUNT): Likewise.
57 (ENTRY): Add cfi_startproc.
58 (END): Add cfi_endproc.
59 * sysdeps/unix/sysv/linux/m68k/coldfire/m68k-helpers.S: Remove
60 cfi_startproc/cfi_endproc.
61 * sysdeps/unix/sysv/linux/m68k/m680x0/m68k-helpers.S: Likewise.
62 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h (PSEUDO):
65 2011-12-23 Andreas Schwab <schwab@linux-m68k.org>
67 * sysdeps/m68k/bits/byteswap.h (__bswap_constant_64): Protect long
68 long constant with __extension__.
70 2011-12-04 Thorsten Glaser <tg@mirbsd.de>
72 * sysdeps/unix/sysv/linux/m68k/syscall.S: Allow six arguments.
74 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
76 * sysdeps/m68k/stackinfo.h (stackinfo_get_sp, stackinfo_sub_sp):
79 2011-10-26 Andreas Schwab <schwab@linux-m68k.org>
81 * sysdeps/m68k/m680x0/fpu/math_private.h: New file.
83 * sysdeps/m68k/m680x0/fpu/sincostab.c: New file.
85 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
87 * sysdeps/m68k/coldfire/fpu/e_sqrt.c: Add __sqrt_finite alias.
88 * sysdeps/m68k/coldfire/fpu/e_sqrtf.c: Add __sqrtf_finite alias.
90 * sysdeps/m68k/m680x0/fpu/e_exp.c (FUNC_FINITE): Define.
91 * sysdeps/m68k/m680x0/fpu/e_expf.c (FUNC_FINITE): Define.
92 * sysdeps/m68k/m680x0/fpu/e_expl.c (FUNC_FINITE): Define.
94 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
96 * sysdeps/m68k/m680x0/fpu/s_ccos.c: Remove.
97 * sysdeps/m68k/m680x0/fpu/s_ccosf.c: Remove.
98 * sysdeps/m68k/m680x0/fpu/s_ccosl.c: Remove.
100 2011-10-13 Andreas Schwab <schwab@linux-m68k.org>
102 * sysdeps/m68k/m680x0/fpu/e_acos.c: Add __*_finite alias.
103 * sysdeps/m68k/m680x0/fpu/e_acosf.c: Likewise.
104 * sysdeps/m68k/m680x0/fpu/e_acosl.c: Likewise.
105 * sysdeps/m68k/m680x0/fpu/e_asin.c: Likewise.
106 * sysdeps/m68k/m680x0/fpu/e_asinl.c: Likewise.
107 * sysdeps/m68k/m680x0/fpu/e_asinf.c: Likewise.
108 * sysdeps/m68k/m680x0/fpu/e_atan2.c: Likewise.
109 * sysdeps/m68k/m680x0/fpu/e_atanh.c: Likewise.
110 * sysdeps/m68k/m680x0/fpu/e_atanhf.c: Likewise.
111 * sysdeps/m68k/m680x0/fpu/e_atanhl.c: Likewise.
112 * sysdeps/m68k/m680x0/fpu/e_cosh.c: Likewise.
113 * sysdeps/m68k/m680x0/fpu/e_coshf.c: Likewise.
114 * sysdeps/m68k/m680x0/fpu/e_coshl.c: Likewise.
115 * sysdeps/m68k/m680x0/fpu/e_exp10.c: Likewise.
116 * sysdeps/m68k/m680x0/fpu/e_exp10f.c: Likewise.
117 * sysdeps/m68k/m680x0/fpu/e_exp10l.c: Likewise.
118 * sysdeps/m68k/m680x0/fpu/e_exp2.c: Likewise.
119 * sysdeps/m68k/m680x0/fpu/e_exp2l.c: Likewise.
120 * sysdeps/m68k/m680x0/fpu/e_exp2f.c: Likewise.
121 * sysdeps/m68k/m680x0/fpu/e_fmod.c: Likewise.
122 * sysdeps/m68k/m680x0/fpu/e_fmodf.c: Likewise.
123 * sysdeps/m68k/m680x0/fpu/e_fmodl.c: Likewise.
124 * sysdeps/m68k/m680x0/fpu/e_log.c: Likewise.
125 * sysdeps/m68k/m680x0/fpu/e_logl.c: Likewise.
126 * sysdeps/m68k/m680x0/fpu/e_logf.c: Likewise.
127 * sysdeps/m68k/m680x0/fpu/e_log10.c: Likewise.
128 * sysdeps/m68k/m680x0/fpu/e_log10f.c: Likewise.
129 * sysdeps/m68k/m680x0/fpu/e_log10l.c: Likewise.
130 * sysdeps/m68k/m680x0/fpu/e_log2.c: Likewise.
131 * sysdeps/m68k/m680x0/fpu/e_log2f.c: Likewise.
132 * sysdeps/m68k/m680x0/fpu/e_log2l.c: Likewise.
133 * sysdeps/m68k/m680x0/fpu/e_pow.c: Likewise.
134 * sysdeps/m68k/m680x0/fpu/e_remainder.c: Likewise.
135 * sysdeps/m68k/m680x0/fpu/e_remainderl.c: Likewise.
136 * sysdeps/m68k/m680x0/fpu/e_remainderf.c: Likewise.
137 * sysdeps/m68k/m680x0/fpu/e_scalb.c: Likewise.
138 * sysdeps/m68k/m680x0/fpu/e_sinh.c: Likewise.
139 * sysdeps/m68k/m680x0/fpu/e_sinhf.c: Likewise.
140 * sysdeps/m68k/m680x0/fpu/e_sinhl.c: Likewise.
141 * sysdeps/m68k/m680x0/fpu/e_sqrt.c: Likewise.
142 * sysdeps/m68k/m680x0/fpu/e_sqrtf.c: Likewise.
143 * sysdeps/m68k/m680x0/fpu/e_sqrtl.c: Likewise.
145 2011-10-09 Andreas Schwab <schwab@linux-m68k.org>
147 * sysdeps/m68k/m680x0/s_isinfl.c: Remove.
148 * sysdeps/m68k/m680x0/s_isnanl.c: Remove.
150 2011-10-05 Andreas Schwab <schwab@redhat.com>
152 * sysdeps/m68k/dl-machine.h (elf_machine_rela)
153 (elf_machine_lazy_rel): Add parameter skip_ifunc.
155 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
157 * sysdeps/m68k/nptl/tls.h: Don't define USE_TLS.
158 * sysdeps/m68k/dl-machine.h: Remove use of USE_TLS.
159 * sysdeps/m68k/libc-tls.c: Likewise.
161 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Remove use of
164 2011-06-23 Andreas Schwab <schwab@linux-m68k.org>
166 * sysdeps/m68k/dl-trampoline.S (_dl_runtime_profile)
167 [__mcoldfire__]: Fix typo saving %fp0.
169 2011-04-11 Andreas Schwab <schwab@linux-m68k.org>
171 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Define.
173 2011-04-03 Andreas Schwab <schwab@linux-m68k.org>
175 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Update comments.
177 (struct file_handle, MAX_HANDLE_SZ): Define.
178 (name_to_handle_at, open_by_handle_at): Declare.
180 2011-03-06 Andreas Schwab <schwab@linux-m68k.org>
182 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
183 (__bswap_64): Implement as inline functions.
185 2011-01-18 Andreas Schwab <schwab@linux-m68k.org>
187 * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MADV_HUGEPAGE)
188 (MADV_NOHUGEPAGE): Define.
190 2011-01-10 Andreas Schwab <schwab@linux-m68k.org>
192 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h (sem_t):
195 2010-12-26 Andreas Schwab <schwab@linux-m68k.org>
197 * sysdeps/m68k/stackinfo.h (DEFAULT_STACK_PERMS): Define.
199 2010-11-05 Andreas Schwab <schwab@linux-m68k.org>
201 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Include
204 2010-10-11 Andreas Schwab <schwab@linux-m68k.org>
206 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Remove fma inlines.
208 * sysdeps/m68k/fpu/feupdateenv.c (feupdateenv): Add
210 * sysdeps/m68k/fpu/ftestexcept.c (feupdateenv): Add
213 2010-08-25 Andreas Schwab <schwab@linux-m68k.org>
215 * sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h
216 (SYSCALL_ERROR_LOAD_GOT): Use & instead of #.
218 2010-08-17 Andreas Schwab <schwab@linux-m68k.org>
220 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Remove
223 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
225 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Add prlimit64,
226 fanotify_init, fanotify_mask.
228 2010-08-02 Andreas Schwab <schwab@linux-m68k.org>
230 * sysdeps/m68k/coldfire/sysdep.h: New file.
232 * sysdeps/m68k/m680x0/sysdep.h: New file.
234 * sysdeps/m68k/sysdep.h (PCREL_OP): Don't define here.
235 * sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h: New file.
236 (SYSCALL_ERROR_LOAD_GOT): Define.
237 * sysdeps/unix/sysv/linux/m68k/m680x0/sysdep.h: New file.
238 (SYSCALL_ERROR_LOAD_GOT): Define.
239 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Don't include subordinate
241 (SYSCALL_ERROR_HANDLER) [PIC && USE___THREAD]: Use
242 SYSCALL_ERROR_LOAD_GOT.
244 2010-06-24 Joseph Myers <joseph@codesourcery.com>
246 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETPIPE_SZ,
247 F_GETPIPE_SZ): Define.
249 2010-06-13 Andreas Schwab <schwab@linux-m68k.org>
251 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Mark all functions as
254 * sysdeps/unix/sysv/linux/m68k/sys/user.h (NBPG, UPAGES)
255 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Define.
257 2010-06-11 Andreas Schwab <schwab@linux-m68k.org>
259 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Force
260 alignment of futex variables.
262 2010-05-22 Andreas Schwab <schwab@linux-m68k.org>
264 * data/c++-types-m68k-linux-gnu.data: New file.
265 * data/localplt-m68k-linux-gnu.data: New file.
267 2010-03-13 Andreas Schwab <schwab@linux-m68k.org>
269 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Use signbit macro.
270 * sysdeps/m68k/m680x0/fpu/s_ccos.c: Likewise.
272 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__signbit)
273 (__signbitf, __signbitl): Always define as inline.
275 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
276 Add variant for USE__THREAD.
278 2010-03-12 Andreas Schwab <schwab@linux-m68k.org>
280 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Don't include
283 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Renamed ...
284 * sysdeps/unix/sysv/linux/m68k/coldfire/m68k-helpers.S: ... to
286 * sysdeps/unix/sysv/linux/m68k/m680x0/m68k-helpers.S: New file.
288 2010-03-09 Maxim Kuvyrkov <maxim@codesourcery.com>
290 NPTL support for m68k/ColdFire
291 * sysdeps/unix/sysv/linux/m68k/sysdep.h (tls.h): Include.
292 (INTERNAL_SYSCALL): Convert to INTERNAL_SYSCALL_NCS.
293 (PTR_MANGLE, PTR_DEMANGLE): Define.
294 (NEED_STATIC_SYSINFO_DSO): Define.
295 * sysdeps/unix/sysv/linux/m68k/clone.S: Support RESET_PID.
296 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: New.
297 * sysdeps/unix/sysv/linux/m68k/Makefile: Add new files to lists.
298 * sysdeps/unix/sysv/linux/m68k/vfork.S: Add SAVE_PID/RESTORE_PID.
299 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: New.
300 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: New.
301 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: New.
302 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: New.
303 * sysdeps/unix/sysv/linux/m68k/Versions: Add symbols for NPTL support.
304 * sysdeps/unix/sysv/linux/m68k/init-first.c: New.
305 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: New.
306 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: New.
307 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: New.
308 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: New.
309 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: New.
310 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: New.
311 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: New.
312 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: New.
313 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: New.
314 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: New.
315 * sysdeps/unix/sysv/linux/m68k/socket.S: Update cancelation code.
316 * sysdeps/m68k/dl-tls.h: New.
317 * sysdeps/m68k/libc-tls.c: New.
318 * sysdeps/m68k/tls-macros.h: New.
319 * sysdeps/m68k/dl-machine.h (RTLD_START): Terminate stack frame to
320 generate better backtraces.
321 (elf_machine_type_class, elf_machine_rela): Handle TLS relocations.
322 * sysdeps/m68k/dl-machine.h: Handle TLS relocations.
323 * sysdeps/m68k/nptl/tcb-offsets.sym: New.
324 * sysdeps/m68k/nptl/pthread_spin_trylock.c: New.
325 * sysdeps/m68k/nptl/tls.h: New.
326 * sysdeps/m68k/nptl/pthread_spin_lock.c: New.
327 * sysdeps/m68k/nptl/pthreaddef.h: New.
328 * sysdeps/m68k/nptl/Makefile: New.
330 * sysdeps/unix/sysv/linux/m68k/bits/sigcontext.h: Remove.
331 * sysdeps/unix/sysv/linux/m68k/register-dump.h: Update.
333 * sysdeps/unix/sysv/linux/m68k/bits/siginfo.h: Remove.
335 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ)
336 (_jmpbuf_sp, _JMPBUF_UNWINDS_ADJ, __libc_unwind_longjmp): Define.
338 2010-02-10 Joseph Myers <joseph@codesourcery.com>
340 * sysdeps/m68k/fpu/fegetenv.c: Add hidden alias.
342 2010-01-11 Joseph Myers <joseph@codesourcery.com>
344 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Fix double-inclusion
347 2010-01-10 Joseph Myers <joseph@codesourcery.com>
349 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Define O_DIRECTORY,
350 O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
352 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Enable using from
355 2009-12-16 Joseph Myers <joseph@codesourcery.com>
358 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Define POLLRDNORM,
359 POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
361 2009-12-16 Joseph Myers <joseph@codesourcery.com>
363 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Redefine O_SYNC and
364 O_DSYNC to match 2.6.33+ kernels.
366 2009-11-23 Andreas Schwab <schwab@linux-m68k.org>
368 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Use struct timespec
369 for timestamps also if __USE_XOPEN2K8.
371 2009-11-19 Joseph Myers <joseph@codesourcery.com>
373 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Introduce new symbol
374 F_OWNER_PGRP and mark F_OWNER_GID obsolete.
376 2009-11-18 Joseph Myers <joseph@codesourcery.com>
378 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Change misleading
379 names of parameters of sync_file_range.
381 2009-11-17 Joseph Myers <joseph@codesourcery.com>
384 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Add new MADV_*
385 constants from recent kernels.
387 2009-11-15 Andreas Schwab <schwab@linux-m68k.org>
389 * sysdeps/m68k/libgcc_s.h: New file.
391 2009-11-14 Andreas Schwab <schwab@linux-m68k.org>
393 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_SETOWN_EX)
394 (F_GETOWN_EX, F_OWNER_TID, F_OWNER_PID, F_OWNER_GID, f_owner_ex):
397 2009-11-07 Joseph Myers <joseph@codesourcery.com>
399 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (fallocate): Fix types
400 of last two arguments when -D_FILE_OFFSET_BITS=64.
402 2009-10-30 Joseph Myers <joseph@codesourcery.com>
405 * sysdeps/unix/sysv/linux/m68k/fchownat.c (fchownat): Fix handling
406 of empty parameters for file names.
408 2009-09-06 Andreas Schwab <schwab@linux-m68k.org>
410 * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c: New file.
412 * sysdeps/m68k/__longjmp.c (__longjmp): Call CHECK_SP if defined.
414 2009-05-16 Joseph Myers <joseph@codesourcery.com>
416 * sysdeps/unix/sysv/linux/m68k/Versions (libc): Add
417 fallocate64@@GLIBC_2.11.
419 2009-04-25 Andreas Schwab <schwab@linux-m68k.org>
421 * sysdeps/unix/sysv/linux/m68k/kernel-features.h: Revert last
422 change, the syscalls have been added to 2.6.30-rc4.
424 2009-04-18 Joseph Myers <joseph@codesourcery.com>
426 * sysdeps/unix/sysv/linux/m68k/kernel-features.h (__ASSUME_PREADV,
427 __ASSUME_PWRITEV): Undefine.
429 2009-03-17 Joseph Myers <joseph@codesourcery.com>
431 * sysdeps/unix/sysv/linux/m68k/getsysstats.c (GET_NPROCS_PARSER):
432 Change parameters and use next_line.
434 2009-03-15 Joseph Myers <joseph@codesourcery.com>
436 * sysdeps/m68k/bits/link.h: Uglify function parameter names.
438 2009-03-04 Joseph Myers <joseph@codesourcery.com>
440 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Declare
443 2009-02-26 Joseph Myers <joseph@codesourcery.com>
445 * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Protect UTIME_NOW and
446 UTIME_OMIT only with __USE_ATFILE.
448 2008-08-10 Joseph Myers <joseph@codesourcery.com>
450 * sysdeps/m68k/bits/byteswap.h: Allow inclusion from <endian.h>.
451 (__bswap_constant_16): Define.
452 (__bswap_16): Allow arguments with side effects.
453 (__bswap_constant_32): Ensure result is unsigned.
454 (__bswap_32): Define as inline function in fallback case.
455 (__bswap_constant_64): Define.
456 (__bswap_64): Use it for constant arguments.
457 * sysdeps/m68k/bits/setjmp.h (__jmp_buf): Give name to structure
459 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Only allow inclusion
460 from <math.h>. Do not use extern inline directly.
461 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Include <bits/uio.h>.
462 (O_CLOEXEC, SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE,
463 SYNC_FILE_RANGE_WAIT_AFTER, SPLICE_F_MOVE, SPLICE_F_NONBLOCK,
464 SPLICE_F_MORE, SPLICE_F_GIFT): Define.
465 (sync_file_range, vmsplice, splice, tee): Declare.
466 * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MADV_REMOVE): Define.
467 * sysdeps/unix/sysv/linux/m68k/bits/poll.h (POLLMSG, POLLREMOVE,
469 * sysdeps/unix/sysv/linux/m68k/bits/stat.h (UTIME_NOW,
471 * sysdeps/unix/sysv/linux/m68k/kernel-features.h: New.
472 * sysdeps/unix/sysv/linux/m68k/sys/user.h: New.
474 2008-03-28 Maxim Kuvyrkov <maxim@codesourcery.com>
476 Explicitly get address of _DYNAMIC.
477 * sysdeps/m68k/dl-machine.h (elf_machine_dynamic): Retrieve _DYNAMIC
478 from GOT instead of assuming value at GOT pointer.
480 2007-10-22 Daniel Jacobowitz <dan@codesourcery.com>
482 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
484 2007-07-10 Daniel Jacobowitz <dan@codesourcery.com>
486 * sysdeps/unix/sysv/linux/m68k/bits/fcntl.h: Comment fix.
488 2006-11-28 Andreas Schwab <schwab@suse.de>
490 * sysdeps/unix/sysv/linux/m68k/sysdep.h (DOARGS_6, _DOARGS_6)
491 (UNDOARGS_6): Define for 6-argument syscall stubs.
493 2006-10-03 Andreas Schwab <schwab@suse.de>
495 * sysdeps/m68k/setjmp.c: Use __builtin_return_address and
496 __builtin_frame_address. Don't call __sigjmp_save in ld.so.
498 * sysdeps/unix/sysv/linux/m68k/mremap.S: Accept fifth parameter.
500 2006-10-03 Richard Sandiford <richard@codesourcery.com>
502 * sysdeps/m68k/bits/mathdef.h: Moved from sysdeps/m68k to
504 * sysdeps/m68k/m68020/submul_1.S: Likewise.
505 * sysdeps/m68k/m68020/Makefile: Likewise.
506 * sysdeps/m68k/m68020/mul_1.S: Likewise.
507 * sysdeps/m68k/m68020/wordcopy.S: Likewise.
508 * sysdeps/m68k/m68020/addmul_1.S: Likewise.
509 * sysdeps/m68k/m68020/bits/string.h: Likewise.
510 * sysdeps/m68k/m68020/bits/atomic.h: Likewise.
511 * sysdeps/m68k/sub_n.S: Likewise.
512 * sysdeps/m68k/add_n.S: Likewise.
513 * sysdeps/m68k/s_isnanl.c: Likewise.
514 * sysdeps/m68k/fpu/s_log1p.c: Likewise.
515 * sysdeps/m68k/fpu/e_asinf.c: Likewise.
516 * sysdeps/m68k/fpu/s_cosl.c: Likewise.
517 * sysdeps/m68k/fpu/s_isinff.c: Likewise.
518 * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
519 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
520 * sysdeps/m68k/fpu/s_expm1.c: Likewise.
521 * sysdeps/m68k/fpu/slowexp.c: Likewise.
522 * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
523 * sysdeps/m68k/fpu/s_ccoshf.c: Likewise.
524 * sysdeps/m68k/fpu/s_ilogbl.c: Likewise.
525 * sysdeps/m68k/fpu/Makefile: Likewise.
526 * sysdeps/m68k/fpu/s_expm1f.c: Likewise.
527 * sysdeps/m68k/fpu/s_significandf.c: Likewise.
528 * sysdeps/m68k/fpu/e_pow.c: Likewise.
529 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
530 * sysdeps/m68k/fpu/e_exp.c: Likewise.
531 * sysdeps/m68k/fpu/s_remquof.c: Likewise.
532 * sysdeps/m68k/fpu/s_ilogbf.c: Likewise.
533 * sysdeps/m68k/fpu/s_truncl.c: Likewise.
534 * sysdeps/m68k/fpu/s_frexpf.c: Likewise.
535 * sysdeps/m68k/fpu/s_cos.c: Likewise.
536 * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
537 * sysdeps/m68k/fpu/branred.c: Likewise.
538 * sysdeps/m68k/fpu/s_frexpl.c: Likewise.
539 * sysdeps/m68k/fpu/s_atan.c: Likewise.
540 * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
541 * sysdeps/m68k/fpu/e_scalbl.c: Likewise.
542 * sysdeps/m68k/fpu/e_exp2.c: Likewise.
543 * sysdeps/m68k/fpu/s_cexpf.c: Likewise.
544 * sysdeps/m68k/fpu/mplog.c: Likewise.
545 * sysdeps/m68k/fpu/s_rintf.c: Likewise.
546 * sysdeps/m68k/fpu/s_tanh.c: Likewise.
547 * sysdeps/m68k/fpu/e_scalbf.c: Likewise.
548 * sysdeps/m68k/fpu/s_csinhl.c: Likewise.
549 * sysdeps/m68k/fpu/s_floorl.c: Likewise.
550 * sysdeps/m68k/fpu/k_tanf.c: Likewise.
551 * sysdeps/m68k/fpu/k_tanl.c: Likewise.
552 * sysdeps/m68k/fpu/e_fmodf.c: Likewise.
553 * sysdeps/m68k/fpu/e_atanhf.c: Likewise.
554 * sysdeps/m68k/fpu/s_isnanf.c: Likewise.
555 * sysdeps/m68k/fpu/s_fpclassifyl.c: Likewise.
556 * sysdeps/m68k/fpu/s_modf.c: Likewise.
557 * sysdeps/m68k/fpu/e_log2.c: Likewise.
558 * sysdeps/m68k/fpu/e_acosf.c: Likewise.
559 * sysdeps/m68k/fpu/s_log1pl.c: Likewise.
560 * sysdeps/m68k/fpu/e_log2f.c: Likewise.
561 * sysdeps/m68k/fpu/mpa.c: Likewise.
562 * sysdeps/m68k/fpu/t_exp.c: Likewise.
563 * sysdeps/m68k/fpu/e_acos.c: Likewise.
564 * sysdeps/m68k/fpu/s_expm1l.c: Likewise.
565 * sysdeps/m68k/fpu/s_ccoshl.c: Likewise.
566 * sysdeps/m68k/fpu/s_sinf.c: Likewise.
567 * sysdeps/m68k/fpu/k_tan.c: Likewise.
568 * sysdeps/m68k/fpu/k_cosl.c: Likewise.
569 * sysdeps/m68k/fpu/e_remainder.c: Likewise.
570 * sysdeps/m68k/fpu/s_trunc.c: Likewise.
571 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
572 * sysdeps/m68k/fpu/s_scalbnl.c: Likewise.
573 * sysdeps/m68k/fpu/s_finitef.c: Likewise.
574 * sysdeps/m68k/fpu/s_tanhl.c: Likewise.
575 * sysdeps/m68k/fpu/s_lrintl.c: Likewise.
576 * sysdeps/m68k/fpu/slowpow.c: Likewise.
577 * sysdeps/m68k/fpu/mpexp.c: Likewise.
578 * sysdeps/m68k/fpu/s_isnanl.c: Likewise.
579 * sysdeps/m68k/fpu/e_expf.c: Likewise.
580 * sysdeps/m68k/fpu/s_significand.c: Likewise.
581 * sysdeps/m68k/fpu/e_sinhf.c: Likewise.
582 * sysdeps/m68k/fpu/s_tanl.c: Likewise.
583 * sysdeps/m68k/fpu/s_tanhf.c: Likewise.
584 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
585 * sysdeps/m68k/fpu/e_sqrtf.c: Likewise.
586 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
587 * sysdeps/m68k/fpu/s_nearbyint.c: Likewise.
588 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
589 * sysdeps/m68k/fpu/sincos32.c: Likewise.
590 * sysdeps/m68k/fpu/e_sqrtl.c: Likewise.
591 * sysdeps/m68k/fpu/s_sincosl.c: Likewise.
592 * sysdeps/m68k/fpu/e_atan2f.c: Likewise.
593 * sysdeps/m68k/fpu/s_nearbyintf.c: Likewise.
594 * sysdeps/m68k/fpu/e_fmodl.c: Likewise.
595 * sysdeps/m68k/fpu/e_coshf.c: Likewise.
596 * sysdeps/m68k/fpu/s_csinf.c: Likewise.
597 * sysdeps/m68k/fpu/s_ccosl.c: Likewise.
598 * sysdeps/m68k/fpu/e_sqrt.c: Likewise.
599 * sysdeps/m68k/fpu/s_sin.c: Likewise.
600 * sysdeps/m68k/fpu/e_asin.c: Likewise.
601 * sysdeps/m68k/fpu/mptan.c: Likewise.
602 * sysdeps/m68k/fpu/e_exp10f.c: Likewise.
603 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
604 * sysdeps/m68k/fpu/s_finitel.c: Likewise.
605 * sysdeps/m68k/fpu/e_log10.c: Likewise.
606 * sysdeps/m68k/fpu/k_sinl.c: Likewise.
607 * sysdeps/m68k/fpu/e_remainderl.c: Likewise.
608 * sysdeps/m68k/fpu/s_remquol.c: Likewise.
609 * sysdeps/m68k/fpu/s_scalblnf.c: Likewise.
610 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
611 * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
612 * sysdeps/m68k/fpu/e_asinl.c: Likewise.
613 * sysdeps/m68k/fpu/e_logl.c: Likewise.
614 * sysdeps/m68k/fpu/s_cosf.c: Likewise.
615 * sysdeps/m68k/fpu/s_rint.c: Likewise.
616 * sysdeps/m68k/fpu/s_ceill.c: Likewise.
617 * sysdeps/m68k/fpu/s_modfl.c: Likewise.
618 * sysdeps/m68k/fpu/s_csinl.c: Likewise.
619 * sysdeps/m68k/fpu/s_tan.c: Likewise.
620 * sysdeps/m68k/fpu/s_sincosf.c: Likewise.
621 * sysdeps/m68k/fpu/dosincos.c: Likewise.
622 * sysdeps/m68k/fpu/e_powl.c: Likewise.
623 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
624 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
625 * sysdeps/m68k/fpu/e_expl.c: Likewise.
626 * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
627 * sysdeps/m68k/fpu/s_tanf.c: Likewise.
628 * sysdeps/m68k/fpu/mpsqrt.c: Likewise.
629 * sysdeps/m68k/fpu/s_sinl.c: Likewise.
630 * sysdeps/m68k/fpu/mathimpl.h: Likewise.
631 * sysdeps/m68k/fpu/e_acosl.c: Likewise.
632 * sysdeps/m68k/fpu/e_cosh.c: Likewise.
633 * sysdeps/m68k/fpu/s_cexpl.c: Likewise.
634 * sysdeps/m68k/fpu/s_fabsl.c: Likewise.
635 * sysdeps/m68k/fpu/halfulp.c: Likewise.
636 * sysdeps/m68k/fpu/s_modff.c: Likewise.
637 * sysdeps/m68k/fpu/s_isnan.c: Likewise.
638 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
639 * sysdeps/m68k/fpu/s_fabs.c: Likewise.
640 * sysdeps/m68k/fpu/e_log10f.c: Likewise.
641 * sysdeps/m68k/fpu/k_cosf.c: Likewise.
642 * sysdeps/m68k/fpu/e_sinh.c: Likewise.
643 * sysdeps/m68k/fpu/s_truncf.c: Likewise.
644 * sysdeps/m68k/fpu/s_ceil.c: Likewise.
645 * sysdeps/m68k/fpu/s_log1pf.c: Likewise.
646 * sysdeps/m68k/fpu/e_logf.c: Likewise.
647 * sysdeps/m68k/fpu/mpatan.c: Likewise.
648 * sysdeps/m68k/fpu/s_csin.c: Likewise.
649 * sysdeps/m68k/fpu/e_exp2l.c: Likewise.
650 * sysdeps/m68k/fpu/e_sinhl.c: Likewise.
651 * sysdeps/m68k/fpu/e_atan2l.c: Likewise.
652 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
653 * sysdeps/m68k/fpu/s_floorf.c: Likewise.
654 * sysdeps/m68k/fpu/e_log2l.c: Likewise.
655 * sysdeps/m68k/fpu/s_atanl.c: Likewise.
656 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
657 * sysdeps/m68k/fpu/k_sinf.c: Likewise.
658 * sysdeps/m68k/fpu/s_csinhf.c: Likewise.
659 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
660 * sysdeps/m68k/fpu/s_atanf.c: Likewise.
661 * sysdeps/m68k/fpu/s_floor.c: Likewise.
662 * sysdeps/m68k/fpu/e_exp10l.c: Likewise.
663 * sysdeps/m68k/fpu/doasin.c: Likewise.
664 * sysdeps/m68k/fpu/s_rintl.c: Likewise.
665 * sysdeps/m68k/fpu/e_atanhl.c: Likewise.
666 * sysdeps/m68k/fpu/e_remainderf.c: Likewise.
667 * sysdeps/m68k/fpu/s_scalbln.c: Likewise.
668 * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
669 * sysdeps/m68k/fpu/e_exp10.c: Likewise.
670 * sysdeps/m68k/fpu/s_lrintf.c: Likewise.
671 * sysdeps/m68k/fpu/k_cos.c: Likewise.
672 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
673 * sysdeps/m68k/fpu/s_ccosf.c: Likewise.
674 * sysdeps/m68k/fpu/s_scalblnl.c: Likewise.
675 * sysdeps/m68k/fpu/switch/Makefile: Likewise.
676 * sysdeps/m68k/fpu/switch/switch.c: Likewise.
677 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
678 * sysdeps/m68k/fpu/switch/bits/mathinline.h: Likewise.
679 * sysdeps/m68k/fpu/e_log.c: Likewise.
680 * sysdeps/m68k/fpu/s_nextafterl.c: Likewise.
681 * sysdeps/m68k/fpu/s_nearbyintl.c: Likewise.
682 * sysdeps/m68k/fpu/mpatan2.c: Likewise.
683 * sysdeps/m68k/fpu/k_sin.c: Likewise.
684 * sysdeps/m68k/fpu/e_atanh.c: Likewise.
685 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
686 * sysdeps/m68k/fpu/e_log10l.c: Likewise.
687 * sysdeps/m68k/fpu/s_ceilf.c: Likewise.
688 * sysdeps/m68k/fpu/s_fabsf.c: Likewise.
689 * sysdeps/m68k/fpu/s_significandl.c: Likewise.
690 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
691 * sysdeps/m68k/fpu/e_coshl.c: Likewise.
692 * sysdeps/m68k/fpu/s_scalbnf.c: Likewise.
693 * sysdeps/m68k/fpu/s_finite.c: Likewise.
694 * sysdeps/m68k/fpu/e_exp2f.c: Likewise.
695 * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
696 * sysdeps/m68k/fpu/s_isinfl.c: Likewise.
697 * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
698 * sysdeps/m68k/fpu/e_powf.c: Likewise.
699 * sysdeps/m68k/rshift.S: Likewise.
700 * sysdeps/m68k/lshift.S: Likewise.
701 * sysdeps/m68k/strtold_l.c: Likewise.
702 * sysdeps/m68k/printf_fphex.c: Likewise.
703 * sysdeps/m68k/s_isinfl.c: Likewise.
704 * sysdeps/m68k/bits/huge_vall.h: Likewise.
706 * sysdeps/m68k/asm-syntax.h (andw, andl, subqw, tstw, tstl): New.
707 * sysdeps/m68k/bits/byteswap.h (__bswap32): Don't define for
709 * sysdeps/m68k/bits/setjmp.h (__jmp_buf): Add a 64-byte
710 __fpregs field for Coldfire FPUs.
711 * sysdeps/m68k/dl-machine.h: Include sysdep.h.
712 (elf_machine_load_address): Use PCREL_OP.
713 (_dl_start_user): Likewise.
714 * sysdeps/m68k/dl-trampoline.S (_dl_runtime_resolve): Avoid jmp (%dN)
715 on Coldfire; push the target address and use rts instead.
716 (_dl_runtime_profile): Likewise. Round up the frame size to longword
717 rather than word alignment. Avoid dbra on Coldfire. Avoid using
718 jsr (%d0) on Coldfire; push the return address and target address
719 and use rts instead. Use fmovem.l rather than fmovem.x on Coldfire.
720 Add missing initialization of lrv_a0 and restore a0 from it after
721 calling _dl_call_pltexit. Adjust the stack offsets of later data
722 accordingly, fixing a previously incorrect offset for the inregs
724 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Save the control
725 registers individually on Coldfire targets.
726 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
727 Add missing libm_hidden_def.
728 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Save and restore the
729 control registers individually on Coldfire targets.
730 * sysdeps/m68k/fpu/fesetround.c (fesetround): Add missing
732 * sysdeps/m68k/fpu_control.h: Add the Coldfire bit assignments to
734 (_FPU_DOUBLE): Define to 0 for Coldfire.
735 (_FPU_EXTENDED): Don't define for Coldfire.
736 (_FPU_RESERVED): Include bit 15 for Coldfire.
737 * sysdeps/m68k/Implies: Remove ieee754/ldbl-96.
738 * sysdeps/m68k/m680x0/Implies: Add it to this new file instead.
739 * sysdeps/m68k/ldsodefs.h: New file.
740 * sysdeps/m68k/__longjmp.c (__longjmp): Restore the floating-point
741 registers when using a Coldfire FPU.
742 * sysdeps/m68k/Makefile (long-double-fcts): Delete.
743 * sysdeps/m68k/m680x0/Makefile: Add it to this new file instead.
744 * sysdeps/m68k/memchr.S (__memchr): Add Coldfire code. Avoid
746 * sysdeps/m68k/preconfigure (m680?0): Add "m680x0" to $machine.
747 (m68k): Use the compiler to decide whether $machine should be
748 set to m68k/coldfire or m68k/m680x0/m68020.
749 * sysdeps/m68k/rawmemchr.S (__rawmemchr): Add Coldfire code. Avoid
751 * sysdeps/m68k/setjmp.c (__sigsetjmp): Save the floating-point
752 registers when using a Coldfire FPU. Use libc_hidden_def rather
754 * sysdeps/m68k/strchrnul.S (__strchrnul): Add Coldfire code. Avoid
756 * sysdeps/m68k/strchr.S (strchr): Likewise.
757 * sysdeps/m68k/sysdep.h (PCREL_OP): Define.
758 * sysdeps/m68k/tst-audit.h: New file.
759 * sysdeps/m68k/wcpcpy.c: Likewise.
760 * sysdeps/m68k/wcpcpy_chk.c: Likewise.
761 * sysdeps/unix/sysv/linux/m68k/configure.in: New file.
762 * sysdeps/unix/sysv/linux/m68k/configure: Likewise.
763 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Add Coldfire code.
764 * sysdeps/unix/sysv/linux/m68k/register-dump.h (real_catch_segfault):
765 Do not define on Coldfire.
766 (catch_segfault): Likewise.
767 (register_dump): Use the Coldfire-specific sigcontext fields to
768 display call-saved data and address registers (rather than the
769 data stored in sc_fpstate by real_catch_segfault). Display 8-byte
770 floating-point registers on Coldfire.
771 * sysdeps/unix/sysv/linux/m68k/socket.S (__socket): Pass a temporary
772 register to SINGLE_THREAD_P.
773 * sysdeps/unix/sysv/linux/m68k/sys/reg.h (PT_FP0): Redefine for
775 (PT_FP1, PT_FP2, PT_FP3, PT_FP4, PT_FP5, PT_FP6, PT_FP7): Likewise.
776 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset): Sync field
777 order with linux. Make f_fpregs an 8*2 array on Coldfire.
778 (ucontext): Sync field order with linux.
779 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Guard against multiple
781 (SYSCALL_ERROR_HANDLER): Use PCREL_OP.
782 * sysdeps/unix/sysv/linux/m68k/syscalls.list (oldgetrlimit): Delete.
783 (oldsetrlimit): Likewise.
784 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: New file.
785 List oldgetrlimit and oldsetrlimit here instead.
786 * sysdeps/unix/sysv/linux/m68k/bits/sigcontext.h: New file.
787 * sysdeps/unix/sysv/linux/m68k/bits/siginfo.h: Likewise.
788 * sysdeps/m68k/coldfire/bits/atomic.h: Likewise.
789 * sysdeps/m68k/coldfire/fpu/e_sqrt.c: Likewise.
790 * sysdeps/m68k/coldfire/fpu/e_sqrtf.c: Likewise.
791 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c: Likewise.
792 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
793 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Likewise.
794 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Likewise.
795 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Likewise.
796 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Likewise.
797 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
798 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
799 * sysdeps/m68k/coldfire/shlib-versions: Likewise.
801 2006-02-28 Roland McGrath <roland@redhat.com>
803 * sysdeps/m68k/preconfigure: New file.