MIPS: fix pthread_attr_t definitions.
[glibc-ports.git] / ChangeLog.mips
blob3198ace74345e485d7b1172d6517e639b4b518a8
1 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (pthread_attr_t):
4         Change union tag to pthread_attr_t.  Only define typedef if not
5         already defined.
6         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7         (pthread_attr_t): Change union tag to pthread_attr_t.  Only define
8         typedef if not already defined.
10 2012-02-26  Joseph Myers  <joseph@codesourcery.com>
12         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Don't name
13         siginfo_t struct.  Add forward declaration of pthread_attr_t and
14         use it in sigevent.
15         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Name
16         pthread_attr_t union.
18 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
20         * sysdeps/unix/sysv/linux/mips/bits/epoll.h: New file.
21         * sysdeps/unix/sysv/linux/mips/bits/timerfd.h: Likewise.
22         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Remove.
23         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
25 2012-02-20  Andreas Schwab  <schwab@linux-m68k.org>
27         * sysdeps/unix/sysv/linux/mips/bits/errno.h (EHWPOISON): Define if
28         not defined.
30 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
32         * sysdeps/mips/dl-procinfo.h(_DL_PLATFORMS_COUNT): define to 4,
33         matching the array in dl-procinfo.c.
35 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
37         * sysdeps/mips/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38         * sysdeps/mips/mips64/n32/fpu/libm-test-ulps: Likewise.
39         * sysdeps/mips/mips64/n64/fpu/libm-test-ulps: Likewise.
41 2012-02-15  Robert Millan  <rmh@gnu.org>
43         [BZ #12301]
44         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h [__ASSEMBLER__]
45         [__PIC__] (SYSCALL_ERROR_LABEL): New macro.
47 2012-02-15  Robert Millan  <rmh@gnu.org>
49         [BZ #12298]
50         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Moved to ...
51         * sysdeps/mips/sys/tas.h: ... here.
53 2012-02-15  Robert Millan  <rmh@gnu.org>
55         [BZ #12297]
56         * sysdeps/mips/dl-machine.h: Fix a comment regarding __start.
57         * sysdeps/unix/sysv/linux/mips/entry.h: Moved to ...
58         * sysdeps/unix/mips/entry.h: ... here.
60 2012-02-15  Robert Millan  <rmh@gnu.org>
62         [BZ #12193]
63         * sysdeps/mips/dl-machine.h (DL_PLATFORM_INIT, dl_platform_init):
64         Define.
65         * sysdeps/mips/dl-procinfo.c: New file.
66         * sysdeps/mips/dl-procinfo.h: Likewise.
68 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
70         * sysdeps/unix/sysv/linux/mips/bits/signalfd.h: New file.
71         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: Remove.
73 2012-02-15  Viju Vincent  <vijuvince@gmail.com>
75         * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Use locking
76         around calls to _dl_lookup_symbol_x.
78 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
80         * sysdeps/unix/sysv/linux/mips/bits/inotify.h: New file.
81         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Remove.
83 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
85         * sysdeps/unix/sysv/linux/mips/bits/eventfd.h: New file.
86         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Remove.
88 2012-02-10  Joseph Myers  <joseph@codesourcery.com>
90         * sysdeps/mips/mips32/crti.S: New file, based on compiler output
91         for sysdeps/generic/initfini.c.
92         * sysdeps/mips/mips32/crtn.S: Likewise.
93         * sysdeps/mips/mips64/n32/crti.S: Likewise.
94         * sysdeps/mips/mips64/n32/crtn.S: Likewise.
95         * sysdeps/mips/mips64/n64/crti.S: Likewise.
96         * sysdeps/mips/mips64/n64/crtn.S: Likewise.
97         * sysdeps/mips/Makefile (CFLAGS-initfini.s): Remove variable.
98         (CFLAGS-pt-initfini.s): Likewise.
99         (CPPFLAGS-crti.S, CPPFLAGS-crtn.S, CPPFLAGS-pt-crti.S): Define
100         variables.
102 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
104         * sysdeps/mips/sys/asm.h: Remove __STDC__ conditionals.
105         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
106         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
107         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
109 2012-01-08  Joseph Myers  <joseph@codesourcery.com>
111         * sysdeps/mips/bits/fenv.h: Use const instead of __const.
112         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
113         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
114         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
115         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Likewise.
116         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
117         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
119 2012-01-07  Joseph Myers  <joseph@codesourcery.com>
121         * sysdeps/mips/nptl/shlib-versions: New.
123 2012-01-07  Joseph Myers  <joseph@codesourcery.com>
125         * sysdeps/mips/backtrace.c: Use x86_64 version of backtrace.c.
127 2012-01-04  Tom de Vries  <tom@codesourcery.com>
129         * sysdeps/mips/Makefile: Compile initfini.c, pt-initfini.c with
130         -fno-unwind-tables.
132 2012-01-03  Tom de Vries  <tom@codesourcery.com>
134         * sysdeps/mips/backtrace.c: New file, including ia64 backtrace.c.
135         * sysdeps/mips/Makefile: Compile backtrace.c with -funwind-tables.
137 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
139         * sysdeps/unix/sysv/linux/mips/Makefile (no_syscall_list_h)
140         (mips_list_syscalls, $(objpfx)syscall-%.h $(objpfx)syscall-%.d):
141         Remove.
142         (syscall-list-variants, syscall-list-includes)
143         (syscall-list-o32-options, syscall-list-o32-condition)
144         (syscall-list-n32-options, syscall-list-n32-condition)
145         (syscall-list-n64-options, syscall-list-n64-condition): Define.
146         * sysdeps/unix/sysv/linux/mips/configure.in: Don't generate
147         asm-unistd.h.
148         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
149         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Remove.
151 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
153         [BZ #13538]
154         * sysdeps/unix/sysv/linux/mips/sys/epoll.h (EPOLLONESHOT)
155         (EPOLLET): Initialize with unsigned values.
157 2011-12-19  Joseph Myers  <joseph@codesourcery.com>
159         * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h
160         $(objpfx)syscall-%.d): Use sysdeps path to locate sys/syscall.h.
162 2011-11-17  Joseph Myers  <joseph@codesourcery.com>
164         * sysdeps/unix/sysv/linux/mips/mips64/n64/ftw.c,
165         sysdeps/unix/sysv/linux/mips/mips64/n64/ftw64.c: New.
167 2011-11-11  Joseph Myers  <joseph@codesourcery.com>
169         * sysdeps/mips/dl-lookup.c: Update from generic version.
171 2011-10-12  Joseph Myers  <joseph@codesourcery.com>
173         * sysdeps/mips/fpu/e_sqrt.c: Add __sqrt_finite alias.
174         * sysdeps/mips/fpu/e_sqrtf.c: Add __sqrtf_finite alias.
175         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Add __sqrtl_finite alias.
177 2011-10-05  Andreas Schwab  <schwab@redhat.com>
179         * sysdeps/mips/dl-machine.h (elf_machine_rel, elf_machine_rela)
180         (elf_machine_lazy_rel): Add parameter skip_ifunc.
182 2011-09-13  Joseph Myers  <joseph@codesourcery.com>
184         * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Cast
185         return value to (struct cmsghdr *).
187 2011-09-13  Joseph Myers  <joseph@codesourcery.com>
189         * sysdeps/mips/elf/configure.in: Always test for TLS support and
190         error out in case it is missing.
191         * sysdeps/mips/elf/configure: Regenerate.
192         * sysdeps/mips/nptl/tls.h: Remove test for HAVE_TLS_SUPPORT.
194 2011-09-11  Joseph Myers  <joseph@codesourcery.com>
196         * sysdeps/mips/dl-machine.h, sysdeps/mips/libc-tls.c,
197         sysdeps/mips/nptl/tls.h: Don't define or use USE_TLS.
199 2011-09-06  Joseph Myers  <joseph@codesourcery.com>
201         [BZ #13109]
202         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (fstatfs)
203         (statfs): New.
204         * sysdeps/unix/sysv/linux/mips/mips64/n64/fstatfs64.c,
205         sysdeps/unix/sysv/linux/mips/mips64/n64/statfs64.c: New.
207 2011-08-02  Matt Turner  <mattst88@gmail.com>
209         * sysdeps/mips/bits/atomic.h: Workaround R10K ll/sc errata.
211 2011-07-25  Joseph Myers  <joseph@codesourcery.com>
213         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_NFC, AF_NFC):
214         Define.
216 2011-06-20  Joseph Myers  <joseph@codesourcery.com>
218         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c,
219         sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: New.
221 2011-06-20  Joseph Myers  <joseph@codesourcery.com>
223         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SI_USER): Don't
224         mention raise in the comment.
226 2011-05-23  Aurelien Jarno  <aurelien@aurel32.net>
228         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTTIME):
229         Add.
231 2011-05-13  Joseph Myers  <joseph@codesourcery.com>
233         * sysdeps/mips/dl-lookup.c: Update from generic version.
235 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
237         * sysdeps/mips/dl-lookup.c: Update from generic version.
239 2011-04-11  Joseph Myers  <joseph@codesourcery.com>
241         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Define.
243 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
245         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Rename open_by_handle
246         to open_by_handle_at.
248 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
250         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_PATH): Define.
252 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
254         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define struct
255         file_handle and MAX_HANDLE_SZ.  Declare name_to_handle_at and
256         open_by_handle.  Augment a few comments.
258 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
260         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Make
261         cancelable.
262         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Likewise.
263         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
264         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Mark
265         sync_file_range as cancellation point.
266         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Mark
267         sync_file_range as cancellation point.
269 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
271         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add
272         sync_file_range.
274 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
276         * sysdeps/mips/dl-lookup.c: Update from generic version.
278 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
280         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_HUGEPAGE,
281         MADV_NOHUGEPAGE): Define.
283 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
285         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_CAIF, AF_ALG,
286         PF_CAIF, PF_ALG): Define.
288 2010-12-30  Joseph Myers  <joseph@codesourcery.com>
290         * sysdeps/mips/init-first.c: Don't call __libc_global_ctors if
291         NO_CTORS_DTORS_SECTIONS is defined.
292         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
294 2010-12-21  Joseph Myers  <joseph@codesourcery.com>
296         * sysdeps/mips/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
298 2010-12-06  Matt Turner  <mattst88@gmail.com>
300         * sysdeps/unix/sysv/linux/mips/getpagesize.c: Delete file.
302 2010-12-06  Joseph Myers  <joseph@codesourcery.com>
304         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
305         Change to 2.4.1.
306         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
308 2010-10-21  Joseph Myers  <joseph@codesourcery.com>
310         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
311         sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list,
312         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add entries
313         for fanotify_mark.
315 2010-10-11  Joseph Myers  <joseph@codesourcery.com>
317         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Add
318         libm_hidden_def.
319         * sysdeps/mips/fpu/ftestexcept.c (fetestexcept): Likewise.
321 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
323         * sysdeps/unix/sysv/linux/mips/kernel-features.h
324         (__ASSUME_GETDENTS64_SYSCALL): Undefine for n32 ABI before 2.6.35.
326 2010-08-13  Chandrakala Chavva  <cchavva@caviumnetworks.com>
328         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Add 'nop' in
329         jump delay slot.
330         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Ditto.
332 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
334         * sysdeps/unix/sysv/linux/mips/bits/termios.h (EXTPROC): Define.
336 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
338         * sysdeps/unix/sysv/linux/mips/bits/statfs.h (struct statfs,
339         struct statfs64): Add f_flags field.
341 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
343         * sysdeps/unix/sysv/linux/mips/sys/inotify.h (IN_EXCL_UNLINK):
344         Define.
346 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
348         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Declare prlimit
349         and prlimit64.
350         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
351         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: New files.
352         * sysdeps/unix/sysv/linux/mips/n32/syscalls.list: Add entry for
353         prlimit64 syscall.
355 2010-06-14  Joseph Myers  <joseph@codesourcery.com>
357         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETPIPE_SZ,
358         F_GETPIPE_SZ): Define.
360 2010-05-21  Joseph Myers  <joseph@codesourcery.com>
362         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c,
363         sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: New.
365 2010-04-14  Joseph Myers  <joseph@codesourcery.com>
367         * sysdeps/unix/sysv/linux/mips/libc-abis: New.
369 2010-04-06  Joseph Myers  <joseph@codesourcery.com>
371         * sysdeps/mips/dl-machine.h (VALID_ELF_ABIVERSION,
372         VALID_ELF_OSABI, VALID_ELF_HEADER): Remove.
373         * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
374         Define.
376 2010-03-30  Joseph Myers  <joseph@codesourcery.com>
378         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define
379         MSG_WAITFORONE.
381 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
383         * sysdeps/mips/dl-lookup.c: Update from generic version.
385 2010-03-23  Mischa Jonker  <mischa.jonker@viragelogic.com>
387         [BZ #11291]
388         * sysdeps/mips/bits/atomic.h
389         (__arch_compare_and_exchange_xxx_32_int,
390         __arch_compare_and_exchange_xxx_64_int,
391         __arch_exchange_xxx_32_int, __arch_exchange_xxx_64_int,
392         __arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
393         Specify *mem as asm output as well as input.
395 2010-02-10  Joseph Myers  <joseph@codesourcery.com>
397         * sysdeps/mips/fpu/fegetenv.c: Add hidden alias.
399 2010-01-28  Joseph Myers  <joseph@codesourcery.com>
401         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve,
402         _dl_runtime_pltresolve): Calculate offset from start of function
403         to .cpload instead of hardcoding instruction size.
405 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
407         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion
408         problem.
410 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
412         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define
413         SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
415 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
417         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY,
418         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
419         XPG7.
420         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Enable using from
421         fcntl.h.
423 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
425         [BZ #11093]
426         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM,
427         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
429 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
431         * sysdeps/mips/dl-lookup.c: Update from generic version.
433 2009-12-15  Joseph Myers  <joseph@codesourcery.com>
435         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Redefine O_SYNC and
436         O_DSYNC to match 2.6.33+ kernels.
438 2009-12-09  Joseph Myers  <joseph@codesourcery.com>
440         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and
441         declare recvmmsg.
443 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
445         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
446         (posix_fadvise): Remove.
447         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c,
448         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c,
449         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New.
451 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
453         * sysdeps/mips/dl-lookup.c: Update from generic version.
455 2009-11-23  Joseph Myers  <joseph@codesourcery.com>
457         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec
458         for timestamps also if __USE_XOPEN2K8.
460 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
462         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol
463         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
465 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
467         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading
468         names of parameters of sync_file_range.
470 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
472         [BZ #10972]
473         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_*
474         constants from recent kernels.
476 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
478         * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
479         not already defined.
481 2009-11-14  Joseph Myers  <joseph@codesourcery.com>
483         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
484         F_GETOWN_EX): Update values.
486 2009-11-06  Joseph Myers  <joseph@codesourcery.com>
488         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
489         of last two arguments when -D_FILE_OFFSET_BITS=64.
491 2009-10-29  Joseph Myers  <joseph@codesourcery.com>
493         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
494         f_owner_ex.
496 2009-10-03  Joseph Myers  <joseph@codesourcery.com>
498         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
499         and F_GETOWN_EX.
501 2009-09-25  Daniel Jacobowitz  <dan@codesourcery.com>
503         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
504         (__SYSCALL_CLOBBERS): Add "hi" and "lo".
505         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
506         (__SYSCALL_CLOBBERS): Likewise.
507         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
508         (__SYSCALL_CLOBBERS): Likewise.
510 2009-08-05  Joseph Myers  <joseph@codesourcery.com>
512         * sysdeps/mips/____longjmp_chk.c: Remove.  Replaced by....
513         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This.  New file.
514         * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
515         variable for env.  Use expansion of CHECK_SP macro for check.
516         * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
518 2009-08-03  Joseph Myers  <joseph@codesourcery.com>
520         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
521         sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
523 2009-07-20  Aurelien Jarno  <aurelien@aurel32.net>
525         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
526         __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
528 2009-07-17  Joseph Myers  <joseph@codesourcery.com>
530         * sysdeps/mips/do-lookup.h: Remove.
531         * sysdeps/mips/dl-lookup.c: Update from generic version, with
532         non-PIC handling integrated.
534 2009-06-18  Joseph Myers  <joseph@codesourcery.com>
536         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
537         and AF_IEEE802154.
539 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
541         * sysdeps/mips/____longjmp_chk.c: New file.
542         * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it.  Don't
543         undefine __longjmp.
544         * sysdeps/mips64/__longjmp.c: Likewise.
546 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
548         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
549         sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
550         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
551         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
553 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
555         * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
556         fallocate64@@GLIBC_2.11.
558 2009-05-14  Joseph Myers  <joseph@codesourcery.com>
560         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
561         sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
563 2009-04-18  Maciej W. Rozycki  <macro@codesourcery.com>
565         * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
566         * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
567         * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
568         * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
569         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
570         Update comment.
571         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
572         * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
573         * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers):
574         Add ucontext_i.sym.
576 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
578         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
579         __ASSUME_PWRITEV): Don't define here.
581 2009-04-15  Maciej W. Rozycki  <macro@codesourcery.com>
583         * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
585 2009-04-09  Joseph Myers  <joseph@codesourcery.com>
587         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
588         numbers.
589         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
590         Define.
591         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
592         preadv and pwritev.
594 2009-03-18  Maciej W. Rozycki  <macro@codesourcery.com>
596         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
597         Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
599 2009-03-18  Zhang Le  <r0bertz@gentoo.org>
601         [BZ #7074]
602         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
603         Fix the condition used to annotate n32 objects.
605 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
607         * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
608         Change parameters and use next_line.
610 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
612         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
613         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
614         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
616 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
618         * sysdeps/mips/bits/link.h: Uglify function parameter names.
619         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
620         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
621         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
622         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
624 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
626         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
627         fallocate{,64}.
629 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
631         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
632         UTIME_OMIT only with __USE_ATFILE.
634 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
636         [BZ #7040]
637         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
638         inotify_rm_watch should have type int.
640 2009-02-02  Joseph Myers  <joseph@codesourcery.com>
642         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
644 2009-01-27  Maciej W. Rozycki  <macro@linux-mips.org>
645             Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
647         PR glibc/1048
648         * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
649         variable page size for MIPS.
650         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
651         * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
652         * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
654 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
656         * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
657         __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
658         -D_GNU_SOURCE.
660 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
662         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
663         FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
665 2008-12-19  Joseph Myers  <joseph@codesourcery.com>
667         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
668         sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
669         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
670         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
672 2008-12-09  Joseph Myers  <joseph@codesourcery.com>
674         * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
675         Make available only for __USE_GNU.
677 2008-12-03  Joseph Myers  <joseph@codesourcery.com>
679         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
680         FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
682 2008-11-25  Joseph Myers  <joseph@codesourcery.com>
684         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
685         __THROW vs. __nonnull order for C++.
687 2008-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
689         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
690         * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
691         R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
693 2008-10-01  Mark Shinwell  <shinwell@codesourcery.com>
694             Daniel Jacobowitz  <dan@codesourcery.com>
695             Richard Sandiford  <rdsandiford@googlemail.com>
697         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
698         * sysdeps/mips/dl-lookup.c: New.
699         * sysdeps/mips/do-lookup.h: New.
700         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
701         definition.
702         (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
703         if needed.
704         (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
705         (elf_machine_type_class): Likewise.
706         (ELF_MACHINE_PLT_REL): Define.
707         (elf_machine_fixup_plt): New.
708         (elf_machine_plt_value): New.
709         (elf_machine_reloc): Handle jump slot and copy relocations.
710         (elf_machine_lazy_rel): Point relocation place at PLT if
711         required.
712         (RESOLVE_GOTSYM): Take a relocation type argument.
713         (elf_machine_got_rel): Bind lazy stubs directly to their target if
714         !lazy.  Skip lazy binding for PLT symbols.
715         (elf_machine_runtime_setup): Fill in .got.plt header.
716         * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
717         (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
718         ELF_DL_PLT_RESTORE_ARG_REGS): Define.
719         (_dl_runtime_pltresolve): New.
720         * sysdeps/mips/bits/linkmap.h: New file.
721         * sysdeps/mips/tls-macros.h: Load $gp as required.  Merge 32-bit and
722         64-bit versions.
724         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
725         Delete definition.
726         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
727         PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
728         (PSEUDO): Use them.  Move outside __PIC__.
729         (PSEUDO_JMP): New.
730         (CENABLE, CDISABLE): Use it.
732 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
734         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
735         to epoll_create1.
737 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
739         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
740         SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
741         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
742         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
743         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
744         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
745         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
747 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
749         * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
750         volatile.
752 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
754         * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
755         type.
757 2008-05-21  Joseph Myers  <joseph@codesourcery.com>
759         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
760         (SOCK_DCCP): Define.
762 2008-05-01  Joseph Myers  <joseph@codesourcery.com>
764         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
765         RUSAGE_THREAD and RUSAGE_LWP.
767 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
769         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
770         shmid_ds.
772 2008-04-21  Khem Raj  <kraj@mvista.com>
774         * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
776 2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
778         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add
779         truncate and ftruncate systems calls.
780         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
781         empty file.
782         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
784 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
786         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
787         ARG_MAX if <linux/limits.h> has defined it.
789 2008-03-28  Robin Randhawa  <robin@mips.com>
791         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
792         barriers to enforce strict ordering on weakly ordered systems.
794 2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
795             Daniel Jacobowitz  <dan@codesourcery.com>
797         * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
798         * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
799         * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
801 2008-03-09  Andreas Jaeger  <aj@suse.de>
803         [BZ #5753]
804         * sysdeps/mips/ieee754.h: Use protected namespace
805         __BIG_ENDIAN/__LITTLE_ENDIAN.
806         Patch by Aurelien Jarno <aurelien@aurel32.net>.
808 2008-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
810         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
811         Reorganize to match other architectures.  Replace _timer._timer1
812         and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
813         _timer.si_sigval.  Correct the type of _sigpoll.si_band.
814         (si_timerid, si_overrun): Define.
815         (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
816         (__pthread_attr_s): Remove declaration.
817         (struct sigevent): Remove XXX.  Add _tid.
819 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
821         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
823 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
825         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
826         type and __THROW marker of splice, vmsplice, and tee.
828 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
830         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
831         LLL_PRIVATE argument to lll_futex_wake.
832         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
833         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
834         comment.
835         (PF_IUCV, PF_RXRPC): Define.
836         (PF_MAX): Update.
837         (AF_IUCV, AF_RXRPC): Define.
838         (MSG_CMSG_CLOEXEC): Define.
839         (_EXTERN_INLINE): Define to __extern_inline.
840         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
841         UTIME_OMIT): Define.
842         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
843         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
844         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
845         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
846         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
847         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
848         LLL_LOCK_*.  Include <kernel-features.h>.
849         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
850         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
851         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
852         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
853         lll_futex_wait.
854         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
855         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
856         private arguments.
857         (__lll_robust_trylock): Convert to macro.
858         (__lll_robust_lock_wait): Add private argument.
859         (__lll_lock_wait_private, __lll_lock_wait): Declare.
860         (__lll_lock): Convert to macro.  Take private argument.
861         (__lll_cond_lock): Likewise.
862         (lll_lock, lll_cond_lock): Take private arguments.
863         (__lll_robust_lock): Take private argument.  Convert to macro.
864         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
865         lll_robust_cond_lock): Take private arguments.
866         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
867         arguments.
868         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
869         (lll_timedlock, lll_robust_timedlock): Take private arguments.
870         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
871         private arguments.
872         (lll_unlock, lll_robust_unlock): Take private arguments.
873         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
874         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
875         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
876         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
877         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
878         lll_cond_wake, lll_cond_broadcast): Remove.
879         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
880         to __extern_inline.
882 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
884         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
885         New macros for the (n)64 and n32 ABIs.
886         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
888 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
890         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
891         Define __WORDSIZE_COMPAT32 as 1.
893 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
895         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
896         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
897         PTHREAD_STACK_MIN.
899 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
901         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
903         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
904         Delete.
906 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
908         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
909         (internal_syscall1, internal_syscall2, internal_syscall3,
910         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
912 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
914         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
915         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
916         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
917         THREAD_GSCOPE_WAIT): Define.
918         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
919         (FUTEX_PRIVATE_FLAG): Define.
920         (lll_unlock_wake_cb): Delete prototype.
921         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
922         <endian.h>.
923         (pthread_rwlock_t): Shrink __flags and add __shared.
925 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
927         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
928         (posix_fadvise): Fix high word of len argument.
930 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
932         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
933         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
934         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
935         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
936         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
937         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
939 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
941         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
942         * sysdeps/mips/mips64/n64/Implies: Likewise.
943         * sysdeps/mips/mips64/soft-fp/Makefile: New.
944         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
945         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
946         <fpu_control.h>.  Use hardware exception and rounding mode
947         settings.
949 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
951         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
952         r_info argument to ElfW(Addr).
954 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
956         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
958 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
959             Daniel Jacobowitz  <dan@codesourcery.com>
961         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
962         shmctl, and semctl.
963         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
964         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
965         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
967 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
969         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
970         PTR_DEMANGLE): Define.
971         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
972         PTR_DEMANGLE): Define.
973         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
974         PTR_DEMANGLE): Define.
976 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
978         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
979         (cfi_same_value): Delete definition.
981 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
983         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
984         (elf_machine_reloc): New function, retaining the body of
985         elf_machine_rel.  Take the reloc's r_info field as an argument,
986         not the reloc itself.  Add extra r_addend and inplace_p arguments.
987         When inplace_p is false, use r_addend as the addend, not the contents
988         of the relocation field.  Hoist the conversion of reloc_addr to
989         "ELFW(Addr) *".  Don't try to apply TLS relocations against
990         undefined symbols.  Add R_MIPS_GLOB_DAT support.
991         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
992         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
993         to ElfW(Rela).
995 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
997         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
998         multiple inclusion guard.
999         * sysdeps/mips/elf/ldsodefs.h: Delete file.
1001 2007-01-04  Thiemo Seufer  <ths@networkno.de>
1003         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
1004         to match the kernel.
1006 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
1008         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
1009         (RTLD_SINGLE_THREAD_P): Define.
1010         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
1012 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
1014         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
1015         prototype.
1017 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
1019         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
1020         code.
1021         (__xstat_conv): Use memset to clear padding arrays.  Check for
1022         overflow.
1023         (__xstat64_conv): Use memset to clear padding arrays.
1024         (__xstat32_conv): New function.
1025         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
1026         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
1028 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
1030         * sysdeps/mips/fpu_control.h: If soft-float, don't use
1031         floating-point registers.
1032         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
1033         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
1034         Likewise.
1036 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
1038         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
1039         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
1041 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
1043         * sysdeps/mips/mips64/n32/libm-test-ulps,
1044         sysdeps/mips/mips64/n64/libm-test-ulps: New.
1046 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
1048         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
1049         defined, include the named file.
1051 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
1053         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
1054         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
1055         Define.
1057 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
1059         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
1060         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
1061         types.
1063 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
1065         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
1066         Don't use struct timespec.
1067         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
1068         __xstat64_conv): Copy individual timespec fields.
1070 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
1072         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
1074 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
1076         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
1077         * sysdeps/mips/fpu/fesetround.c: Likewise.
1079 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
1080             Daniel Jacobowitz  <dan@codesourcery.com>
1082         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
1083         dump sc_cause, sc_status or sc_badvaddr.
1084         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
1085         structure definitions after DSP kernel changes.
1086         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
1087         after the same DSP changes.
1089 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
1091         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
1092         st_atim, st_mtim and st_ctim interface.
1093         (struct stat64): Likewise.
1094         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
1095         Replace st_atime and its padding field with st_atim.  Likewise
1096         st_mtime/st_mtim and st_ctime/st_ctim.
1097         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
1098         after above changes.
1099         (__xstat64_conv): Likewise.
1101 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
1103         * sysdeps/mips/ldsodefs.h: New file.
1104         * sysdeps/mips/tst-audit.h: New file.
1106 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
1108         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
1109         for consistency with other ports.
1110         (MADV_REMOVE): Correct value.
1111         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
1112         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
1113         POSIX_MADV_DONTNEED): Define.
1115 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
1117         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
1118         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
1119         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
1120         and SYNC_FILE_RANGE_WAIT_AFTER.
1121         Declare sync_file_range, vmsplice, splice and tee.
1123 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
1125         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
1126         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
1127         prototype.
1129 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
1131         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
1132         Define.
1134 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
1136         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
1137         typo.
1139 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
1141         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
1142         i386/fork.c.
1144 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
1146         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
1147         libc_cv_localedir, libdir, arch_minimum_kernel, and
1148         libc_cv_gcc_unwind_find_fde.
1149         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
1150         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1151         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
1153 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
1155         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1156         (__pthread_list_t, __pthread_slist_t): New typedefs.
1157         (pthread_mutex_t): Replace __next and __prev fields with __list.
1158         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
1159         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
1160         (lll_futex_wake_unlock): Define.
1161         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
1162         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
1163         lll_robust_mutex_unlock): New macros.
1164         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.
1165         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
1166         vfork.S.
1167         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
1169 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
1171         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
1172         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
1174 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
1176         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1177         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
1178         (INTERNAL_SYSCALL_NCS): New.
1179         (internal_syscall0, internal_syscall1, internal_syscall2,
1180         internal_syscall3, internal_syscall4, internal_syscall5,
1181         internal_syscall6): Take ncs_init, cs_init, and input arguments.
1182         Use them.  Correct types for registers.
1183         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1184         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
1185         (INTERNAL_SYSCALL_NCS): New.
1186         (internal_syscall0, internal_syscall1, internal_syscall2,
1187         internal_syscall3, internal_syscall4, internal_syscall5,
1188         internal_syscall6): Take ncs_init, cs_init, and input arguments.
1189         Use them.
1190         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
1191         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
1192         points.
1193         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
1194         Use Elf(Addr) for TLS relocation targets.
1195         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
1196         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
1197         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
1198         futexp to long for n64.
1199         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
1201 2006-02-20  Roland McGrath  <roland@redhat.com>
1203         * sysdeps/mips/shlib-versions: New file.
1204         * sysdeps/mips/preconfigure: New file.
1205         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.