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