Use sysdeps/x86/tininess.h for i386 and x86_64
[glibc.git] / ports / ChangeLog.mips
blob507deb6fef3f103cff22eb817c575e0b1b8ddab5
1 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #14047]
4         * sysdeps/mips/tininess.h: New file.
6 2012-10-29  Steve Ellcey  <sellcey@mips.com>
8         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Remove.
9         * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Remove.
10         * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Remove.
11         * sysdeps/unix/sysv/linux/mips/configure.in: Create default_abi.make.
12         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13         * sysdeps/unix/sysv/linux/mips/Makefile: Include default_abi.make.
14         (abi-variants): Add hard and soft float versions.
15         (abi-o32-options): Remove.
16         (abi-o32-condition): Remove.
17         (abi-n32-options): Remove.
18         (abi-n32-condition): Remove.
19         (abi-n64-options): Remove.
20         (abi-n64-condition): Remove.
21         (abi-o32_soft-options): New.
22         (abi-o32_soft-condition): New.
23         (abi-o32_hard-options): New.
24         (abi-o32_hard-condition): New.
25         (abi-n32_soft-options): New.
26         (abi-n32_soft-condition): New.
27         (abi-n32_hard-options): New.
28         (abi-n32_hard-condition): New.
29         (abi-n64_soft-options): New.
30         (abi-n64_soft-condition): New.
31         (abi-n64_hard-options): New.
32         (abi-n64_hard-condition): New.
34 2012-10-19  Roland McGrath  <roland@hack.frob.com>
36         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist
37         (GLIBC_2.17): Add clock_* symbols.
38         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise.
40 2012-10-24  Andreas Jaeger  <aj@suse.de>
42         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove all
43         definitions and declarations that are provided by
44         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
46 2012-10-03  Steve Ellcey  <sellcey@mips.com>
48         * sysdeps/mips/ieee754.h: Move to...
49         * sysdeps/mips/ieee754/ieee754.h: Here.
50         * sysdeps/mips/mips32/Implies: Add mips/ieee754.
51         * sysdeps/mips/mips64/Implies: Ditto.
52         * sysdeps/mips/mips64/n32/Implies: Ditto.
53         * sysdeps/mips/mips64/n64/Implies: Ditto.
55 2012-10-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Fix clone
58         flag name in comment to CLONE_CHILD_CLEARTID.
60 2012-09-28  Roland McGrath  <roland@hack.frob.com>
62         * sysdeps/mips/init-first.c: File removed.
64 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
66         * sysdeps/mips/dl-trampoline.c (VERSYMIDX): Removed.
68 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70         * sysdeps/unix/sysv/linux/mips/kernel-features.h
71         (__ASSUME_STAT64_SYSCALL): Remove.
73 2012-08-27  Guido Guenther  <agx@sigxcpu.org>
75         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Set bit 23.
77 2012-08-22  Joseph Myers  <joseph@codesourcery.com>
79         * sysdeps/unix/sysv/linux/mips/kernel-features.h [_MIPS_SIM ==
80         _ABIO32] (__ASSUME_STAT64_SYSCALL): Define.
81         * sysdeps/unix/sysv/linux/mips/mips64/fxstat64.c: New file.  Based
82         on version from ../sysdeps/unix/sysv/linux/.
83         * sysdeps/unix/sysv/linux/mips/mips64/lxstat64.c: Likewise.
84         * sysdeps/unix/sysv/linux/mips/mips64/xstat64.c: Likewise.
86 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
88         * sysdeps/mips/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
89         <mips_o32_gnu_pltenter, mips_n32_gnu_pltenter, mips_n64_gnu_pltenter>:
90         struct La_mips_32_regs and struct La_mips_64_regs are not constant.
92 2012-08-15  Tom de Vries  <vries@codesourcery.com>
93             Maxim Kuvyrkov  <maxim@codesourcery.com>
95         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (__libc_lock_lock)
96         (__libc_lock_trylock): Define versions optimized for MIPS.
98 2012-08-15  Maxim Kuvyrkov  <maxim@codesourcery.com>
100         * sysdeps/mips/nptl/pthread_spin_lock.S: Remove, use generic version.
101         * sysdeps/mips/nptl/pthread_spin_lock.c: New file.
102         * sysdeps/mips/nptl/pthread_spin_trylock.S: Remove, use generic version.
104 2012-08-15  Joseph Myers  <joseph@codesourcery.com>
106         * sysdeps/mips/dl-lookup.c: Update from generic version.
108 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
110         [__GNUC_PREREQ (4, 8)]
111         (atomic_exchange_and_add): Split into ...
112         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
113         New atomic macros.
114         [!__GNUC_PREREQ (4, 8)]
115         (atomic_exchange_and_add): Split into ...
116         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
117         New atomic macros.
119 2012-08-09  Joseph Myers  <joseph@codesourcery.com>
121         * sysdeps/unix/sysv/linux/mips/kernel-features.h
122         (__ASSUME_UTIMES): Define.
124 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
126         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
127         Remove.
128         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
130 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
132         * sysdeps/unix/sysv/linux/mips/kernel-features.h
133         (__ASSUME_FCNTL64): Remove.
135 2012-08-01  Steve Ellcey  <sellcey@mips.com>
137         * sysdeps/mips/sys/asm.h [_MIPS_ISA != _MIPS_ISA_MIPS4 &&
138         _MIPS_ISA != _MIPS_ISA_MIPS5 && _MIPS_ISA != _MIPS_ISA_MIPS32 &&
139         _MIPS_ISA != _MIPS_ISA_MIPS64] (PREF): Define as function-like
140         macro.
141         (PREFX): Likewise.
143 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
145         * sysdeps/unix/sysv/linux/mips/fcntl.c: Remove.
146         * sysdeps/unix/sysv/linux/mips/lockf64.c: Likewise.
147         * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: New file.
148         * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
149         * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
150         * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
152 2012-07-27  Joseph Myers  <joseph@codesourcery.com>
154         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): New.
155         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: New file.
157 2012-07-25  Florian Weimer  <fweimer@redhat.com>
159         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Add
160         secure_getenv.
161         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist:
162         Likewise.
163         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist:
164         Likewise.
166 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
168         * sysdeps/mips/configure.in: Remove TLS check.
169         * sysdeps/mips/configure: Regenerated.
171         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: New
172         file.
173         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
174         Likewise.
175         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
176         Likewise.
178 2012-07-11  Tom de Vries  <vries@codesourcery.com>
179             Maxim Kuvyrkov  <maxim@codesourcery.com>
181         * sysdeps/mips/bits/atomic.h [__GNUC_PREREQ (4, 8)]
182         (__arch_compare_and_exchange_bool_32_int)
183         (__arch_compare_and_exchange_val_32_int)
184         (__arch_compare_and_exchange_bool_64_int)
185         (__arch_compare_and_exchange_val_64_int)
186         Define in terms of __atomic_compare_exchange_n.
187         [__GNUC_PREREQ (4, 8)]
188         (__arch_exchange_32_int, __arch_exchange_64_int):
189         Define in terms of __atomic_exchange_n.
190         [__GNUC_PREREQ (4, 8)]
191         (__arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
192         Define in terms of __atomic_fetch_add.
193         [!__GNUC_PREREQ (4, 8)]: Update formatting.
195 2012-07-06  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
197         * sysdeps/mips/dl-machine.h (RTLD_START): Do not store data below
198         the stack pointer.
200 2012-06-19  Joseph Myers  <joseph@codesourcery.com>
202         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Update
203         _gp_disp entry.
204         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
205         Likewise.
206         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist:
207         Likewise.
208         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Likewise.
209         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist:
210         Likewise.
211         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist:
212         Likewise.
213         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist:
214         Likewise.
215         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Likewise.
216         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist:
217         Likewise.
218         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
219         Likewise.
220         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist:
221         Likewise.
222         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist:
223         Likewise.
224         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
225         Likewise.
226         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
227         Likewise.
228         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist:
229         Likewise.
230         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
231         Likewise.
232         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
233         Likewise.
234         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist:
235         Likewise.
236         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist:
237         Likewise.
238         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
239         Likewise.
240         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist:
241         Likewise.
243 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
245         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
246         (FORCE_FRAME_POINTER): Assign result of alloca to a volatile
247         variable.
249 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
251         * sysdeps/mips/mips64/n32/s_fma.c: New file.
252         * sysdeps/mips/mips64/n64/s_fma.c: Likewise.
254         * sysdeps/unix/sysv/linux/mips/Makefile (abi-n32-condition): Fix
255         typo.
257 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
259         * sysdeps/mips/mips64/libm-test-ulps: Remove sqrt ulps.
261         * sysdeps/mips/mips32/libm-test-ulps: Regenerate.
262         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
264 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
266         * sysdeps/unix/sysv/linux/mips/Makefile [subdir = misc]: Move ABI
267         settings out of conditional.
269         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove
270         __connect_internal alias.
272         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
273         (FP_TRAPPING_EXCEPTIONS): Define.
275         * sysdeps/unix/sysv/linux/mips/Makefile (syscall-list-variants):
276         Rename to abi-variants.
277         (syscall-list-includes): Rename to abi-includes.
278         (syscall-list-o32-options): Rename to abi-o32-options.
279         (syscall-list-o32-condition): Rename to abi-o32-condition.
280         (syscall-list-n32-options): Rename to abi-n32-options.
281         (syscall-list-n32-condition): Rename to abi-n32-condition.
282         (syscall-list-n64-options): Rename to abi-n64-options.
283         (syscall-list-n64-condition): Rename to abi-n64-condition.
284         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
285         * sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Likewise.
286         * sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Likewise.
288         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Replace
289         _internal alias by hidden_def.
291 2012-05-26  Joseph Myers  <joseph@codesourcery.com>
293         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: New
294         file.
295         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
296         Likewise.
297         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist:
298         Likewise.
299         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist:
300         Likewise.
301         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
302         Likewise.
303         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
304         Likewise.
305         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist:
306         Likewise.
307         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
308         Likewise.
310 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
312         * sysdeps/unix/sysv/linux/mips/kernel-features.h
313         (__ASSUME_32BITUIDS): Remove.
315 2012-05-23  Steve Ellcey  <sellcey@mips.com>
317         * sysdeps/unix/sysv/linux/mips/Makefile
318         (syscall-list-o32-options): Use -D_MIPS_SIM=1.
319         (syscall-list-n32-options): Use -D_MIPS_SIM=2.
320         (syscall-list-n64-options): Use -D_MIPS_SIM=3.
322 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
324         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_DONTDUMP):
325         Define.
326         (MADV_DODUMP): Likewise.
328 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
330         * sysdeps/mips/bits/wordsize.h (__WORDSIZE_COMPAT32): Rename to
331         __WORDSIZE_TIME64_COMPAT32.
333         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Update.
334         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Update.
335         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Update.
337 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
339         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Move to ...
340         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: ... here.
341         (kernel-features.h): Don't include.
342         [__NR_ftruncate64]: Make code unconditional.
343         [!__NR_ftruncate64]: Remove conditional code.
344         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
345         * sysdeps/unix/sysv/linux/mips/truncate64.c: Move to ...
346         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: ... here.
347         (kernel-features.h): Don't include.
348         [__NR_truncate64]: Make code unconditional.
349         [!__NR_truncate64]: Remove conditional code.
350         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
351         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
352         Add syscall.
353         (truncate): Likewise.
354         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
355         (ftruncate): Remove syscall.
356         (truncate): Likewise.
357         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Move to ...
358         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: ... here.
359         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Move to ...
360         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: ... here.
362 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
364         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat)
365         [!__USE_MISC && !__USE_XOPEN2K8]: Declare nanoseconds fields with
366         type unsigned long and names st_atimensec, st_mtimensec and
367         st_ctimensec.
368         (struct stat64) [!__USE_MISC && !__USE_XOPEN2K8]: Likewise.
370 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
372         * sysdeps/unix/sysv/linux/mips/pread.c [!__ASSUME_PREAD_SYSCALL]:
373         Remove conditional code.
374         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
375         * sysdeps/unix/sysv/linux/mips/pread64.c
376         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
377         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
378         * sysdeps/unix/sysv/linux/mips/pwrite.c
379         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
380         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
381         * sysdeps/unix/sysv/linux/mips/pwrite64.c
382         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
383         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
384         * sysdeps/unix/sysv/linux/mips/sigaction.c
385         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
386         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
388 2012-05-11  Joseph Myers  <joseph@codesourcery.com>
390         * sysdeps/mips/dl-lookup.c: Update from generic version.
392 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
394         * sysdeps/mips/fpu/libm-test-ulps: Move to ...
395         * sysdeps/mips/mips32/libm-test-ulps: ... here.
396         * sysdeps/mips/mips64/n32/libm-test-ulps: Move to ...
397         * sysdeps/mips/mips64/libm-test-ulps: ... here.
398         * sysdeps/mips/mips64/n64/libm-test-ulps: Remove file.
400 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
402         [BZ #14044]
403         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Copy
404         from libc version and add symbol versions.
405         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilis
406         (GLIBC_2.3.3): Add posix_fadvise64.
408 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
410         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: New file.
411         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
412         Likewise.
413         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Likewise.
414         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Likewise.
415         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Likewise.
416         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Likewise.
417         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Likewise.
418         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Likewise.
419         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist:
420         Likewise.
421         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Likewise.
422         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Likewise.
423         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
424         Likewise.
425         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Likewise.
426         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Likewise.
427         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
428         Likewise.
429         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
430         Likewise.
431         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Likewise.
432         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
433         Likewise.
434         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist: Likewise.
435         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist: Likewise.
436         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
437         Likewise.
438         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
439         Likewise.
440         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
441         Likewise.
442         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist: Likewise.
443         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
444         Likewise.
445         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
446         Likewise.
447         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Likewise.
448         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
449         Likewise.
450         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
451         Likewise.
452         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Likewise.
453         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
454         Likewise.
455         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Likewise.
456         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Likewise.
457         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist:
458         Likewise.
459         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
460         Likewise.
461         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
462         Likewise.
463         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Likewise.
464         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
465         Likewise.
466         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
467         Likewise.
469         * sysdeps/mips/mips64/memcpy.S: Don't include <endian.h>.  Test
470         __MIPSEB instead of __BYTE_ORDER.
471         * sysdeps/mips/mips64/memset.S: Likewise.
473 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
475         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
476         Change to 2.6.12.
477         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
479 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
481         * sysdeps/unix/mips/brk.S: Remove file.
482         * sysdeps/unix/mips/dl-brk.S: Likewise.
483         * sysdeps/unix/mips/sigreturn.S: Likewise.
484         * sysdeps/unix/mips/wait.S: Likewise.
486 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
488         * sysdeps/mips/memcpy.S: Don't include <endian.h>.  Test __MIPSEB
489         instead of __BYTE_ORDER.
490         * sysdeps/mips/memset.S: Likewise.
492         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
493         kernel_rt_sigframe): Use siginfo_t instead of struct siginfo.
495 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
497         * sysdeps/unix/mips/fork.S: Remove file.
499 2012-04-24  Mike Frysinger  <vapier@gentoo.org>
501         * sysdeps/unix/sysv/linux/mips/mips64/configure.in
502         (ldd_rewrite_script): Change $dest to $dir.
503         * sysdeps/unix/sysv/linux/mips/mips64/configure: Regenerate.
505 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
507         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Include
508         sysdeps/unix/sysv/linux/arm/readahead.c not
509         sysdeps/unix/sysv/linux/arm/eabi/readahead.c.
511 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
513         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MAP_STACK): Define.
514         (MAP_HUGETLB): Likewise.
516 2012-03-27  Joseph Myers  <joseph@codesourcery.com>
518         * sysdeps/mips/elf/start.S: Moved to ...
519         * sysdeps/mips/start.S: ...here.
520         * sysdeps/mips/elf/configure.in: Moved to ...
521         * sysdeps/mips/configure.in: ...here.  Update comment.
522         * sysdeps/mips/configure: New generated file.
524 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
526         * sysdeps/unix/sysv/linux/mips/register-dump.h: Include <_itoa.h>
527         instead of <stdio-common/_itoa.h>.
529 2012-03-10  Paul Eggert  <eggert@cs.ucla.edu>
531         [BZ #13673]
532         * sysdeps/mips/mips64/gmp-mparam.h: Replace FSF snail mail address
533         with URL.
535 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
537         [BZ #13673]
538         Replace FSF snail mail address with URLs, as per GNU coding standards.
540 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
542         * sysdeps/unix/sysv/linux/mips/bits/socket_type.h: New file.
543         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Remove.
545 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
547         * sysdeps/unix/sysv/linux/mips/bits/socket.h [!__USE_GNU]: Do not
548         declare recvmmsg and sendmmsg.
550 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
552         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (pthread_attr_t):
553         Change union tag to pthread_attr_t.  Only define typedef if not
554         already defined.
555         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
556         (pthread_attr_t): Change union tag to pthread_attr_t.  Only define
557         typedef if not already defined.
559 2012-02-26  Joseph Myers  <joseph@codesourcery.com>
561         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Don't name
562         siginfo_t struct.  Add forward declaration of pthread_attr_t and
563         use it in sigevent.
564         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Name
565         pthread_attr_t union.
567 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
569         * sysdeps/unix/sysv/linux/mips/bits/epoll.h: New file.
570         * sysdeps/unix/sysv/linux/mips/bits/timerfd.h: Likewise.
571         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Remove.
572         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
574 2012-02-20  Andreas Schwab  <schwab@linux-m68k.org>
576         * sysdeps/unix/sysv/linux/mips/bits/errno.h (EHWPOISON): Define if
577         not defined.
579 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
581         * sysdeps/mips/dl-procinfo.h(_DL_PLATFORMS_COUNT): define to 4,
582         matching the array in dl-procinfo.c.
584 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
586         * sysdeps/mips/fpu/libm-test-ulps: Adjust ULPs for jn tests.
587         * sysdeps/mips/mips64/n32/fpu/libm-test-ulps: Likewise.
588         * sysdeps/mips/mips64/n64/fpu/libm-test-ulps: Likewise.
590 2012-02-15  Robert Millan  <rmh@gnu.org>
592         [BZ #12301]
593         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h [__ASSEMBLER__]
594         [__PIC__] (SYSCALL_ERROR_LABEL): New macro.
596 2012-02-15  Robert Millan  <rmh@gnu.org>
598         [BZ #12298]
599         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Moved to ...
600         * sysdeps/mips/sys/tas.h: ... here.
602 2012-02-15  Robert Millan  <rmh@gnu.org>
604         [BZ #12297]
605         * sysdeps/mips/dl-machine.h: Fix a comment regarding __start.
606         * sysdeps/unix/sysv/linux/mips/entry.h: Moved to ...
607         * sysdeps/unix/mips/entry.h: ... here.
609 2012-02-15  Robert Millan  <rmh@gnu.org>
611         [BZ #12193]
612         * sysdeps/mips/dl-machine.h (DL_PLATFORM_INIT, dl_platform_init):
613         Define.
614         * sysdeps/mips/dl-procinfo.c: New file.
615         * sysdeps/mips/dl-procinfo.h: Likewise.
617 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
619         * sysdeps/unix/sysv/linux/mips/bits/signalfd.h: New file.
620         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: Remove.
622 2012-02-15  Viju Vincent  <vijuvince@gmail.com>
624         * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Use locking
625         around calls to _dl_lookup_symbol_x.
627 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
629         * sysdeps/unix/sysv/linux/mips/bits/inotify.h: New file.
630         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Remove.
632 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
634         * sysdeps/unix/sysv/linux/mips/bits/eventfd.h: New file.
635         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Remove.
637 2012-02-10  Joseph Myers  <joseph@codesourcery.com>
639         * sysdeps/mips/mips32/crti.S: New file, based on compiler output
640         for sysdeps/generic/initfini.c.
641         * sysdeps/mips/mips32/crtn.S: Likewise.
642         * sysdeps/mips/mips64/n32/crti.S: Likewise.
643         * sysdeps/mips/mips64/n32/crtn.S: Likewise.
644         * sysdeps/mips/mips64/n64/crti.S: Likewise.
645         * sysdeps/mips/mips64/n64/crtn.S: Likewise.
646         * sysdeps/mips/Makefile (CFLAGS-initfini.s): Remove variable.
647         (CFLAGS-pt-initfini.s): Likewise.
648         (CPPFLAGS-crti.S, CPPFLAGS-crtn.S, CPPFLAGS-pt-crti.S): Define
649         variables.
651 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
653         * sysdeps/mips/sys/asm.h: Remove __STDC__ conditionals.
654         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
655         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
656         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
658 2012-01-08  Joseph Myers  <joseph@codesourcery.com>
660         * sysdeps/mips/bits/fenv.h: Use const instead of __const.
661         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Likewise.
662         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
663         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
664         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Likewise.
665         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
666         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: Likewise.
668 2012-01-07  Joseph Myers  <joseph@codesourcery.com>
670         * sysdeps/mips/nptl/shlib-versions: New.
672 2012-01-07  Joseph Myers  <joseph@codesourcery.com>
674         * sysdeps/mips/backtrace.c: Use x86_64 version of backtrace.c.
676 2012-01-04  Tom de Vries  <tom@codesourcery.com>
678         * sysdeps/mips/Makefile: Compile initfini.c, pt-initfini.c with
679         -fno-unwind-tables.
681 2012-01-03  Tom de Vries  <tom@codesourcery.com>
683         * sysdeps/mips/backtrace.c: New file, including ia64 backtrace.c.
684         * sysdeps/mips/Makefile: Compile backtrace.c with -funwind-tables.
686 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
688         * sysdeps/unix/sysv/linux/mips/Makefile (no_syscall_list_h)
689         (mips_list_syscalls, $(objpfx)syscall-%.h $(objpfx)syscall-%.d):
690         Remove.
691         (syscall-list-variants, syscall-list-includes)
692         (syscall-list-o32-options, syscall-list-o32-condition)
693         (syscall-list-n32-options, syscall-list-n32-condition)
694         (syscall-list-n64-options, syscall-list-n64-condition): Define.
695         * sysdeps/unix/sysv/linux/mips/configure.in: Don't generate
696         asm-unistd.h.
697         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
698         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Remove.
700 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
702         [BZ #13538]
703         * sysdeps/unix/sysv/linux/mips/sys/epoll.h (EPOLLONESHOT)
704         (EPOLLET): Initialize with unsigned values.
706 2011-12-19  Joseph Myers  <joseph@codesourcery.com>
708         * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h
709         $(objpfx)syscall-%.d): Use sysdeps path to locate sys/syscall.h.
711 2011-11-17  Joseph Myers  <joseph@codesourcery.com>
713         * sysdeps/unix/sysv/linux/mips/mips64/n64/ftw.c,
714         sysdeps/unix/sysv/linux/mips/mips64/n64/ftw64.c: New.
716 2011-11-11  Joseph Myers  <joseph@codesourcery.com>
718         * sysdeps/mips/dl-lookup.c: Update from generic version.
720 2011-10-12  Joseph Myers  <joseph@codesourcery.com>
722         * sysdeps/mips/fpu/e_sqrt.c: Add __sqrt_finite alias.
723         * sysdeps/mips/fpu/e_sqrtf.c: Add __sqrtf_finite alias.
724         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Add __sqrtl_finite alias.
726 2011-10-05  Andreas Schwab  <schwab@redhat.com>
728         * sysdeps/mips/dl-machine.h (elf_machine_rel, elf_machine_rela)
729         (elf_machine_lazy_rel): Add parameter skip_ifunc.
731 2011-09-13  Joseph Myers  <joseph@codesourcery.com>
733         * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Cast
734         return value to (struct cmsghdr *).
736 2011-09-13  Joseph Myers  <joseph@codesourcery.com>
738         * sysdeps/mips/elf/configure.in: Always test for TLS support and
739         error out in case it is missing.
740         * sysdeps/mips/elf/configure: Regenerate.
741         * sysdeps/mips/nptl/tls.h: Remove test for HAVE_TLS_SUPPORT.
743 2011-09-11  Joseph Myers  <joseph@codesourcery.com>
745         * sysdeps/mips/dl-machine.h, sysdeps/mips/libc-tls.c,
746         sysdeps/mips/nptl/tls.h: Don't define or use USE_TLS.
748 2011-09-06  Joseph Myers  <joseph@codesourcery.com>
750         [BZ #13109]
751         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (fstatfs)
752         (statfs): New.
753         * sysdeps/unix/sysv/linux/mips/mips64/n64/fstatfs64.c,
754         sysdeps/unix/sysv/linux/mips/mips64/n64/statfs64.c: New.
756 2011-08-02  Matt Turner  <mattst88@gmail.com>
758         * sysdeps/mips/bits/atomic.h: Workaround R10K ll/sc errata.
760 2011-07-25  Joseph Myers  <joseph@codesourcery.com>
762         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_NFC, AF_NFC):
763         Define.
765 2011-06-20  Joseph Myers  <joseph@codesourcery.com>
767         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c,
768         sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: New.
770 2011-06-20  Joseph Myers  <joseph@codesourcery.com>
772         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SI_USER): Don't
773         mention raise in the comment.
775 2011-05-23  Aurelien Jarno  <aurelien@aurel32.net>
777         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTTIME):
778         Add.
780 2011-05-13  Joseph Myers  <joseph@codesourcery.com>
782         * sysdeps/mips/dl-lookup.c: Update from generic version.
784 2011-05-10  Joseph Myers  <joseph@codesourcery.com>
786         * sysdeps/mips/dl-lookup.c: Update from generic version.
788 2011-04-11  Joseph Myers  <joseph@codesourcery.com>
790         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Define.
792 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
794         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Rename open_by_handle
795         to open_by_handle_at.
797 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
799         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_PATH): Define.
801 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
803         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define struct
804         file_handle and MAX_HANDLE_SZ.  Declare name_to_handle_at and
805         open_by_handle.  Augment a few comments.
807 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
809         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Make
810         cancelable.
811         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Likewise.
812         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
813         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Mark
814         sync_file_range as cancellation point.
815         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Mark
816         sync_file_range as cancellation point.
818 2011-04-01  Joseph Myers  <joseph@codesourcery.com>
820         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add
821         sync_file_range.
823 2011-03-22  Joseph Myers  <joseph@codesourcery.com>
825         * sysdeps/mips/dl-lookup.c: Update from generic version.
827 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
829         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_HUGEPAGE,
830         MADV_NOHUGEPAGE): Define.
832 2011-01-25  Joseph Myers  <joseph@codesourcery.com>
834         * sysdeps/unix/sysv/linux/mips/bits/socket.h (AF_CAIF, AF_ALG,
835         PF_CAIF, PF_ALG): Define.
837 2010-12-30  Joseph Myers  <joseph@codesourcery.com>
839         * sysdeps/mips/init-first.c: Don't call __libc_global_ctors if
840         NO_CTORS_DTORS_SECTIONS is defined.
841         * sysdeps/mach/hurd/mips/init-first.c: Likewise.
843 2010-12-21  Joseph Myers  <joseph@codesourcery.com>
845         * sysdeps/mips/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
847 2010-12-06  Matt Turner  <mattst88@gmail.com>
849         * sysdeps/unix/sysv/linux/mips/getpagesize.c: Delete file.
851 2010-12-06  Joseph Myers  <joseph@codesourcery.com>
853         * sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
854         Change to 2.4.1.
855         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
857 2010-10-21  Joseph Myers  <joseph@codesourcery.com>
859         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
860         sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list,
861         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Add entries
862         for fanotify_mark.
864 2010-10-11  Joseph Myers  <joseph@codesourcery.com>
866         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Add
867         libm_hidden_def.
868         * sysdeps/mips/fpu/ftestexcept.c (fetestexcept): Likewise.
870 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
872         * sysdeps/unix/sysv/linux/mips/kernel-features.h
873         (__ASSUME_GETDENTS64_SYSCALL): Undefine for n32 ABI before 2.6.35.
875 2010-08-13  Chandrakala Chavva  <cchavva@caviumnetworks.com>
877         * sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Add 'nop' in
878         jump delay slot.
879         * sysdeps/unix/mips/mips64/n32/sysdep.h (PSEUDO): Ditto.
881 2010-08-13  Joseph Myers  <joseph@codesourcery.com>
883         * sysdeps/unix/sysv/linux/mips/bits/termios.h (EXTPROC): Define.
885 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
887         * sysdeps/unix/sysv/linux/mips/bits/statfs.h (struct statfs,
888         struct statfs64): Add f_flags field.
890 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
892         * sysdeps/unix/sysv/linux/mips/sys/inotify.h (IN_EXCL_UNLINK):
893         Define.
895 2010-08-12  Joseph Myers  <joseph@codesourcery.com>
897         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Declare prlimit
898         and prlimit64.
899         * sysdeps/unix/sysv/linux/mips/mips32/syscalls.list,
900         sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: New files.
901         * sysdeps/unix/sysv/linux/mips/n32/syscalls.list: Add entry for
902         prlimit64 syscall.
904 2010-06-14  Joseph Myers  <joseph@codesourcery.com>
906         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETPIPE_SZ,
907         F_GETPIPE_SZ): Define.
909 2010-05-21  Joseph Myers  <joseph@codesourcery.com>
911         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c,
912         sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: New.
914 2010-04-14  Joseph Myers  <joseph@codesourcery.com>
916         * sysdeps/unix/sysv/linux/mips/libc-abis: New.
918 2010-04-06  Joseph Myers  <joseph@codesourcery.com>
920         * sysdeps/mips/dl-machine.h (VALID_ELF_ABIVERSION,
921         VALID_ELF_OSABI, VALID_ELF_HEADER): Remove.
922         * sysdeps/unix/sysv/linux/mips/ldsodefs.h (VALID_ELF_ABIVERSION):
923         Define.
925 2010-03-30  Joseph Myers  <joseph@codesourcery.com>
927         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define
928         MSG_WAITFORONE.
930 2010-03-24  Joseph Myers  <joseph@codesourcery.com>
932         * sysdeps/mips/dl-lookup.c: Update from generic version.
934 2010-03-23  Mischa Jonker  <mischa.jonker@viragelogic.com>
936         [BZ #11291]
937         * sysdeps/mips/bits/atomic.h
938         (__arch_compare_and_exchange_xxx_32_int,
939         __arch_compare_and_exchange_xxx_64_int,
940         __arch_exchange_xxx_32_int, __arch_exchange_xxx_64_int,
941         __arch_exchange_and_add_32_int, __arch_exchange_and_add_64_int):
942         Specify *mem as asm output as well as input.
944 2010-02-10  Joseph Myers  <joseph@codesourcery.com>
946         * sysdeps/mips/fpu/fegetenv.c: Add hidden alias.
948 2010-01-28  Joseph Myers  <joseph@codesourcery.com>
950         * sysdeps/mips/dl-trampoline.c (_dl_runtime_resolve,
951         _dl_runtime_pltresolve): Calculate offset from start of function
952         to .cpload instead of hardcoding instruction size.
954 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
956         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion
957         problem.
959 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
961         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define
962         SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
964 2010-01-10  Joseph Myers  <joseph@codesourcery.com>
966         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define O_DIRECTORY,
967         O_NOFOLLOW, O_CLOEXEC, F_DUPFD_CLOEXEC, F_SETOWN, and F_GETOWN for
968         XPG7.
969         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Enable using from
970         fcntl.h.
972 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
974         [BZ #11093]
975         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Define POLLRDNORM,
976         POLLRDBAND, POLLWRNORM, and POLLWRBAND also for POSIX 2008.
978 2009-12-16  Joseph Myers  <joseph@codesourcery.com>
980         * sysdeps/mips/dl-lookup.c: Update from generic version.
982 2009-12-15  Joseph Myers  <joseph@codesourcery.com>
984         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Redefine O_SYNC and
985         O_DSYNC to match 2.6.33+ kernels.
987 2009-12-09  Joseph Myers  <joseph@codesourcery.com>
989         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and
990         declare recvmmsg.
992 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
994         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
995         (posix_fadvise): Remove.
996         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c,
997         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c,
998         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New.
1000 2009-12-01  Joseph Myers  <joseph@codesourcery.com>
1002         * sysdeps/mips/dl-lookup.c: Update from generic version.
1004 2009-11-23  Joseph Myers  <joseph@codesourcery.com>
1006         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec
1007         for timestamps also if __USE_XOPEN2K8.
1009 2009-11-19  Joseph Myers  <joseph@codesourcery.com>
1011         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol
1012         F_OWNER_PGRP and mark F_OWNER_GID obsolete.
1014 2009-11-18  Joseph Myers  <joseph@codesourcery.com>
1016         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading
1017         names of parameters of sync_file_range.
1019 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
1021         [BZ #10972]
1022         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_*
1023         constants from recent kernels.
1025 2009-11-17  Joseph Myers  <joseph@codesourcery.com>
1027         * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
1028         not already defined.
1030 2009-11-14  Joseph Myers  <joseph@codesourcery.com>
1032         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
1033         F_GETOWN_EX): Update values.
1035 2009-11-06  Joseph Myers  <joseph@codesourcery.com>
1037         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
1038         of last two arguments when -D_FILE_OFFSET_BITS=64.
1040 2009-10-29  Joseph Myers  <joseph@codesourcery.com>
1042         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
1043         f_owner_ex.
1045 2009-10-03  Joseph Myers  <joseph@codesourcery.com>
1047         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
1048         and F_GETOWN_EX.
1050 2009-09-25  Daniel Jacobowitz  <dan@codesourcery.com>
1052         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
1053         (__SYSCALL_CLOBBERS): Add "hi" and "lo".
1054         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1055         (__SYSCALL_CLOBBERS): Likewise.
1056         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1057         (__SYSCALL_CLOBBERS): Likewise.
1059 2009-08-05  Joseph Myers  <joseph@codesourcery.com>
1061         * sysdeps/mips/____longjmp_chk.c: Remove.  Replaced by....
1062         * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This.  New file.
1063         * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
1064         variable for env.  Use expansion of CHECK_SP macro for check.
1065         * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
1067 2009-08-03  Joseph Myers  <joseph@codesourcery.com>
1069         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
1070         sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
1072 2009-07-20  Aurelien Jarno  <aurelien@aurel32.net>
1074         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
1075         __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
1077 2009-07-17  Joseph Myers  <joseph@codesourcery.com>
1079         * sysdeps/mips/do-lookup.h: Remove.
1080         * sysdeps/mips/dl-lookup.c: Update from generic version, with
1081         non-PIC handling integrated.
1083 2009-06-18  Joseph Myers  <joseph@codesourcery.com>
1085         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
1086         and AF_IEEE802154.
1088 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1090         * sysdeps/mips/____longjmp_chk.c: New file.
1091         * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it.  Don't
1092         undefine __longjmp.
1093         * sysdeps/mips64/__longjmp.c: Likewise.
1095 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1097         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
1098         sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
1099         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
1100         sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
1102 2009-05-16  Joseph Myers  <joseph@codesourcery.com>
1104         * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
1105         fallocate64@@GLIBC_2.11.
1107 2009-05-14  Joseph Myers  <joseph@codesourcery.com>
1109         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
1110         sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
1112 2009-04-18  Maciej W. Rozycki  <macro@codesourcery.com>
1114         * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
1115         * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
1116         * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
1117         * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
1118         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
1119         Update comment.
1120         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
1121         * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
1122         * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers):
1123         Add ucontext_i.sym.
1125 2009-04-18  Joseph Myers  <joseph@codesourcery.com>
1127         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
1128         __ASSUME_PWRITEV): Don't define here.
1130 2009-04-15  Maciej W. Rozycki  <macro@codesourcery.com>
1132         * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
1134 2009-04-09  Joseph Myers  <joseph@codesourcery.com>
1136         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
1137         numbers.
1138         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
1139         Define.
1140         * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
1141         preadv and pwritev.
1143 2009-03-18  Maciej W. Rozycki  <macro@codesourcery.com>
1145         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
1146         Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
1148 2009-03-18  Zhang Le  <r0bertz@gentoo.org>
1150         [BZ #7074]
1151         * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
1152         Fix the condition used to annotate n32 objects.
1154 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
1156         * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
1157         Change parameters and use next_line.
1159 2009-03-17  Joseph Myers  <joseph@codesourcery.com>
1161         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
1162         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1163         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1165 2009-03-15  Joseph Myers  <joseph@codesourcery.com>
1167         * sysdeps/mips/bits/link.h: Uglify function parameter names.
1168         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
1169         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
1170         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
1171         * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
1173 2009-03-03  Joseph Myers  <joseph@codesourcery.com>
1175         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
1176         fallocate{,64}.
1178 2009-02-26  Joseph Myers  <joseph@codesourcery.com>
1180         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
1181         UTIME_OMIT only with __USE_ATFILE.
1183 2009-02-13  Joseph Myers  <joseph@codesourcery.com>
1185         [BZ #7040]
1186         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
1187         inotify_rm_watch should have type int.
1189 2009-02-02  Joseph Myers  <joseph@codesourcery.com>
1191         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
1193 2009-01-27  Maciej W. Rozycki  <macro@linux-mips.org>
1194             Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
1196         PR glibc/1048
1197         * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
1198         variable page size for MIPS.
1199         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
1200         * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
1201         * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
1203 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
1205         * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
1206         __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
1207         -D_GNU_SOURCE.
1209 2009-01-12  Joseph Myers  <joseph@codesourcery.com>
1211         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
1212         FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
1214 2008-12-19  Joseph Myers  <joseph@codesourcery.com>
1216         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
1217         sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
1218         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
1219         sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
1221 2008-12-09  Joseph Myers  <joseph@codesourcery.com>
1223         * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
1224         Make available only for __USE_GNU.
1226 2008-12-03  Joseph Myers  <joseph@codesourcery.com>
1228         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
1229         FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
1231 2008-11-25  Joseph Myers  <joseph@codesourcery.com>
1233         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
1234         __THROW vs. __nonnull order for C++.
1236 2008-10-15  Daniel Jacobowitz  <dan@codesourcery.com>
1238         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
1239         * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
1240         R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
1242 2008-10-01  Mark Shinwell  <shinwell@codesourcery.com>
1243             Daniel Jacobowitz  <dan@codesourcery.com>
1244             Richard Sandiford  <rdsandiford@googlemail.com>
1246         * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
1247         * sysdeps/mips/dl-lookup.c: New.
1248         * sysdeps/mips/do-lookup.h: New.
1249         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
1250         definition.
1251         (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
1252         if needed.
1253         (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
1254         (elf_machine_type_class): Likewise.
1255         (ELF_MACHINE_PLT_REL): Define.
1256         (elf_machine_fixup_plt): New.
1257         (elf_machine_plt_value): New.
1258         (elf_machine_reloc): Handle jump slot and copy relocations.
1259         (elf_machine_lazy_rel): Point relocation place at PLT if
1260         required.
1261         (RESOLVE_GOTSYM): Take a relocation type argument.
1262         (elf_machine_got_rel): Bind lazy stubs directly to their target if
1263         !lazy.  Skip lazy binding for PLT symbols.
1264         (elf_machine_runtime_setup): Fill in .got.plt header.
1265         * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
1266         (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
1267         ELF_DL_PLT_RESTORE_ARG_REGS): Define.
1268         (_dl_runtime_pltresolve): New.
1269         * sysdeps/mips/bits/linkmap.h: New file.
1270         * sysdeps/mips/tls-macros.h: Load $gp as required.  Merge 32-bit and
1271         64-bit versions.
1273         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
1274         Delete definition.
1275         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
1276         PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
1277         (PSEUDO): Use them.  Move outside __PIC__.
1278         (PSEUDO_JMP): New.
1279         (CENABLE, CDISABLE): Use it.
1281 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
1283         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
1284         to epoll_create1.
1286 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
1288         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
1289         SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
1290         * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
1291         * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
1292         * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
1293         * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
1294         * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
1296 2008-08-19  Joseph Myers  <joseph@codesourcery.com>
1298         * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
1299         volatile.
1301 2008-07-18  Joseph Myers  <joseph@codesourcery.com>
1303         * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
1304         type.
1306 2008-05-21  Joseph Myers  <joseph@codesourcery.com>
1308         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
1309         (SOCK_DCCP): Define.
1311 2008-05-01  Joseph Myers  <joseph@codesourcery.com>
1313         * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
1314         RUSAGE_THREAD and RUSAGE_LWP.
1316 2008-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
1318         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
1319         shmid_ds.
1321 2008-04-21  Khem Raj  <kraj@mvista.com>
1323         * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
1325 2008-04-02  Aurelien Jarno  <aurelien@aurel32.net>
1327         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add
1328         truncate and ftruncate systems calls.
1329         * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
1330         empty file.
1331         * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
1333 2008-03-28  Joseph Myers  <joseph@codesourcery.com>
1335         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
1336         ARG_MAX if <linux/limits.h> has defined it.
1338 2008-03-28  Robin Randhawa  <robin@mips.com>
1340         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
1341         barriers to enforce strict ordering on weakly ordered systems.
1343 2008-03-26  David Stephenson  <david.stephenson@sicortex.com>
1344             Daniel Jacobowitz  <dan@codesourcery.com>
1346         * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
1347         * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1348         * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1350 2008-03-09  Andreas Jaeger  <aj@suse.de>
1352         [BZ #5753]
1353         * sysdeps/mips/ieee754.h: Use protected namespace
1354         __BIG_ENDIAN/__LITTLE_ENDIAN.
1355         Patch by Aurelien Jarno <aurelien@aurel32.net>.
1357 2008-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
1359         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
1360         Reorganize to match other architectures.  Replace _timer._timer1
1361         and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
1362         _timer.si_sigval.  Correct the type of _sigpoll.si_band.
1363         (si_timerid, si_overrun): Define.
1364         (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
1365         (__pthread_attr_s): Remove declaration.
1366         (struct sigevent): Remove XXX.  Add _tid.
1368 2007-10-22  Daniel Jacobowitz  <dan@codesourcery.com>
1370         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
1372 2007-09-25  Joseph Myers  <joseph@codesourcery.com>
1374         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
1375         type and __THROW marker of splice, vmsplice, and tee.
1377 2007-09-12  Joseph Myers  <joseph@codesourcery.com>
1379         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
1380         LLL_PRIVATE argument to lll_futex_wake.
1381         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
1382         * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
1383         comment.
1384         (PF_IUCV, PF_RXRPC): Define.
1385         (PF_MAX): Update.
1386         (AF_IUCV, AF_RXRPC): Define.
1387         (MSG_CMSG_CLOEXEC): Define.
1388         (_EXTERN_INLINE): Define to __extern_inline.
1389         * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
1390         UTIME_OMIT): Define.
1391         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
1392         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1393         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1394         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
1395         lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
1396         resp. lll_robust_*.  Renamed all LLL_MUTEX_LOCK_* macros to
1397         LLL_LOCK_*.  Include <kernel-features.h>.
1398         (LLL_LOCK_INITIALIZER): Remove duplicate definition.
1399         (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
1400         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
1401         (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
1402         lll_futex_wait.
1403         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
1404         lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
1405         private arguments.
1406         (__lll_robust_trylock): Convert to macro.
1407         (__lll_robust_lock_wait): Add private argument.
1408         (__lll_lock_wait_private, __lll_lock_wait): Declare.
1409         (__lll_lock): Convert to macro.  Take private argument.
1410         (__lll_cond_lock): Likewise.
1411         (lll_lock, lll_cond_lock): Take private arguments.
1412         (__lll_robust_lock): Take private argument.  Convert to macro.
1413         (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
1414         lll_robust_cond_lock): Take private arguments.
1415         (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
1416         arguments.
1417         (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
1418         (lll_timedlock, lll_robust_timedlock): Take private arguments.
1419         (__lll_unlock, __lll_robust_unlock): Convert to macros.  Take
1420         private arguments.
1421         (lll_unlock, lll_robust_unlock): Take private arguments.
1422         (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
1423         lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
1424         (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
1425         (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
1426         __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
1427         lll_cond_wake, lll_cond_broadcast): Remove.
1428         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
1429         to __extern_inline.
1431 2007-08-06  Maciej W. Rozycki  <macro@linux-mips.org>
1433         * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
1434         New macros for the (n)64 and n32 ABIs.
1435         (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
1437 2007-07-13  Carlos O'Donell  <carlos@codesourcery.com>
1439         * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
1440         Define __WORDSIZE_COMPAT32 as 1.
1442 2007-07-13  Joseph Myers  <joseph@codesourcery.com>
1444         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
1445         libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h.  Increase
1446         PTHREAD_STACK_MIN.
1448 2007-07-10  Daniel Jacobowitz  <dan@codesourcery.com>
1450         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
1452         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
1453         Delete.
1455 2007-06-07  Daniel Jacobowitz  <dan@codesourcery.com>
1457         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
1458         (internal_syscall1, internal_syscall2, internal_syscall3,
1459         internal_syscall4, internal_syscall5, internal_syscall6): Use it.
1461 2007-06-06  Daniel Jacobowitz  <dan@codesourcery.com>
1463         * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
1464         THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
1465         (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
1466         THREAD_GSCOPE_WAIT): Define.
1467         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
1468         (FUTEX_PRIVATE_FLAG): Define.
1469         (lll_unlock_wake_cb): Delete prototype.
1470         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
1471         <endian.h>.
1472         (pthread_rwlock_t): Shrink __flags and add __shared.
1474 2007-05-24  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
1476         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
1477         (posix_fadvise): Fix high word of len argument.
1479 2007-05-23  Atsushi Nemoto  <anemo@mba.ocn.ne.jp>
1481         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
1482         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
1483         * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
1484         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
1485         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
1486         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
1488 2007-05-23  Joseph Myers  <joseph@codesourcery.com>
1490         * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
1491         * sysdeps/mips/mips64/n64/Implies: Likewise.
1492         * sysdeps/mips/mips64/soft-fp/Makefile: New.
1493         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
1494         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
1495         <fpu_control.h>.  Use hardware exception and rounding mode
1496         settings.
1498 2007-05-23  Richard Sandiford  <rsandifo@nildram.co.uk>
1500         * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
1501         r_info argument to ElfW(Addr).
1503 2007-02-01  Joseph Myers  <joseph@codesourcery.com>
1505         * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
1507 2007-01-25  Atsushi Nemoto <anemo@mba.ocn.ne.jp>
1508             Daniel Jacobowitz  <dan@codesourcery.com>
1510         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
1511         shmctl, and semctl.
1512         * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
1513         sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
1514         sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
1516 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
1518         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
1519         PTR_DEMANGLE): Define.
1520         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
1521         PTR_DEMANGLE): Define.
1522         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
1523         PTR_DEMANGLE): Define.
1525 2007-01-23  Daniel Jacobowitz  <dan@codesourcery.com>
1527         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1528         (cfi_same_value): Delete definition.
1530 2007-01-08  Richard Sandiford  <richard@codesourcery.com>
1532         * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
1533         (elf_machine_reloc): New function, retaining the body of
1534         elf_machine_rel.  Take the reloc's r_info field as an argument,
1535         not the reloc itself.  Add extra r_addend and inplace_p arguments.
1536         When inplace_p is false, use r_addend as the addend, not the contents
1537         of the relocation field.  Hoist the conversion of reloc_addr to
1538         "ELFW(Addr) *".  Don't try to apply TLS relocations against
1539         undefined symbols.  Add R_MIPS_GLOB_DAT support.
1540         (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
1541         (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
1542         to ElfW(Rela).
1544 2007-01-08  Daniel Jacobowitz  <dan@codesourcery.com>
1546         * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h.  Correct
1547         multiple inclusion guard.
1548         * sysdeps/mips/elf/ldsodefs.h: Delete file.
1550 2007-01-04  Thiemo Seufer  <ths@networkno.de>
1552         * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
1553         to match the kernel.
1555 2006-10-31  Daniel Jacobowitz  <dan@codesourcery.com>
1557         * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
1558         (RTLD_SINGLE_THREAD_P): Define.
1559         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
1561 2006-10-31  Joseph Myers  <joseph@codesourcery.com>
1563         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
1564         prototype.
1566 2006-09-22  Richard Sandiford  <richard@codesourcery.com>
1568         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
1569         code.
1570         (__xstat_conv): Use memset to clear padding arrays.  Check for
1571         overflow.
1572         (__xstat64_conv): Use memset to clear padding arrays.
1573         (__xstat32_conv): New function.
1574         * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
1575         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
1577 2006-09-21  Joseph Myers  <joseph@codesourcery.com>
1579         * sysdeps/mips/fpu_control.h: If soft-float, don't use
1580         floating-point registers.
1581         * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
1582         sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
1583         Likewise.
1585 2006-08-04  Joseph Myers  <joseph@codesourcery.com>
1587         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
1588         FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
1590 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
1592         * sysdeps/mips/mips64/n32/libm-test-ulps,
1593         sysdeps/mips/mips64/n64/libm-test-ulps: New.
1595 2006-07-24  Joseph Myers  <joseph@codesourcery.com>
1597         * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
1598         defined, include the named file.
1600 2006-06-08  Daniel Jacobowitz  <dan@codesourcery.com>
1602         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
1603         (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
1604         Define.
1606 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
1608         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
1609         RLIM64_INFINITY): Define appropriately for N64.  Use unsigned
1610         types.
1612 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
1614         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
1615         Don't use struct timespec.
1616         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
1617         __xstat64_conv): Copy individual timespec fields.
1619 2006-06-02  Richard Sandiford  <richard@codesourcery.com>
1621         * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
1623 2006-06-02  Joseph Myers  <joseph@codesourcery.com>
1625         * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
1626         * sysdeps/mips/fpu/fesetround.c: Likewise.
1628 2006-05-10  Richard Sandiford  <richard@codesourcery.com>
1629             Daniel Jacobowitz  <dan@codesourcery.com>
1631         * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
1632         dump sc_cause, sc_status or sc_badvaddr.
1633         * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite.  Update
1634         structure definitions after DSP kernel changes.
1635         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
1636         after the same DSP changes.
1638 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
1640         * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
1641         st_atim, st_mtim and st_ctim interface.
1642         (struct stat64): Likewise.
1643         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
1644         Replace st_atime and its padding field with st_atim.  Likewise
1645         st_mtime/st_mtim and st_ctime/st_ctim.
1646         * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
1647         after above changes.
1648         (__xstat64_conv): Likewise.
1650 2006-05-08  Richard Sandiford  <richard@codesourcery.com>
1652         * sysdeps/mips/ldsodefs.h: New file.
1653         * sysdeps/mips/tst-audit.h: New file.
1655 2006-05-05  Daniel Jacobowitz  <dan@codesourcery.com>
1657         * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
1658         for consistency with other ports.
1659         (MADV_REMOVE): Correct value.
1660         (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
1661         POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
1662         POSIX_MADV_DONTNEED): Define.
1664 2006-05-05  Lior Balkohen  <balkohen@gmail.com>
1666         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
1667         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
1668         Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
1669         and SYNC_FILE_RANGE_WAIT_AFTER.
1670         Declare sync_file_range, vmsplice, splice and tee.
1672 2006-03-27  Lior Balkohen  <balkohen@gmail.com>
1674         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
1675         LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.  Add readahead
1676         prototype.
1678 2006-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
1680         * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
1681         Define.
1683 2006-03-27  Denis Barbier  <barbier@linuxfr.org>
1685         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
1686         typo.
1688 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
1690         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
1691         i386/fork.c.
1693 2006-03-11  Daniel Jacobowitz  <dan@codesourcery.com>
1695         * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
1696         libc_cv_localedir, libdir, arch_minimum_kernel, and
1697         libc_cv_gcc_unwind_find_fde.
1698         * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
1699         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1700         * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
1702 2006-03-02  Lior Balkohen  <balkohen@gmail.com>
1704         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1705         (__pthread_list_t, __pthread_slist_t): New typedefs.
1706         (pthread_mutex_t): Replace __next and __prev fields with __list.
1707         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
1708         FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
1709         (lll_futex_wake_unlock): Define.
1710         (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
1711         lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
1712         lll_robust_mutex_unlock): New macros.
1713         (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.
1714         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
1715         vfork.S.
1716         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
1718 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
1720         * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
1721         * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
1723 2006-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
1725         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1726         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
1727         (INTERNAL_SYSCALL_NCS): New.
1728         (internal_syscall0, internal_syscall1, internal_syscall2,
1729         internal_syscall3, internal_syscall4, internal_syscall5,
1730         internal_syscall6): Take ncs_init, cs_init, and input arguments.
1731         Use them.  Correct types for registers.
1732         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1733         (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
1734         (INTERNAL_SYSCALL_NCS): New.
1735         (internal_syscall0, internal_syscall1, internal_syscall2,
1736         internal_syscall3, internal_syscall4, internal_syscall5,
1737         internal_syscall6): Take ncs_init, cs_init, and input arguments.
1738         Use them.
1739         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
1740         recvfrom and sendto.  Mark lseek, msgrcv, and msgsnd as cancellation
1741         points.
1742         * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
1743         Use Elf(Addr) for TLS relocation targets.
1744         * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
1745         * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
1746         lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
1747         futexp to long for n64.
1748         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
1750 2006-02-20  Roland McGrath  <roland@redhat.com>
1752         * sysdeps/mips/shlib-versions: New file.
1753         * sysdeps/mips/preconfigure: New file.
1754         * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.