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