Restore ARM profil_counter export (bug 14043).
[glibc-ports.git] / ChangeLog.mips
blobf487d391afd5719142b8c4f03f5306d103d739bb
1 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: New file.
4         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5         Likewise.
6         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Likewise.
7         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Likewise.
8         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Likewise.
9         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Likewise.
10         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Likewise.
11         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Likewise.
12         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
13         Likewise.
14         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Likewise.
15         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Likewise.
16         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17         Likewise.
18         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Likewise.
19         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Likewise.
20         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
21         Likewise.
22         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
23         Likewise.
24         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Likewise.
25         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
26         Likewise.
27         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist: Likewise.
28         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist: Likewise.
29         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
30         Likewise.
31         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32         Likewise.
33         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
34         Likewise.
35         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist: Likewise.
36         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37         Likewise.
38         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
39         Likewise.
40         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Likewise.
41         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
42         Likewise.
43         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
44         Likewise.
45         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise.
46         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
47         Likewise.
48         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Likewise.
49         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Likewise.
50         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist:
51         Likewise.
52         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
53         Likewise.
54         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
55         Likewise.
56         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Likewise.
57         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
58         Likewise.
59         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
60         Likewise.
62         * sysdeps/mips/mips64/memcpy.S: Don't include <endian.h>.  Test
63         __MIPSEB instead of __BYTE_ORDER.
64         * sysdeps/mips/mips64/memset.S: Likewise.
66 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
69         Change to 2.6.12.
70         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
72 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
74         * sysdeps/unix/mips/brk.S: Remove file.
75         * sysdeps/unix/mips/dl-brk.S: Likewise.
76         * sysdeps/unix/mips/sigreturn.S: Likewise.
77         * sysdeps/unix/mips/wait.S: Likewise.
79 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
81         * sysdeps/mips/memcpy.S: Don't include <endian.h>.  Test __MIPSEB
82         instead of __BYTE_ORDER.
83         * sysdeps/mips/memset.S: Likewise.
85         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
86         kernel_rt_sigframe): Use siginfo_t instead of struct siginfo.
88 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
90         * sysdeps/unix/mips/fork.S: Remove file.
92 2012-04-24  Mike Frysinger  <vapier@gentoo.org>
94         * sysdeps/unix/sysv/linux/mips/mips64/configure.in
95         (ldd_rewrite_script): Change $dest to $dir.
96         * sysdeps/unix/sysv/linux/mips/mips64/configure: Regenerate.
98 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
100         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Include
101         sysdeps/unix/sysv/linux/arm/readahead.c not
102         sysdeps/unix/sysv/linux/arm/eabi/readahead.c.
104 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
106         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MAP_STACK): Define.
107         (MAP_HUGETLB): Likewise.
109 2012-03-27  Joseph Myers  <joseph@codesourcery.com>
111         * sysdeps/mips/elf/start.S: Moved to ...
112         * sysdeps/mips/start.S: ...here.
113         * sysdeps/mips/elf/configure.in: Moved to ...
114         * sysdeps/mips/configure.in: ...here.  Update comment.
115         * sysdeps/mips/configure: New generated file.
117 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
119         * sysdeps/unix/sysv/linux/mips/register-dump.h: Include <_itoa.h>
120         instead of <stdio-common/_itoa.h>.
122 2012-03-10  Paul Eggert  <eggert@cs.ucla.edu>
124         [BZ #13673]
125         * sysdeps/mips/mips64/gmp-mparam.h: Replace FSF snail mail address
126         with URL.
128 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
130         [BZ #13673]
131         Replace FSF snail mail address with URLs, as per GNU coding standards.
133 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
135         * sysdeps/unix/sysv/linux/mips/bits/socket_type.h: New file.
136         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Remove.
138 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
140         * sysdeps/unix/sysv/linux/mips/bits/socket.h [!__USE_GNU]: Do not
141         declare recvmmsg and sendmmsg.
143 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
145         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (pthread_attr_t):
146         Change union tag to pthread_attr_t.  Only define typedef if not
147         already defined.
148         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
149         (pthread_attr_t): Change union tag to pthread_attr_t.  Only define
150         typedef if not already defined.
152 2012-02-26  Joseph Myers  <joseph@codesourcery.com>
154         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Don't name
155         siginfo_t struct.  Add forward declaration of pthread_attr_t and
156         use it in sigevent.
157         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Name
158         pthread_attr_t union.
160 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
162         * sysdeps/unix/sysv/linux/mips/bits/epoll.h: New file.
163         * sysdeps/unix/sysv/linux/mips/bits/timerfd.h: Likewise.
164         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Remove.
165         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
167 2012-02-20  Andreas Schwab  <schwab@linux-m68k.org>
169         * sysdeps/unix/sysv/linux/mips/bits/errno.h (EHWPOISON): Define if
170         not defined.
172 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
174         * sysdeps/mips/dl-procinfo.h(_DL_PLATFORMS_COUNT): define to 4,
175         matching the array in dl-procinfo.c.
177 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
179         * sysdeps/mips/fpu/libm-test-ulps: Adjust ULPs for jn tests.
180         * sysdeps/mips/mips64/n32/fpu/libm-test-ulps: Likewise.
181         * sysdeps/mips/mips64/n64/fpu/libm-test-ulps: Likewise.
183 2012-02-15  Robert Millan  <rmh@gnu.org>
185         [BZ #12301]
186         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h [__ASSEMBLER__]
187         [__PIC__] (SYSCALL_ERROR_LABEL): New macro.
189 2012-02-15  Robert Millan  <rmh@gnu.org>
191         [BZ #12298]
192         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Moved to ...
193         * sysdeps/mips/sys/tas.h: ... here.
195 2012-02-15  Robert Millan  <rmh@gnu.org>
197         [BZ #12297]
198         * sysdeps/mips/dl-machine.h: Fix a comment regarding __start.
199         * sysdeps/unix/sysv/linux/mips/entry.h: Moved to ...
200         * sysdeps/unix/mips/entry.h: ... here.
202 2012-02-15  Robert Millan  <rmh@gnu.org>
204         [BZ #12193]
205         * sysdeps/mips/dl-machine.h (DL_PLATFORM_INIT, dl_platform_init):
206         Define.
207         * sysdeps/mips/dl-procinfo.c: New file.
208         * sysdeps/mips/dl-procinfo.h: Likewise.
210 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
212         * sysdeps/unix/sysv/linux/mips/bits/signalfd.h: New file.
213         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: Remove.
215 2012-02-15  Viju Vincent  <vijuvince@gmail.com>
217         * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Use locking
218         around calls to _dl_lookup_symbol_x.
220 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
222         * sysdeps/unix/sysv/linux/mips/bits/inotify.h: New file.
223         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Remove.
225 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
227         * sysdeps/unix/sysv/linux/mips/bits/eventfd.h: New file.
228         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Remove.
230 2012-02-10  Joseph Myers  <joseph@codesourcery.com>
232         * sysdeps/mips/mips32/crti.S: New file, based on compiler output
233         for sysdeps/generic/initfini.c.
234         * sysdeps/mips/mips32/crtn.S: Likewise.
235         * sysdeps/mips/mips64/n32/crti.S: Likewise.
236         * sysdeps/mips/mips64/n32/crtn.S: Likewise.
237         * sysdeps/mips/mips64/n64/crti.S: Likewise.
238         * sysdeps/mips/mips64/n64/crtn.S: Likewise.
239         * sysdeps/mips/Makefile (CFLAGS-initfini.s): Remove variable.
240         (CFLAGS-pt-initfini.s): Likewise.
241         (CPPFLAGS-crti.S, CPPFLAGS-crtn.S, CPPFLAGS-pt-crti.S): Define
242         variables.
244 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
246         * sysdeps/mips/sys/asm.h: Remove __STDC__ conditionals.
247         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
248         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
249         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
251 2012-01-08  Joseph Myers  <joseph@codesourcery.com>
253         * sysdeps/mips/bits/fenv.h: Use const instead of __const.
254         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
255         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
256         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
257         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Likewise.
258         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
259         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
261 2012-01-07  Joseph Myers  <joseph@codesourcery.com>
263         * sysdeps/mips/nptl/shlib-versions: New.
265 2012-01-07  Joseph Myers  <joseph@codesourcery.com>
267         * sysdeps/mips/backtrace.c: Use x86_64 version of backtrace.c.
269 2012-01-04  Tom de Vries  <tom@codesourcery.com>
271         * sysdeps/mips/Makefile: Compile initfini.c, pt-initfini.c with
272         -fno-unwind-tables.
274 2012-01-03  Tom de Vries  <tom@codesourcery.com>
276         * sysdeps/mips/backtrace.c: New file, including ia64 backtrace.c.
277         * sysdeps/mips/Makefile: Compile backtrace.c with -funwind-tables.
279 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
281         * sysdeps/unix/sysv/linux/mips/Makefile (no_syscall_list_h)
282         (mips_list_syscalls, $(objpfx)syscall-%.h $(objpfx)syscall-%.d):
283         Remove.
284         (syscall-list-variants, syscall-list-includes)
285         (syscall-list-o32-options, syscall-list-o32-condition)
286         (syscall-list-n32-options, syscall-list-n32-condition)
287         (syscall-list-n64-options, syscall-list-n64-condition): Define.
288         * sysdeps/unix/sysv/linux/mips/configure.in: Don't generate
289         asm-unistd.h.
290         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
291         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Remove.
293 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
295         [BZ #13538]
296         * sysdeps/unix/sysv/linux/mips/sys/epoll.h (EPOLLONESHOT)
297         (EPOLLET): Initialize with unsigned values.
299 2011-12-19  Joseph Myers  <joseph@codesourcery.com>
301         * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h
302         $(objpfx)syscall-%.d): Use sysdeps path to locate sys/syscall.h.
304 2011-11-17  Joseph Myers  <joseph@codesourcery.com>
306         * sysdeps/unix/sysv/linux/mips/mips64/n64/ftw.c,
307         sysdeps/unix/sysv/linux/mips/mips64/n64/ftw64.c: New.
309 2011-11-11  Joseph Myers  <joseph@codesourcery.com>
311         * sysdeps/mips/dl-lookup.c: Update from generic version.
313 2011-10-12  Joseph Myers  <joseph@codesourcery.com>
315         * sysdeps/mips/fpu/e_sqrt.c: Add __sqrt_finite alias.
316         * sysdeps/mips/fpu/e_sqrtf.c: Add __sqrtf_finite alias.
317         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Add __sqrtl_finite alias.
319 2011-10-05  Andreas Schwab  <schwab@redhat.com>
321         * sysdeps/mips/dl-machine.h (elf_machine_rel, elf_machine_rela)
322         (elf_machine_lazy_rel): Add parameter skip_ifunc.
324 2011-09-13  Joseph Myers  <joseph@codesourcery.com>
326         * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Cast
327         return value to (struct cmsghdr *).
329 2011-09-13  Joseph Myers  <joseph@codesourcery.com>
331         * sysdeps/mips/elf/configure.in: Always test for TLS support and
332         error out in case it is missing.
333         * sysdeps/mips/elf/configure: Regenerate.
334         * sysdeps/mips/nptl/tls.h: Remove test for HAVE_TLS_SUPPORT.
336 2011-09-11  Joseph Myers  <joseph@codesourcery.com>
338         * sysdeps/mips/dl-machine.h, sysdeps/mips/libc-tls.c,
339         sysdeps/mips/nptl/tls.h: Don't define or use USE_TLS.
341 2011-09-06  Joseph Myers  <joseph@codesourcery.com>
343         [BZ #13109]
344         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (fstatfs)
345         (statfs): New.
346         * sysdeps/unix/sysv/linux/mips/mips64/n64/fstatfs64.c,
347         sysdeps/unix/sysv/linux/mips/mips64/n64/statfs64.c: New.
349 2011-08-02  Matt Turner  <mattst88@gmail.com>
351         * sysdeps/mips/bits/atomic.h: Workaround R10K ll/sc errata.
353 2011-07-25  Joseph Myers  <joseph@codesourcery.com>
355         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_NFC, AF_NFC):
356         Define.
358 2011-06-20  Joseph Myers  <joseph@codesourcery.com>
360         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c,
361         sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: New.
363 2011-06-20  Joseph Myers  <joseph@codesourcery.com>
365         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SI_USER): Don't
366         mention raise in the comment.
368 2011-05-23  Aurelien Jarno  <aurelien@aurel32.net>
370         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTTIME):
371         Add.
373 2011-05-13  Joseph Myers  <joseph@codesourcery.com>
375         * sysdeps/mips/dl-lookup.c: Update from generic version.
377 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
379         * sysdeps/mips/dl-lookup.c: Update from generic version.
381 2011-04-11  Joseph Myers  <joseph@codesourcery.com>
383         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Define.
385 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
387         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Rename open_by_handle
388         to open_by_handle_at.
390 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
392         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_PATH): Define.
394 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
396         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define struct
397         file_handle and MAX_HANDLE_SZ.  Declare name_to_handle_at and
398         open_by_handle.  Augment a few comments.
400 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
402         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Make
403         cancelable.
404         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Likewise.
405         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
406         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Mark
407         sync_file_range as cancellation point.
408         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Mark
409         sync_file_range as cancellation point.
411 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
413         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add
414         sync_file_range.
416 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
418         * sysdeps/mips/dl-lookup.c: Update from generic version.
420 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
422         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_HUGEPAGE,
423         MADV_NOHUGEPAGE): Define.
425 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
427         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_CAIF, AF_ALG,
428         PF_CAIF, PF_ALG): Define.
430 2010-12-30  Joseph Myers  <joseph@codesourcery.com>
432         * sysdeps/mips/init-first.c: Don't call __libc_global_ctors if
433         NO_CTORS_DTORS_SECTIONS is defined.
434         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
436 2010-12-21  Joseph Myers  <joseph@codesourcery.com>
438         * sysdeps/mips/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
440 2010-12-06  Matt Turner  <mattst88@gmail.com>
442         * sysdeps/unix/sysv/linux/mips/getpagesize.c: Delete file.
444 2010-12-06  Joseph Myers  <joseph@codesourcery.com>
446         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
447         Change to 2.4.1.
448         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
450 2010-10-21  Joseph Myers  <joseph@codesourcery.com>
452         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
453         sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list,
454         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add entries
455         for fanotify_mark.
457 2010-10-11  Joseph Myers  <joseph@codesourcery.com>
459         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Add
460         libm_hidden_def.
461         * sysdeps/mips/fpu/ftestexcept.c (fetestexcept): Likewise.
463 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
465         * sysdeps/unix/sysv/linux/mips/kernel-features.h
466         (__ASSUME_GETDENTS64_SYSCALL): Undefine for n32 ABI before 2.6.35.
468 2010-08-13  Chandrakala Chavva  <cchavva@caviumnetworks.com>
470         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Add 'nop' in
471         jump delay slot.
472         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Ditto.
474 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
476         * sysdeps/unix/sysv/linux/mips/bits/termios.h (EXTPROC): Define.
478 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
480         * sysdeps/unix/sysv/linux/mips/bits/statfs.h (struct statfs,
481         struct statfs64): Add f_flags field.
483 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
485         * sysdeps/unix/sysv/linux/mips/sys/inotify.h (IN_EXCL_UNLINK):
486         Define.
488 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
490         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Declare prlimit
491         and prlimit64.
492         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
493         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: New files.
494         * sysdeps/unix/sysv/linux/mips/n32/syscalls.list: Add entry for
495         prlimit64 syscall.
497 2010-06-14  Joseph Myers  <joseph@codesourcery.com>
499         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETPIPE_SZ,
500         F_GETPIPE_SZ): Define.
502 2010-05-21  Joseph Myers  <joseph@codesourcery.com>
504         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c,
505         sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: New.
507 2010-04-14  Joseph Myers  <joseph@codesourcery.com>
509         * sysdeps/unix/sysv/linux/mips/libc-abis: New.
511 2010-04-06  Joseph Myers  <joseph@codesourcery.com>
513         * sysdeps/mips/dl-machine.h (VALID_ELF_ABIVERSION,
514         VALID_ELF_OSABI, VALID_ELF_HEADER): Remove.
515         * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
516         Define.
518 2010-03-30  Joseph Myers  <joseph@codesourcery.com>
520         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define
521         MSG_WAITFORONE.
523 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
525         * sysdeps/mips/dl-lookup.c: Update from generic version.
527 2010-03-23  Mischa Jonker  <mischa.jonker@viragelogic.com>
529         [BZ #11291]
530         * sysdeps/mips/bits/atomic.h
531         (__arch_compare_and_exchange_xxx_32_int,
532         __arch_compare_and_exchange_xxx_64_int,
533         __arch_exchange_xxx_32_int, __arch_exchange_xxx_64_int,
534         __arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
535         Specify *mem as asm output as well as input.
537 2010-02-10  Joseph Myers  <joseph@codesourcery.com>
539         * sysdeps/mips/fpu/fegetenv.c: Add hidden alias.
541 2010-01-28  Joseph Myers  <joseph@codesourcery.com>
543         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve,
544         _dl_runtime_pltresolve): Calculate offset from start of function
545         to .cpload instead of hardcoding instruction size.
547 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
549         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion
550         problem.
552 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
554         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define
555         SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
557 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
559         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY,
560         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
561         XPG7.
562         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Enable using from
563         fcntl.h.
565 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
567         [BZ #11093]
568         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM,
569         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
571 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
573         * sysdeps/mips/dl-lookup.c: Update from generic version.
575 2009-12-15  Joseph Myers  <joseph@codesourcery.com>
577         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Redefine O_SYNC and
578         O_DSYNC to match 2.6.33+ kernels.
580 2009-12-09  Joseph Myers  <joseph@codesourcery.com>
582         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and
583         declare recvmmsg.
585 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
587         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
588         (posix_fadvise): Remove.
589         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c,
590         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c,
591         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New.
593 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
595         * sysdeps/mips/dl-lookup.c: Update from generic version.
597 2009-11-23  Joseph Myers  <joseph@codesourcery.com>
599         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec
600         for timestamps also if __USE_XOPEN2K8.
602 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
604         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol
605         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
607 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
609         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading
610         names of parameters of sync_file_range.
612 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
614         [BZ #10972]
615         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_*
616         constants from recent kernels.
618 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
620         * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
621         not already defined.
623 2009-11-14  Joseph Myers  <joseph@codesourcery.com>
625         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
626         F_GETOWN_EX): Update values.
628 2009-11-06  Joseph Myers  <joseph@codesourcery.com>
630         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
631         of last two arguments when -D_FILE_OFFSET_BITS=64.
633 2009-10-29  Joseph Myers  <joseph@codesourcery.com>
635         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
636         f_owner_ex.
638 2009-10-03  Joseph Myers  <joseph@codesourcery.com>
640         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
641         and F_GETOWN_EX.
643 2009-09-25  Daniel Jacobowitz  <dan@codesourcery.com>
645         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
646         (__SYSCALL_CLOBBERS): Add "hi" and "lo".
647         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
648         (__SYSCALL_CLOBBERS): Likewise.
649         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
650         (__SYSCALL_CLOBBERS): Likewise.
652 2009-08-05  Joseph Myers  <joseph@codesourcery.com>
654         * sysdeps/mips/____longjmp_chk.c: Remove.  Replaced by....
655         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This.  New file.
656         * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
657         variable for env.  Use expansion of CHECK_SP macro for check.
658         * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
660 2009-08-03  Joseph Myers  <joseph@codesourcery.com>
662         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
663         sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
665 2009-07-20  Aurelien Jarno  <aurelien@aurel32.net>
667         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
668         __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
670 2009-07-17  Joseph Myers  <joseph@codesourcery.com>
672         * sysdeps/mips/do-lookup.h: Remove.
673         * sysdeps/mips/dl-lookup.c: Update from generic version, with
674         non-PIC handling integrated.
676 2009-06-18  Joseph Myers  <joseph@codesourcery.com>
678         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
679         and AF_IEEE802154.
681 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
683         * sysdeps/mips/____longjmp_chk.c: New file.
684         * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it.  Don't
685         undefine __longjmp.
686         * sysdeps/mips64/__longjmp.c: Likewise.
688 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
690         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
691         sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
692         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
693         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
695 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
697         * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
698         fallocate64@@GLIBC_2.11.
700 2009-05-14  Joseph Myers  <joseph@codesourcery.com>
702         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
703         sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
705 2009-04-18  Maciej W. Rozycki  <macro@codesourcery.com>
707         * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
708         * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
709         * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
710         * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
711         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
712         Update comment.
713         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
714         * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
715         * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers):
716         Add ucontext_i.sym.
718 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
720         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
721         __ASSUME_PWRITEV): Don't define here.
723 2009-04-15  Maciej W. Rozycki  <macro@codesourcery.com>
725         * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
727 2009-04-09  Joseph Myers  <joseph@codesourcery.com>
729         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
730         numbers.
731         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
732         Define.
733         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
734         preadv and pwritev.
736 2009-03-18  Maciej W. Rozycki  <macro@codesourcery.com>
738         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
739         Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
741 2009-03-18  Zhang Le  <r0bertz@gentoo.org>
743         [BZ #7074]
744         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
745         Fix the condition used to annotate n32 objects.
747 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
749         * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
750         Change parameters and use next_line.
752 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
754         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
755         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
756         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
758 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
760         * sysdeps/mips/bits/link.h: Uglify function parameter names.
761         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
762         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
763         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
764         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
766 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
768         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
769         fallocate{,64}.
771 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
773         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
774         UTIME_OMIT only with __USE_ATFILE.
776 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
778         [BZ #7040]
779         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
780         inotify_rm_watch should have type int.
782 2009-02-02  Joseph Myers  <joseph@codesourcery.com>
784         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
786 2009-01-27  Maciej W. Rozycki  <macro@linux-mips.org>
787             Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
789         PR glibc/1048
790         * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
791         variable page size for MIPS.
792         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
793         * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
794         * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
796 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
798         * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
799         __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
800         -D_GNU_SOURCE.
802 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
804         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
805         FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
807 2008-12-19  Joseph Myers  <joseph@codesourcery.com>
809         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
810         sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
811         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
812         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
814 2008-12-09  Joseph Myers  <joseph@codesourcery.com>
816         * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
817         Make available only for __USE_GNU.
819 2008-12-03  Joseph Myers  <joseph@codesourcery.com>
821         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
822         FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
824 2008-11-25  Joseph Myers  <joseph@codesourcery.com>
826         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
827         __THROW vs. __nonnull order for C++.
829 2008-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
831         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
832         * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
833         R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
835 2008-10-01  Mark Shinwell  <shinwell@codesourcery.com>
836             Daniel Jacobowitz  <dan@codesourcery.com>
837             Richard Sandiford  <rdsandiford@googlemail.com>
839         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
840         * sysdeps/mips/dl-lookup.c: New.
841         * sysdeps/mips/do-lookup.h: New.
842         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
843         definition.
844         (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
845         if needed.
846         (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
847         (elf_machine_type_class): Likewise.
848         (ELF_MACHINE_PLT_REL): Define.
849         (elf_machine_fixup_plt): New.
850         (elf_machine_plt_value): New.
851         (elf_machine_reloc): Handle jump slot and copy relocations.
852         (elf_machine_lazy_rel): Point relocation place at PLT if
853         required.
854         (RESOLVE_GOTSYM): Take a relocation type argument.
855         (elf_machine_got_rel): Bind lazy stubs directly to their target if
856         !lazy.  Skip lazy binding for PLT symbols.
857         (elf_machine_runtime_setup): Fill in .got.plt header.
858         * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
859         (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
860         ELF_DL_PLT_RESTORE_ARG_REGS): Define.
861         (_dl_runtime_pltresolve): New.
862         * sysdeps/mips/bits/linkmap.h: New file.
863         * sysdeps/mips/tls-macros.h: Load $gp as required.  Merge 32-bit and
864         64-bit versions.
866         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
867         Delete definition.
868         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
869         PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
870         (PSEUDO): Use them.  Move outside __PIC__.
871         (PSEUDO_JMP): New.
872         (CENABLE, CDISABLE): Use it.
874 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
876         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
877         to epoll_create1.
879 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
881         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
882         SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
883         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
884         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
885         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
886         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
887         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
889 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
891         * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
892         volatile.
894 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
896         * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
897         type.
899 2008-05-21  Joseph Myers  <joseph@codesourcery.com>
901         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
902         (SOCK_DCCP): Define.
904 2008-05-01  Joseph Myers  <joseph@codesourcery.com>
906         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
907         RUSAGE_THREAD and RUSAGE_LWP.
909 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
911         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
912         shmid_ds.
914 2008-04-21  Khem Raj  <kraj@mvista.com>
916         * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
918 2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
920         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add
921         truncate and ftruncate systems calls.
922         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
923         empty file.
924         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
926 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
928         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
929         ARG_MAX if <linux/limits.h> has defined it.
931 2008-03-28  Robin Randhawa  <robin@mips.com>
933         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
934         barriers to enforce strict ordering on weakly ordered systems.
936 2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
937             Daniel Jacobowitz  <dan@codesourcery.com>
939         * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
940         * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
941         * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
943 2008-03-09  Andreas Jaeger  <aj@suse.de>
945         [BZ #5753]
946         * sysdeps/mips/ieee754.h: Use protected namespace
947         __BIG_ENDIAN/__LITTLE_ENDIAN.
948         Patch by Aurelien Jarno <aurelien@aurel32.net>.
950 2008-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
952         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
953         Reorganize to match other architectures.  Replace _timer._timer1
954         and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
955         _timer.si_sigval.  Correct the type of _sigpoll.si_band.
956         (si_timerid, si_overrun): Define.
957         (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
958         (__pthread_attr_s): Remove declaration.
959         (struct sigevent): Remove XXX.  Add _tid.
961 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
963         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
965 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
967         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
968         type and __THROW marker of splice, vmsplice, and tee.
970 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
972         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
973         LLL_PRIVATE argument to lll_futex_wake.
974         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
975         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
976         comment.
977         (PF_IUCV, PF_RXRPC): Define.
978         (PF_MAX): Update.
979         (AF_IUCV, AF_RXRPC): Define.
980         (MSG_CMSG_CLOEXEC): Define.
981         (_EXTERN_INLINE): Define to __extern_inline.
982         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
983         UTIME_OMIT): Define.
984         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
985         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
986         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
987         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
988         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
989         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
990         LLL_LOCK_*.  Include <kernel-features.h>.
991         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
992         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
993         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
994         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
995         lll_futex_wait.
996         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
997         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
998         private arguments.
999         (__lll_robust_trylock): Convert to macro.
1000         (__lll_robust_lock_wait): Add private argument.
1001         (__lll_lock_wait_private, __lll_lock_wait): Declare.
1002         (__lll_lock): Convert to macro.  Take private argument.
1003         (__lll_cond_lock): Likewise.
1004         (lll_lock, lll_cond_lock): Take private arguments.
1005         (__lll_robust_lock): Take private argument.  Convert to macro.
1006         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
1007         lll_robust_cond_lock): Take private arguments.
1008         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
1009         arguments.
1010         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
1011         (lll_timedlock, lll_robust_timedlock): Take private arguments.
1012         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
1013         private arguments.
1014         (lll_unlock, lll_robust_unlock): Take private arguments.
1015         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
1016         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
1017         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
1018         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
1019         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
1020         lll_cond_wake, lll_cond_broadcast): Remove.
1021         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
1022         to __extern_inline.
1024 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
1026         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
1027         New macros for the (n)64 and n32 ABIs.
1028         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
1030 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
1032         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
1033         Define __WORDSIZE_COMPAT32 as 1.
1035 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
1037         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
1038         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
1039         PTHREAD_STACK_MIN.
1041 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
1043         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
1045         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
1046         Delete.
1048 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
1050         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
1051         (internal_syscall1, internal_syscall2, internal_syscall3,
1052         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
1054 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
1056         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
1057         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
1058         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
1059         THREAD_GSCOPE_WAIT): Define.
1060         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
1061         (FUTEX_PRIVATE_FLAG): Define.
1062         (lll_unlock_wake_cb): Delete prototype.
1063         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
1064         <endian.h>.
1065         (pthread_rwlock_t): Shrink __flags and add __shared.
1067 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
1069         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
1070         (posix_fadvise): Fix high word of len argument.
1072 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
1074         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
1075         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
1076         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
1077         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
1078         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
1079         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
1081 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
1083         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
1084         * sysdeps/mips/mips64/n64/Implies: Likewise.
1085         * sysdeps/mips/mips64/soft-fp/Makefile: New.
1086         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
1087         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
1088         <fpu_control.h>.  Use hardware exception and rounding mode
1089         settings.
1091 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
1093         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
1094         r_info argument to ElfW(Addr).
1096 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
1098         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
1100 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
1101             Daniel Jacobowitz  <dan@codesourcery.com>
1103         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
1104         shmctl, and semctl.
1105         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
1106         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
1107         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
1109 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
1111         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
1112         PTR_DEMANGLE): Define.
1113         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
1114         PTR_DEMANGLE): Define.
1115         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
1116         PTR_DEMANGLE): Define.
1118 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
1120         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1121         (cfi_same_value): Delete definition.
1123 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
1125         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
1126         (elf_machine_reloc): New function, retaining the body of
1127         elf_machine_rel.  Take the reloc's r_info field as an argument,
1128         not the reloc itself.  Add extra r_addend and inplace_p arguments.
1129         When inplace_p is false, use r_addend as the addend, not the contents
1130         of the relocation field.  Hoist the conversion of reloc_addr to
1131         "ELFW(Addr) *".  Don't try to apply TLS relocations against
1132         undefined symbols.  Add R_MIPS_GLOB_DAT support.
1133         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
1134         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
1135         to ElfW(Rela).
1137 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
1139         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
1140         multiple inclusion guard.
1141         * sysdeps/mips/elf/ldsodefs.h: Delete file.
1143 2007-01-04  Thiemo Seufer  <ths@networkno.de>
1145         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
1146         to match the kernel.
1148 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
1150         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
1151         (RTLD_SINGLE_THREAD_P): Define.
1152         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
1154 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
1156         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
1157         prototype.
1159 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
1161         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
1162         code.
1163         (__xstat_conv): Use memset to clear padding arrays.  Check for
1164         overflow.
1165         (__xstat64_conv): Use memset to clear padding arrays.
1166         (__xstat32_conv): New function.
1167         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
1168         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
1170 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
1172         * sysdeps/mips/fpu_control.h: If soft-float, don't use
1173         floating-point registers.
1174         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
1175         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
1176         Likewise.
1178 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
1180         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
1181         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
1183 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
1185         * sysdeps/mips/mips64/n32/libm-test-ulps,
1186         sysdeps/mips/mips64/n64/libm-test-ulps: New.
1188 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
1190         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
1191         defined, include the named file.
1193 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
1195         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
1196         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
1197         Define.
1199 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
1201         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
1202         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
1203         types.
1205 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
1207         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
1208         Don't use struct timespec.
1209         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
1210         __xstat64_conv): Copy individual timespec fields.
1212 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
1214         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
1216 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
1218         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
1219         * sysdeps/mips/fpu/fesetround.c: Likewise.
1221 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
1222             Daniel Jacobowitz  <dan@codesourcery.com>
1224         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
1225         dump sc_cause, sc_status or sc_badvaddr.
1226         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
1227         structure definitions after DSP kernel changes.
1228         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
1229         after the same DSP changes.
1231 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
1233         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
1234         st_atim, st_mtim and st_ctim interface.
1235         (struct stat64): Likewise.
1236         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
1237         Replace st_atime and its padding field with st_atim.  Likewise
1238         st_mtime/st_mtim and st_ctime/st_ctim.
1239         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
1240         after above changes.
1241         (__xstat64_conv): Likewise.
1243 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
1245         * sysdeps/mips/ldsodefs.h: New file.
1246         * sysdeps/mips/tst-audit.h: New file.
1248 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
1250         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
1251         for consistency with other ports.
1252         (MADV_REMOVE): Correct value.
1253         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
1254         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
1255         POSIX_MADV_DONTNEED): Define.
1257 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
1259         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
1260         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
1261         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
1262         and SYNC_FILE_RANGE_WAIT_AFTER.
1263         Declare sync_file_range, vmsplice, splice and tee.
1265 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
1267         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
1268         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
1269         prototype.
1271 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
1273         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
1274         Define.
1276 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
1278         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
1279         typo.
1281 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
1283         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
1284         i386/fork.c.
1286 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
1288         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
1289         libc_cv_localedir, libdir, arch_minimum_kernel, and
1290         libc_cv_gcc_unwind_find_fde.
1291         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
1292         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1293         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
1295 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
1297         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1298         (__pthread_list_t, __pthread_slist_t): New typedefs.
1299         (pthread_mutex_t): Replace __next and __prev fields with __list.
1300         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
1301         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
1302         (lll_futex_wake_unlock): Define.
1303         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
1304         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
1305         lll_robust_mutex_unlock): New macros.
1306         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.
1307         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
1308         vfork.S.
1309         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
1311 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
1313         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
1314         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
1316 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
1318         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1319         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
1320         (INTERNAL_SYSCALL_NCS): New.
1321         (internal_syscall0, internal_syscall1, internal_syscall2,
1322         internal_syscall3, internal_syscall4, internal_syscall5,
1323         internal_syscall6): Take ncs_init, cs_init, and input arguments.
1324         Use them.  Correct types for registers.
1325         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1326         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
1327         (INTERNAL_SYSCALL_NCS): New.
1328         (internal_syscall0, internal_syscall1, internal_syscall2,
1329         internal_syscall3, internal_syscall4, internal_syscall5,
1330         internal_syscall6): Take ncs_init, cs_init, and input arguments.
1331         Use them.
1332         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
1333         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
1334         points.
1335         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
1336         Use Elf(Addr) for TLS relocation targets.
1337         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
1338         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
1339         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
1340         futexp to long for n64.
1341         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
1343 2006-02-20  Roland McGrath  <roland@redhat.com>
1345         * sysdeps/mips/shlib-versions: New file.
1346         * sysdeps/mips/preconfigure: New file.
1347         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.