]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog.mips
Update ARM O_SYNC.
[thirdparty/glibc.git] / ChangeLog.mips
CommitLineData
5d5cb5a2
JM
12009-12-09 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define mmsghdr and
4 declare recvmmsg.
5
2d68f6af
JM
62009-12-01 Joseph Myers <joseph@codesourcery.com>
7
8 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list
9 (posix_fadvise): Remove.
10 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c,
11 sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c,
12 sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: New.
13
84f92668
JM
142009-12-01 Joseph Myers <joseph@codesourcery.com>
15
16 * sysdeps/mips/dl-lookup.c: Update from generic version.
17
b00ec948
JM
182009-11-23 Joseph Myers <joseph@codesourcery.com>
19
20 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use struct timespec
21 for timestamps also if __USE_XOPEN2K8.
22
78698bbb
JM
232009-11-19 Joseph Myers <joseph@codesourcery.com>
24
25 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Introduce new symbol
26 F_OWNER_PGRP and mark F_OWNER_GID obsolete.
27
983ee7f2
JM
282009-11-18 Joseph Myers <joseph@codesourcery.com>
29
30 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Change misleading
31 names of parameters of sync_file_range.
32
24bcda03
JM
332009-11-17 Joseph Myers <joseph@codesourcery.com>
34
35 [BZ #10972]
36 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Add new MADV_*
37 constants from recent kernels.
38
87d2bea0
JM
392009-11-17 Joseph Myers <joseph@codesourcery.com>
40
41 * sysdeps/unix/sysv/linux/mips/bits/errno.h (ERFKILL): Define if
42 not already defined.
43
37a907cc
JM
442009-11-14 Joseph Myers <joseph@codesourcery.com>
45
46 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_SETOWN_EX,
47 F_GETOWN_EX): Update values.
48
86ad0d12
JM
492009-11-06 Joseph Myers <joseph@codesourcery.com>
50
51 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
52 of last two arguments when -D_FILE_OFFSET_BITS=64.
53
a896552e
JM
542009-10-29 Joseph Myers <joseph@codesourcery.com>
55
56 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
57 f_owner_ex.
58
afd09ae8
JM
592009-10-03 Joseph Myers <joseph@codesourcery.com>
60
61 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
62 and F_GETOWN_EX.
63
f1297d79
DJ
642009-09-25 Daniel Jacobowitz <dan@codesourcery.com>
65
66 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
67 (__SYSCALL_CLOBBERS): Add "hi" and "lo".
68 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
69 (__SYSCALL_CLOBBERS): Likewise.
70 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
71 (__SYSCALL_CLOBBERS): Likewise.
72
c67273d5
JM
732009-08-05 Joseph Myers <joseph@codesourcery.com>
74
75 * sysdeps/mips/____longjmp_chk.c: Remove. Replaced by....
76 * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This. New file.
77 * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
78 variable for env. Use expansion of CHECK_SP macro for check.
79 * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
80
9d84a81f
JM
812009-08-03 Joseph Myers <joseph@codesourcery.com>
82
83 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
84 sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
85
197aec25
AJ
862009-07-20 Aurelien Jarno <aurelien@aurel32.net>
87
88 * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
89 __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
90
cda50f82
JM
912009-07-17 Joseph Myers <joseph@codesourcery.com>
92
93 * sysdeps/mips/do-lookup.h: Remove.
94 * sysdeps/mips/dl-lookup.c: Update from generic version, with
95 non-PIC handling integrated.
96
8200e168
JM
972009-06-18 Joseph Myers <joseph@codesourcery.com>
98
99 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
100 and AF_IEEE802154.
101
6a9f82ac
JM
1022009-05-16 Joseph Myers <joseph@codesourcery.com>
103
104 * sysdeps/mips/____longjmp_chk.c: New file.
105 * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it. Don't
106 undefine __longjmp.
107 * sysdeps/mips64/__longjmp.c: Likewise.
108
d9056ac6
JM
1092009-05-16 Joseph Myers <joseph@codesourcery.com>
110
111 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
112 sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
113 sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
114 sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
115
c504ff3b
JM
1162009-05-16 Joseph Myers <joseph@codesourcery.com>
117
118 * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
119 fallocate64@@GLIBC_2.11.
120
19afa982
JM
1212009-05-14 Joseph Myers <joseph@codesourcery.com>
122
123 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
124 sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
125
ff347533
JM
1262009-04-18 Maciej W. Rozycki <macro@codesourcery.com>
127
128 * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
129 * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
130 * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
131 * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
132 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
133 Update comment.
134 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
135 * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
136 * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers):
137 Add ucontext_i.sym.
138
57d0274f
JM
1392009-04-18 Joseph Myers <joseph@codesourcery.com>
140
141 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
142 __ASSUME_PWRITEV): Don't define here.
143
6db53cd5
JM
1442009-04-15 Maciej W. Rozycki <macro@codesourcery.com>
145
146 * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
147
70fdbfd9
JM
1482009-04-09 Joseph Myers <joseph@codesourcery.com>
149
150 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
151 numbers.
152 * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
153 Define.
154 * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
155 preadv and pwritev.
156
d69fd0cb
JM
1572009-03-18 Maciej W. Rozycki <macro@codesourcery.com>
158
159 * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
160 Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
161
0262d0c4
JM
1622009-03-18 Zhang Le <r0bertz@gentoo.org>
163
164 [BZ #7074]
165 * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
166 Fix the condition used to annotate n32 objects.
167
4c8c1810
JM
1682009-03-17 Joseph Myers <joseph@codesourcery.com>
169
170 * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
171 Change parameters and use next_line.
172
340f7976
JM
1732009-03-17 Joseph Myers <joseph@codesourcery.com>
174
175 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
176 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
177 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
178
ad32d65a
JM
1792009-03-15 Joseph Myers <joseph@codesourcery.com>
180
181 * sysdeps/mips/bits/link.h: Uglify function parameter names.
182 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
183 * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
184 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
185 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
186
93311332
JM
1872009-03-03 Joseph Myers <joseph@codesourcery.com>
188
189 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
190 fallocate{,64}.
191
2e3804ef
JM
1922009-02-26 Joseph Myers <joseph@codesourcery.com>
193
194 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
195 UTIME_OMIT only with __USE_ATFILE.
196
1090d6bf
JM
1972009-02-13 Joseph Myers <joseph@codesourcery.com>
198
199 [BZ #7040]
200 * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
201 inotify_rm_watch should have type int.
202
8085bd60
JM
2032009-02-02 Joseph Myers <joseph@codesourcery.com>
204
205 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
206
9290e553
DJ
2072009-01-27 Maciej W. Rozycki <macro@linux-mips.org>
208 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
209
210 PR glibc/1048
211 * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
212 variable page size for MIPS.
213 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
214 * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
215 * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
216
e27433a8
JM
2172009-01-12 Joseph Myers <joseph@codesourcery.com>
218
219 * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
220 __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
221 -D_GNU_SOURCE.
222
bb3b3056
JM
2232009-01-12 Joseph Myers <joseph@codesourcery.com>
224
225 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
226 FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
227
01aa93bd
JM
2282008-12-19 Joseph Myers <joseph@codesourcery.com>
229
230 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
231 sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
232 sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
233 sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
234
64762db4
JM
2352008-12-09 Joseph Myers <joseph@codesourcery.com>
236
237 * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
238 Make available only for __USE_GNU.
239
9a9863b4
JM
2402008-12-03 Joseph Myers <joseph@codesourcery.com>
241
242 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
243 FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
244
10d461b5
JM
2452008-11-25 Joseph Myers <joseph@codesourcery.com>
246
247 * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
248 __THROW vs. __nonnull order for C++.
249
f6e40d38
DJ
2502008-10-15 Daniel Jacobowitz <dan@codesourcery.com>
251
252 * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
253 * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
254 R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
255
63fb881a
DJ
2562008-10-01 Mark Shinwell <shinwell@codesourcery.com>
257 Daniel Jacobowitz <dan@codesourcery.com>
258 Richard Sandiford <rdsandiford@googlemail.com>
259
260 * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
261 * sysdeps/mips/dl-lookup.c: New.
262 * sysdeps/mips/do-lookup.h: New.
263 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
264 definition.
265 (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
266 if needed.
267 (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
268 (elf_machine_type_class): Likewise.
269 (ELF_MACHINE_PLT_REL): Define.
270 (elf_machine_fixup_plt): New.
271 (elf_machine_plt_value): New.
272 (elf_machine_reloc): Handle jump slot and copy relocations.
273 (elf_machine_lazy_rel): Point relocation place at PLT if
274 required.
275 (RESOLVE_GOTSYM): Take a relocation type argument.
276 (elf_machine_got_rel): Bind lazy stubs directly to their target if
277 !lazy. Skip lazy binding for PLT symbols.
278 (elf_machine_runtime_setup): Fill in .got.plt header.
279 * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
280 (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
281 ELF_DL_PLT_RESTORE_ARG_REGS): Define.
282 (_dl_runtime_pltresolve): New.
283 * sysdeps/mips/bits/linkmap.h: New file.
284 * sysdeps/mips/tls-macros.h: Load $gp as required. Merge 32-bit and
285 64-bit versions.
286
287 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
288 Delete definition.
289 * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
290 PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
291 (PSEUDO): Use them. Move outside __PIC__.
292 (PSEUDO_JMP): New.
293 (CENABLE, CDISABLE): Use it.
294
a961a11e
JM
2952008-08-19 Joseph Myers <joseph@codesourcery.com>
296
297 * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
298 to epoll_create1.
299
72e2fdef
JM
3002008-08-19 Joseph Myers <joseph@codesourcery.com>
301
302 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
303 SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
304 * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
305 * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
306 * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
307 * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
308 * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
309
606c1b17
JM
3102008-08-19 Joseph Myers <joseph@codesourcery.com>
311
312 * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
313 volatile.
314
e2570f30
DJ
3152008-07-18 Joseph Myers <joseph@codesourcery.com>
316
317 * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
318 type.
319
83d53ff1
DJ
3202008-05-21 Joseph Myers <joseph@codesourcery.com>
321
322 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
323 (SOCK_DCCP): Define.
324
098cab74
DJ
3252008-05-01 Joseph Myers <joseph@codesourcery.com>
326
327 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
328 RUSAGE_THREAD and RUSAGE_LWP.
329
89e412f5
DJ
3302008-04-21 Daniel Jacobowitz <dan@codesourcery.com>
331
332 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
333 shmid_ds.
334
93ae5119
DJ
3352008-04-21 Khem Raj <kraj@mvista.com>
336
337 * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
338
7221ac03
DJ
3392008-04-02 Aurelien Jarno <aurelien@aurel32.net>
340
341 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add
342 truncate and ftruncate systems calls.
343 * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
344 empty file.
345 * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
346
560bab76
DJ
3472008-03-28 Joseph Myers <joseph@codesourcery.com>
348
349 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
350 ARG_MAX if <linux/limits.h> has defined it.
351
3522008-03-28 Robin Randhawa <robin@mips.com>
625680f9
DJ
353
354 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
355 barriers to enforce strict ordering on weakly ordered systems.
356
af7eda0f
DJ
3572008-03-26 David Stephenson <david.stephenson@sicortex.com>
358 Daniel Jacobowitz <dan@codesourcery.com>
359
360 * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
361 * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
362 * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
363
2af06d0d
AJ
3642008-03-09 Andreas Jaeger <aj@suse.de>
365
366 [BZ #5753]
367 * sysdeps/mips/ieee754.h: Use protected namespace
368 __BIG_ENDIAN/__LITTLE_ENDIAN.
369 Patch by Aurelien Jarno <aurelien@aurel32.net>.
370
7812cbad
DJ
3712008-03-04 Daniel Jacobowitz <dan@codesourcery.com>
372
373 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
374 Reorganize to match other architectures. Replace _timer._timer1
375 and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
376 _timer.si_sigval. Correct the type of _sigpoll.si_band.
377 (si_timerid, si_overrun): Define.
378 (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
379 (__pthread_attr_s): Remove declaration.
380 (struct sigevent): Remove XXX. Add _tid.
381
7e0bd9eb
DJ
3822007-10-22 Daniel Jacobowitz <dan@codesourcery.com>
383
384 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
385
017cc633
DJ
3862007-09-25 Joseph Myers <joseph@codesourcery.com>
387
388 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
389 type and __THROW marker of splice, vmsplice, and tee.
390
8c276674
DJ
3912007-09-12 Joseph Myers <joseph@codesourcery.com>
392
393 * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
394 LLL_PRIVATE argument to lll_futex_wake.
395 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
396 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
397 comment.
398 (PF_IUCV, PF_RXRPC): Define.
399 (PF_MAX): Update.
400 (AF_IUCV, AF_RXRPC): Define.
401 (MSG_CMSG_CLOEXEC): Define.
402 (_EXTERN_INLINE): Define to __extern_inline.
403 * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
404 UTIME_OMIT): Define.
405 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
406 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
407 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
408 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
409 lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
410 resp. lll_robust_*. Renamed all LLL_MUTEX_LOCK_* macros to
411 LLL_LOCK_*. Include <kernel-features.h>.
412 (LLL_LOCK_INITIALIZER): Remove duplicate definition.
413 (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
414 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
415 (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
416 lll_futex_wait.
417 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
418 lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
419 private arguments.
420 (__lll_robust_trylock): Convert to macro.
421 (__lll_robust_lock_wait): Add private argument.
422 (__lll_lock_wait_private, __lll_lock_wait): Declare.
423 (__lll_lock): Convert to macro. Take private argument.
424 (__lll_cond_lock): Likewise.
425 (lll_lock, lll_cond_lock): Take private arguments.
426 (__lll_robust_lock): Take private argument. Convert to macro.
427 (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
428 lll_robust_cond_lock): Take private arguments.
429 (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
430 arguments.
431 (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
432 (lll_timedlock, lll_robust_timedlock): Take private arguments.
433 (__lll_unlock, __lll_robust_unlock): Convert to macros. Take
434 private arguments.
435 (lll_unlock, lll_robust_unlock): Take private arguments.
436 (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
437 lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
438 (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
439 (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
440 __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
441 lll_cond_wake, lll_cond_broadcast): Remove.
442 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
443 to __extern_inline.
444
d45a6368
DJ
4452007-08-06 Maciej W. Rozycki <macro@linux-mips.org>
446
447 * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
448 New macros for the (n)64 and n32 ABIs.
449 (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
450
391da201
DJ
4512007-07-13 Carlos O'Donell <carlos@codesourcery.com>
452
453 * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
454 Define __WORDSIZE_COMPAT32 as 1.
455
2b4095f3
DJ
4562007-07-13 Joseph Myers <joseph@codesourcery.com>
457
458 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
459 libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h. Increase
460 PTHREAD_STACK_MIN.
461
8323b1ab
DJ
4622007-07-10 Daniel Jacobowitz <dan@codesourcery.com>
463
464 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
465
466 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
467 Delete.
468
ffd39823
DJ
4692007-06-07 Daniel Jacobowitz <dan@codesourcery.com>
470
471 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
472 (internal_syscall1, internal_syscall2, internal_syscall3,
473 internal_syscall4, internal_syscall5, internal_syscall6): Use it.
474
30efab51
DJ
4752007-06-06 Daniel Jacobowitz <dan@codesourcery.com>
476
477 * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
478 THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
479 (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
480 THREAD_GSCOPE_WAIT): Define.
481 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
482 (FUTEX_PRIVATE_FLAG): Define.
483 (lll_unlock_wake_cb): Delete prototype.
484 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
485 <endian.h>.
486 (pthread_rwlock_t): Shrink __flags and add __shared.
487
92fa63ee
DJ
4882007-05-24 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
489
490 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
491 (posix_fadvise): Fix high word of len argument.
492
7a30cb83
DJ
4932007-05-23 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
494
495 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
496 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
497 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
498 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
499 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
500 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
501
384fa30d
DJ
5022007-05-23 Joseph Myers <joseph@codesourcery.com>
503
504 * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
505 * sysdeps/mips/mips64/n64/Implies: Likewise.
506 * sysdeps/mips/mips64/soft-fp/Makefile: New.
507 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
508 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
509 <fpu_control.h>. Use hardware exception and rounding mode
510 settings.
511
388fc51b 5122007-05-23 Richard Sandiford <rsandifo@nildram.co.uk>
9077d4dc
DJ
513
514 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
515 r_info argument to ElfW(Addr).
516
f50c692c
DJ
5172007-02-01 Joseph Myers <joseph@codesourcery.com>
518
519 * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
520
eb96755b
DJ
5212007-01-25 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
522 Daniel Jacobowitz <dan@codesourcery.com>
523
524 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
525 shmctl, and semctl.
526 * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
527 sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
528 sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
529
908afa83
DJ
5302007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
531
532 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
533 PTR_DEMANGLE): Define.
534 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
535 PTR_DEMANGLE): Define.
536 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
537 PTR_DEMANGLE): Define.
538
e3097800
DJ
5392007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
540
541 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
542 (cfi_same_value): Delete definition.
543
cb5bcf74
DJ
5442007-01-08 Richard Sandiford <richard@codesourcery.com>
545
546 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
547 (elf_machine_reloc): New function, retaining the body of
548 elf_machine_rel. Take the reloc's r_info field as an argument,
549 not the reloc itself. Add extra r_addend and inplace_p arguments.
550 When inplace_p is false, use r_addend as the addend, not the contents
551 of the relocation field. Hoist the conversion of reloc_addr to
552 "ELFW(Addr) *". Don't try to apply TLS relocations against
553 undefined symbols. Add R_MIPS_GLOB_DAT support.
554 (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
555 (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
556 to ElfW(Rela).
557
2caa93e2
DJ
5582007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
559
560 * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h. Correct
561 multiple inclusion guard.
562 * sysdeps/mips/elf/ldsodefs.h: Delete file.
563
84f3ca6e
DJ
5642007-01-04 Thiemo Seufer <ths@networkno.de>
565
566 * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
567 to match the kernel.
568
3ed8d993
DJ
5692006-10-31 Daniel Jacobowitz <dan@codesourcery.com>
570
571 * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
572 (RTLD_SINGLE_THREAD_P): Define.
573 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
574
a7d03b91
DJ
5752006-10-31 Joseph Myers <joseph@codesourcery.com>
576
577 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
578 prototype.
579
6ea63025
DJ
5802006-09-22 Richard Sandiford <richard@codesourcery.com>
581
582 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
583 code.
584 (__xstat_conv): Use memset to clear padding arrays. Check for
585 overflow.
586 (__xstat64_conv): Use memset to clear padding arrays.
587 (__xstat32_conv): New function.
588 * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
589 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
590
6b4d184d
DJ
5912006-09-21 Joseph Myers <joseph@codesourcery.com>
592
593 * sysdeps/mips/fpu_control.h: If soft-float, don't use
594 floating-point registers.
595 * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
596 sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
597 Likewise.
598
0ad4d3b0
DJ
5992006-08-04 Joseph Myers <joseph@codesourcery.com>
600
601 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
602 FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
603
74321891
DJ
6042006-07-24 Joseph Myers <joseph@codesourcery.com>
605
606 * sysdeps/mips/mips64/n32/libm-test-ulps,
607 sysdeps/mips/mips64/n64/libm-test-ulps: New.
608
bb600a60
DJ
6092006-07-24 Joseph Myers <joseph@codesourcery.com>
610
611 * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
612 defined, include the named file.
613
02678e17
DJ
6142006-06-08 Daniel Jacobowitz <dan@codesourcery.com>
615
616 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
617 (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
618 Define.
619
bd345106
DJ
6202006-06-02 Joseph Myers <joseph@codesourcery.com>
621
622 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
623 RLIM64_INFINITY): Define appropriately for N64. Use unsigned
624 types.
625
d7f9cd89
DJ
6262006-06-02 Joseph Myers <joseph@codesourcery.com>
627
628 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
629 Don't use struct timespec.
630 * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
631 __xstat64_conv): Copy individual timespec fields.
632
c6e2897b
DJ
6332006-06-02 Richard Sandiford <richard@codesourcery.com>
634
635 * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
636
37896d39
DJ
6372006-06-02 Joseph Myers <joseph@codesourcery.com>
638
639 * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
640 * sysdeps/mips/fpu/fesetround.c: Likewise.
641
42e36d16
DJ
6422006-05-10 Richard Sandiford <richard@codesourcery.com>
643 Daniel Jacobowitz <dan@codesourcery.com>
644
645 * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
646 dump sc_cause, sc_status or sc_badvaddr.
647 * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite. Update
648 structure definitions after DSP kernel changes.
649 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
650 after the same DSP changes.
651
dab75788
DJ
6522006-05-08 Richard Sandiford <richard@codesourcery.com>
653
654 * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
655 st_atim, st_mtim and st_ctim interface.
656 (struct stat64): Likewise.
657 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
658 Replace st_atime and its padding field with st_atim. Likewise
659 st_mtime/st_mtim and st_ctime/st_ctim.
660 * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
661 after above changes.
662 (__xstat64_conv): Likewise.
663
19723bdd
DJ
6642006-05-08 Richard Sandiford <richard@codesourcery.com>
665
666 * sysdeps/mips/ldsodefs.h: New file.
667 * sysdeps/mips/tst-audit.h: New file.
668
075f1edd
DJ
6692006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
670
671 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
672 for consistency with other ports.
673 (MADV_REMOVE): Correct value.
674 (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
675 POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
676 POSIX_MADV_DONTNEED): Define.
677
142b51e4
DJ
6782006-05-05 Lior Balkohen <balkohen@gmail.com>
679
680 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
681 LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
682 Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
683 and SYNC_FILE_RANGE_WAIT_AFTER.
684 Declare sync_file_range, vmsplice, splice and tee.
685
f3fb78ec
DJ
6862006-03-27 Lior Balkohen <balkohen@gmail.com>
687
688 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
689 LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT. Add readahead
690 prototype.
691
bfc23f5a
DJ
6922006-03-27 Daniel Jacobowitz <dan@codesourcery.com>
693
694 * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
695 Define.
696
b415b963
DJ
6972006-03-27 Denis Barbier <barbier@linuxfr.org>
698
699 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
700 typo.
701
712619d7
DJ
7022006-03-11 Daniel Jacobowitz <dan@codesourcery.com>
703
704 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
705 i386/fork.c.
706
aea60744
DJ
7072006-03-11 Daniel Jacobowitz <dan@codesourcery.com>
708
709 * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
710 libc_cv_localedir, libdir, arch_minimum_kernel, and
711 libc_cv_gcc_unwind_find_fde.
712 * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
713 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
714 * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
715
13d7881a
DJ
7162006-03-02 Lior Balkohen <balkohen@gmail.com>
717
718 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
719 (__pthread_list_t, __pthread_slist_t): New typedefs.
720 (pthread_mutex_t): Replace __next and __prev fields with __list.
721 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
722 FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
723 (lll_futex_wake_unlock): Define.
724 (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
725 lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
726 lll_robust_mutex_unlock): New macros.
727 (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.
728 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
729 vfork.S.
730 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
731
73204807
DJ
7322006-03-02 Daniel Jacobowitz <dan@codesourcery.com>
733
734 * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
735 * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
736
6428ce3c
DJ
7372006-03-02 Daniel Jacobowitz <dan@codesourcery.com>
738
739 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
740 (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
741 (INTERNAL_SYSCALL_NCS): New.
742 (internal_syscall0, internal_syscall1, internal_syscall2,
743 internal_syscall3, internal_syscall4, internal_syscall5,
744 internal_syscall6): Take ncs_init, cs_init, and input arguments.
745 Use them. Correct types for registers.
746 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
747 (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
748 (INTERNAL_SYSCALL_NCS): New.
749 (internal_syscall0, internal_syscall1, internal_syscall2,
750 internal_syscall3, internal_syscall4, internal_syscall5,
751 internal_syscall6): Take ncs_init, cs_init, and input arguments.
752 Use them.
753 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
754 recvfrom and sendto. Mark lseek, msgrcv, and msgsnd as cancellation
755 points.
756 * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
757 Use Elf(Addr) for TLS relocation targets.
758 * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
759 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
760 lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
761 futexp to long for n64.
762 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
763
2575768d
RM
7642006-02-20 Roland McGrath <roland@redhat.com>
765
766 * sysdeps/mips/shlib-versions: New file.
767 * sysdeps/mips/preconfigure: New file.
768 * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.