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