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