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