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