]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog.mips
Define F_SETOWN_EX and F_GETOWN_EX for ARM.
[thirdparty/glibc.git] / ChangeLog.mips
CommitLineData
f1297d79
DJ
12009-09-25 Daniel Jacobowitz <dan@codesourcery.com>
2
3 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
4 (__SYSCALL_CLOBBERS): Add "hi" and "lo".
5 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
6 (__SYSCALL_CLOBBERS): Likewise.
7 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
8 (__SYSCALL_CLOBBERS): Likewise.
9
c67273d5
JM
102009-08-05 Joseph Myers <joseph@codesourcery.com>
11
12 * sysdeps/mips/____longjmp_chk.c: Remove. Replaced by....
13 * sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This. New file.
14 * sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
15 variable for env. Use expansion of CHECK_SP macro for check.
16 * sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
17
9d84a81f
JM
182009-08-03 Joseph Myers <joseph@codesourcery.com>
19
20 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c,
21 sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: New.
22
197aec25
AJ
232009-07-20 Aurelien Jarno <aurelien@aurel32.net>
24
25 * sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
26 __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
27
cda50f82
JM
282009-07-17 Joseph Myers <joseph@codesourcery.com>
29
30 * sysdeps/mips/do-lookup.h: Remove.
31 * sysdeps/mips/dl-lookup.c: Update from generic version, with
32 non-PIC handling integrated.
33
8200e168
JM
342009-06-18 Joseph Myers <joseph@codesourcery.com>
35
36 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
37 and AF_IEEE802154.
38
6a9f82ac
JM
392009-05-16 Joseph Myers <joseph@codesourcery.com>
40
41 * sysdeps/mips/____longjmp_chk.c: New file.
42 * sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it. Don't
43 undefine __longjmp.
44 * sysdeps/mips64/__longjmp.c: Likewise.
45
d9056ac6
JM
462009-05-16 Joseph Myers <joseph@codesourcery.com>
47
48 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
49 sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
50 sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
51 sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
52
c504ff3b
JM
532009-05-16 Joseph Myers <joseph@codesourcery.com>
54
55 * sysdeps/unix/sysv/linux/mips/Versions (libc): Add
56 fallocate64@@GLIBC_2.11.
57
19afa982
JM
582009-05-14 Joseph Myers <joseph@codesourcery.com>
59
60 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
61 sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
62
ff347533
JM
632009-04-18 Maciej W. Rozycki <macro@codesourcery.com>
64
65 * sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
66 * sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
67 * sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
68 * sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
69 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
70 Update comment.
71 * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
72 * sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
73 * sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers):
74 Add ucontext_i.sym.
75
57d0274f
JM
762009-04-18 Joseph Myers <joseph@codesourcery.com>
77
78 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
79 __ASSUME_PWRITEV): Don't define here.
80
6db53cd5
JM
812009-04-15 Maciej W. Rozycki <macro@codesourcery.com>
82
83 * sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
84
70fdbfd9
JM
852009-04-09 Joseph Myers <joseph@codesourcery.com>
86
87 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
88 numbers.
89 * sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
90 Define.
91 * sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
92 preadv and pwritev.
93
d69fd0cb
JM
942009-03-18 Maciej W. Rozycki <macro@codesourcery.com>
95
96 * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
97 Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
98
0262d0c4
JM
992009-03-18 Zhang Le <r0bertz@gentoo.org>
100
101 [BZ #7074]
102 * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
103 Fix the condition used to annotate n32 objects.
104
4c8c1810
JM
1052009-03-17 Joseph Myers <joseph@codesourcery.com>
106
107 * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
108 Change parameters and use next_line.
109
340f7976
JM
1102009-03-17 Joseph Myers <joseph@codesourcery.com>
111
112 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
113 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
114 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
115
ad32d65a
JM
1162009-03-15 Joseph Myers <joseph@codesourcery.com>
117
118 * sysdeps/mips/bits/link.h: Uglify function parameter names.
119 * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
120 * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
121 * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
122 * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
123
93311332
JM
1242009-03-03 Joseph Myers <joseph@codesourcery.com>
125
126 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
127 fallocate{,64}.
128
2e3804ef
JM
1292009-02-26 Joseph Myers <joseph@codesourcery.com>
130
131 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
132 UTIME_OMIT only with __USE_ATFILE.
133
1090d6bf
JM
1342009-02-13 Joseph Myers <joseph@codesourcery.com>
135
136 [BZ #7040]
137 * sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
138 inotify_rm_watch should have type int.
139
8085bd60
JM
1402009-02-02 Joseph Myers <joseph@codesourcery.com>
141
142 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
143
9290e553
DJ
1442009-01-27 Maciej W. Rozycki <macro@linux-mips.org>
145 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
146
147 PR glibc/1048
148 * sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
149 variable page size for MIPS.
150 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
151 * sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
152 * sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
153
e27433a8
JM
1542009-01-12 Joseph Myers <joseph@codesourcery.com>
155
156 * sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
157 __rusage_who): Avoid comma after RUSAGE_CHILDREN if not
158 -D_GNU_SOURCE.
159
bb3b3056
JM
1602009-01-12 Joseph Myers <joseph@codesourcery.com>
161
162 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
163 FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
164
01aa93bd
JM
1652008-12-19 Joseph Myers <joseph@codesourcery.com>
166
167 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
168 sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
169 sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
170 sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
171
64762db4
JM
1722008-12-09 Joseph Myers <joseph@codesourcery.com>
173
174 * sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
175 Make available only for __USE_GNU.
176
9a9863b4
JM
1772008-12-03 Joseph Myers <joseph@codesourcery.com>
178
179 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
180 FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
181
10d461b5
JM
1822008-11-25 Joseph Myers <joseph@codesourcery.com>
183
184 * sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
185 __THROW vs. __nonnull order for C++.
186
f6e40d38
DJ
1872008-10-15 Daniel Jacobowitz <dan@codesourcery.com>
188
189 * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Do not redefine.
190 * sysdeps/mips/dl-machine.h (STO_MIPS_PLT, R_MIPS_COPY,
191 R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Do not redefine.
192
63fb881a
DJ
1932008-10-01 Mark Shinwell <shinwell@codesourcery.com>
194 Daniel Jacobowitz <dan@codesourcery.com>
195 Richard Sandiford <rdsandiford@googlemail.com>
196
197 * sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
198 * sysdeps/mips/dl-lookup.c: New.
199 * sysdeps/mips/do-lookup.h: New.
200 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
201 definition.
202 (STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
203 if needed.
204 (ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
205 (elf_machine_type_class): Likewise.
206 (ELF_MACHINE_PLT_REL): Define.
207 (elf_machine_fixup_plt): New.
208 (elf_machine_plt_value): New.
209 (elf_machine_reloc): Handle jump slot and copy relocations.
210 (elf_machine_lazy_rel): Point relocation place at PLT if
211 required.
212 (RESOLVE_GOTSYM): Take a relocation type argument.
213 (elf_machine_got_rel): Bind lazy stubs directly to their target if
214 !lazy. Skip lazy binding for PLT symbols.
215 (elf_machine_runtime_setup): Fill in .got.plt header.
216 * sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
217 (ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
218 ELF_DL_PLT_RESTORE_ARG_REGS): Define.
219 (_dl_runtime_pltresolve): New.
220 * sysdeps/mips/bits/linkmap.h: New file.
221 * sysdeps/mips/tls-macros.h: Load $gp as required. Merge 32-bit and
222 64-bit versions.
223
224 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
225 Delete definition.
226 * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
227 PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
228 (PSEUDO): Use them. Move outside __PIC__.
229 (PSEUDO_JMP): New.
230 (CENABLE, CDISABLE): Use it.
231
a961a11e
JM
2322008-08-19 Joseph Myers <joseph@codesourcery.com>
233
234 * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2
235 to epoll_create1.
236
72e2fdef
JM
2372008-08-19 Joseph Myers <joseph@codesourcery.com>
238
239 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC,
240 SOCK_NONBLOCK, PF_ISDN and AF_ISDN.
241 * sysdeps/unix/sysv/linux/mips/sys/epoll.h: New file.
242 * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: New file.
243 * sysdeps/unix/sysv/linux/mips/sys/inotify.h: New file.
244 * sysdeps/unix/sysv/linux/mips/sys/signalfd.h: New file.
245 * sysdeps/unix/sysv/linux/mips/sys/timerfd.h: New file.
246
606c1b17
JM
2472008-08-19 Joseph Myers <joseph@codesourcery.com>
248
249 * sysdeps/mips/fpu_control.h (_FPU_GETCW, _FPU_SETCW): Make asms
250 volatile.
251
e2570f30
DJ
2522008-07-18 Joseph Myers <joseph@codesourcery.com>
253
254 * sysdeps/mips/bits/setjmp.h (__jmp_buf): Give name to structure
255 type.
256
83d53ff1
DJ
2572008-05-21 Joseph Myers <joseph@codesourcery.com>
258
259 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Cleanup namespace.
260 (SOCK_DCCP): Define.
261
098cab74
DJ
2622008-05-01 Joseph Myers <joseph@codesourcery.com>
263
264 * sysdeps/unix/sysv/linux/mips/bits/resource.h: Define
265 RUSAGE_THREAD and RUSAGE_LWP.
266
89e412f5
DJ
2672008-04-21 Daniel Jacobowitz <dan@codesourcery.com>
268
269 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Fix comment describing
270 shmid_ds.
271
93ae5119
DJ
2722008-04-21 Khem Raj <kraj@mvista.com>
273
274 * sysdeps/unix/sysv/linux/mips/xmknod.c: Delete file.
275
7221ac03
DJ
2762008-04-02 Aurelien Jarno <aurelien@aurel32.net>
277
278 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Add
279 truncate and ftruncate systems calls.
280 * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: Make an
281 empty file.
282 * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: Ditto.
283
560bab76
DJ
2842008-03-28 Joseph Myers <joseph@codesourcery.com>
285
286 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Undefine
287 ARG_MAX if <linux/limits.h> has defined it.
288
2892008-03-28 Robin Randhawa <robin@mips.com>
625680f9
DJ
290
291 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Added memory
292 barriers to enforce strict ordering on weakly ordered systems.
293
af7eda0f
DJ
2942008-03-26 David Stephenson <david.stephenson@sicortex.com>
295 Daniel Jacobowitz <dan@codesourcery.com>
296
297 * sysdeps/mips/fpu/fesetround.c (fesetround): Use fpu_control_t.
298 * sysdeps/mips/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
299 * sysdeps/mips/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
300
2af06d0d
AJ
3012008-03-09 Andreas Jaeger <aj@suse.de>
302
303 [BZ #5753]
304 * sysdeps/mips/ieee754.h: Use protected namespace
305 __BIG_ENDIAN/__LITTLE_ENDIAN.
306 Patch by Aurelien Jarno <aurelien@aurel32.net>.
307
7812cbad
DJ
3082008-03-04 Daniel Jacobowitz <dan@codesourcery.com>
309
310 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (struct siginfo):
311 Reorganize to match other architectures. Replace _timer._timer1
312 and _timer._timer2 with _timer.si_tid, _timer.si_overrun, and
313 _timer.si_sigval. Correct the type of _sigpoll.si_band.
314 (si_timerid, si_overrun): Define.
315 (__SIGEV_PAD_SIZE): Correct for __WORDSIZE == 64.
316 (__pthread_attr_s): Remove declaration.
317 (struct sigevent): Remove XXX. Add _tid.
318
7e0bd9eb
DJ
3192007-10-22 Daniel Jacobowitz <dan@codesourcery.com>
320
321 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.
322
017cc633
DJ
3232007-09-25 Joseph Myers <joseph@codesourcery.com>
324
325 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Correct return value
326 type and __THROW marker of splice, vmsplice, and tee.
327
8c276674
DJ
3282007-09-12 Joseph Myers <joseph@codesourcery.com>
329
330 * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_RESET_FLAG): Pass
331 LLL_PRIVATE argument to lll_futex_wake.
332 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_CLOEXEC): Define.
333 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_UNIX): Update
334 comment.
335 (PF_IUCV, PF_RXRPC): Define.
336 (PF_MAX): Update.
337 (AF_IUCV, AF_RXRPC): Define.
338 (MSG_CMSG_CLOEXEC): Define.
339 (_EXTERN_INLINE): Define to __extern_inline.
340 * sysdeps/unix/sysv/linux/mips/bits/stat.h (UTIME_NOW,
341 UTIME_OMIT): Define.
342 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include <tls.h>.
343 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
344 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
345 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Renamed all
346 lll_mutex_* resp. lll_robust_mutex_* macros to lll_*
347 resp. lll_robust_*. Renamed all LLL_MUTEX_LOCK_* macros to
348 LLL_LOCK_*. Include <kernel-features.h>.
349 (LLL_LOCK_INITIALIZER): Remove duplicate definition.
350 (LLL_PRIVATE, LLL_SHARED, __lll_private_flag): Define.
351 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c
352 (clear_once_control, __pthread_once): Pass LLL_PRIVATE argument to
353 lll_futex_wait.
354 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake,
355 lll_robust_dead, lll_futex_requeue, lll_futex_wake_unlock): Take
356 private arguments.
357 (__lll_robust_trylock): Convert to macro.
358 (__lll_robust_lock_wait): Add private argument.
359 (__lll_lock_wait_private, __lll_lock_wait): Declare.
360 (__lll_lock): Convert to macro. Take private argument.
361 (__lll_cond_lock): Likewise.
362 (lll_lock, lll_cond_lock): Take private arguments.
363 (__lll_robust_lock): Take private argument. Convert to macro.
364 (lll_robust_lock, __lll_cond_lock, lll_cond_lock,
365 lll_robust_cond_lock): Take private arguments.
366 (__lll_timedlock_wait, __lll_robust_timedlock_wait): Take private
367 arguments.
368 (__lll_timedlock, __lll_robust_timedlock): Take private arguments.
369 (lll_timedlock, lll_robust_timedlock): Take private arguments.
370 (__lll_unlock, __lll_robust_unlock): Convert to macros. Take
371 private arguments.
372 (lll_unlock, lll_robust_unlock): Take private arguments.
373 (__lll_mutex_unlock_force, lll_mutex_unlock_force, lll_lock_t,
374 lll_trylock, lll_lock, lll_unlock, lll_islocked): Remove.
375 (lll_wait_tid): Pass LLL_SHARED to lll_futex_wait.
376 (__lll_cond_wait, __lll_cond_timedwait, __lll_cond_wake,
377 __lll_cond_broadcast, lll_cond_wait, lll_cond_timedwait,
378 lll_cond_wake, lll_cond_broadcast): Remove.
379 * sysdeps/unix/sysv/linux/mips/sys/tas.h (_EXTERN_INLINE): Define
380 to __extern_inline.
381
d45a6368
DJ
3822007-08-06 Maciej W. Rozycki <macro@linux-mips.org>
383
384 * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID):
385 New macros for the (n)64 and n32 ABIs.
386 (_dl_cache_check_flags): Define if _DL_CACHE_DEFAULT_ID has been.
387
391da201
DJ
3882007-07-13 Carlos O'Donell <carlos@codesourcery.com>
389
390 * sysdeps/mips/bits/wordsize.h [_MIPS_SIM == _ABI64]:
391 Define __WORDSIZE_COMPAT32 as 1.
392
2b4095f3
DJ
3932007-07-13 Joseph Myers <joseph@codesourcery.com>
394
395 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Copy from
396 libc/nptl/sysdeps/unix/sysv/linux/bits/local_lim.h. Increase
397 PTHREAD_STACK_MIN.
398
8323b1ab
DJ
3992007-07-10 Daniel Jacobowitz <dan@codesourcery.com>
400
401 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Comment fix.
402
403 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h (SEM_VALUE_MAX):
404 Delete.
405
ffd39823
DJ
4062007-06-07 Daniel Jacobowitz <dan@codesourcery.com>
407
408 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (ARGIFY): New.
409 (internal_syscall1, internal_syscall2, internal_syscall3,
410 internal_syscall4, internal_syscall5, internal_syscall6): Use it.
411
30efab51
DJ
4122007-06-06 Daniel Jacobowitz <dan@codesourcery.com>
413
414 * sysdeps/mips/nptl/tls.h (THREAD_GSCOPE_FLAG_UNUSED,
415 THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define.
416 (THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG,
417 THREAD_GSCOPE_WAIT): Define.
418 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h
419 (FUTEX_PRIVATE_FLAG): Define.
420 (lll_unlock_wake_cb): Delete prototype.
421 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Include
422 <endian.h>.
423 (pthread_rwlock_t): Shrink __flags and add __shared.
424
92fa63ee
DJ
4252007-05-24 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
426
427 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
428 (posix_fadvise): Fix high word of len argument.
429
7a30cb83
DJ
4302007-05-23 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
431
432 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
433 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: New file.
434 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: New file.
435 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: New file.
436 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: New file.
437 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: New file.
438
384fa30d
DJ
4392007-05-23 Joseph Myers <joseph@codesourcery.com>
440
441 * sysdeps/mips/mips64/n32/Implies: Add mips/mips64/soft-fp.
442 * sysdeps/mips/mips64/n64/Implies: Likewise.
443 * sysdeps/mips/mips64/soft-fp/Makefile: New.
444 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: New.
445 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Include <fenv.h> and
446 <fpu_control.h>. Use hardware exception and rounding mode
447 settings.
448
388fc51b 4492007-05-23 Richard Sandiford <rsandifo@nildram.co.uk>
9077d4dc
DJ
450
451 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Change type of
452 r_info argument to ElfW(Addr).
453
f50c692c
DJ
4542007-02-01 Joseph Myers <joseph@codesourcery.com>
455
456 * sysdeps/mips/bits/mathdef.h (float_t): Change to float.
457
eb96755b
DJ
4582007-01-25 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
459 Daniel Jacobowitz <dan@codesourcery.com>
460
461 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove msgctl,
462 shmctl, and semctl.
463 * sysdeps/unix/sysv/linux/mips/misp64/semctl.c,
464 sysdeps/unix/sysv/linux/mips/mips64/shmctl.c,
465 sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: New files.
466
908afa83
DJ
4672007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
468
469 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (PTR_MANGLE,
470 PTR_DEMANGLE): Define.
471 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (PTR_MANGLE,
472 PTR_DEMANGLE): Define.
473 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (PTR_MANGLE,
474 PTR_DEMANGLE): Define.
475
e3097800
DJ
4762007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
477
478 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
479 (cfi_same_value): Delete definition.
480
cb5bcf74
DJ
4812007-01-08 Richard Sandiford <richard@codesourcery.com>
482
483 * sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_RELA): Delete.
484 (elf_machine_reloc): New function, retaining the body of
485 elf_machine_rel. Take the reloc's r_info field as an argument,
486 not the reloc itself. Add extra r_addend and inplace_p arguments.
487 When inplace_p is false, use r_addend as the addend, not the contents
488 of the relocation field. Hoist the conversion of reloc_addr to
489 "ELFW(Addr) *". Don't try to apply TLS relocations against
490 undefined symbols. Add R_MIPS_GLOB_DAT support.
491 (elf_machine_rel, elf_machine_rela): Use elf_machine_reloc.
492 (elf_machine_lazy_rel): Change the reloc type from ElfW(Rel)
493 to ElfW(Rela).
494
2caa93e2
DJ
4952007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
496
497 * sysdeps/mips/ldsodefs.h: Merge sysdeps/mips/elf/ldsodefs.h. Correct
498 multiple inclusion guard.
499 * sysdeps/mips/elf/ldsodefs.h: Delete file.
500
84f3ca6e
DJ
5012007-01-04 Thiemo Seufer <ths@networkno.de>
502
503 * sysdeps/unix/sysv/linux/mips/bits/msq.h (struct msqid_ds): Update
504 to match the kernel.
505
3ed8d993
DJ
5062006-10-31 Daniel Jacobowitz <dan@codesourcery.com>
507
508 * sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h
509 (RTLD_SINGLE_THREAD_P): Define.
510 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Likewise.
511
a7d03b91
DJ
5122006-10-31 Joseph Myers <joseph@codesourcery.com>
513
514 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (splice): Update
515 prototype.
516
6ea63025
DJ
5172006-09-22 Richard Sandiford <richard@codesourcery.com>
518
519 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT
520 code.
521 (__xstat_conv): Use memset to clear padding arrays. Check for
522 overflow.
523 (__xstat64_conv): Use memset to clear padding arrays.
524 (__xstat32_conv): New function.
525 * sysdeps/unix/sysv/linux/mips/mips32/fxstatat.c: New file.
526 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Likewise.
527
6b4d184d
DJ
5282006-09-21 Joseph Myers <joseph@codesourcery.com>
529
530 * sysdeps/mips/fpu_control.h: If soft-float, don't use
531 floating-point registers.
532 * sysdeps/mips/__longjmp.c, sysdeps/mips/setjmp_aux.c,
533 sysdeps/mips/mips64/__longjmp.c, sysdeps/mips/mips64/setjmp_aux.c:
534 Likewise.
535
0ad4d3b0
DJ
5362006-08-04 Joseph Myers <joseph@codesourcery.com>
537
538 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_LOCK_PI,
539 FUTEX_UNLOCK_PI, FUTEX_TRYLOCK_PI): Define.
540
74321891
DJ
5412006-07-24 Joseph Myers <joseph@codesourcery.com>
542
543 * sysdeps/mips/mips64/n32/libm-test-ulps,
544 sysdeps/mips/mips64/n64/libm-test-ulps: New.
545
bb600a60
DJ
5462006-07-24 Joseph Myers <joseph@codesourcery.com>
547
548 * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is
549 defined, include the named file.
550
02678e17
DJ
5512006-06-08 Daniel Jacobowitz <dan@codesourcery.com>
552
553 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Reformat.
554 (SPLICE_F_MOVE, SPLICE_F_NONBLOCK, SPLICE_F_MORE, SPLICE_F_GIFT):
555 Define.
556
bd345106
DJ
5572006-06-02 Joseph Myers <joseph@codesourcery.com>
558
559 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIM_INFINITY,
560 RLIM64_INFINITY): Define appropriately for N64. Use unsigned
561 types.
562
d7f9cd89
DJ
5632006-06-02 Joseph Myers <joseph@codesourcery.com>
564
565 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
566 Don't use struct timespec.
567 * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv,
568 __xstat64_conv): Copy individual timespec fields.
569
c6e2897b
DJ
5702006-06-02 Richard Sandiford <richard@codesourcery.com>
571
572 * sysdeps/mips/Makefile (ASFLAGS-.os): Define.
573
37896d39
DJ
5742006-06-02 Joseph Myers <joseph@codesourcery.com>
575
576 * sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
577 * sysdeps/mips/fpu/fesetround.c: Likewise.
578
42e36d16
DJ
5792006-05-10 Richard Sandiford <richard@codesourcery.com>
580 Daniel Jacobowitz <dan@codesourcery.com>
581
582 * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't
583 dump sc_cause, sc_status or sc_badvaddr.
584 * sysdeps/unix/sysv/linux/mips/bits/sigcontext.h: Rewrite. Update
585 structure definitions after DSP kernel changes.
586 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t): Update
587 after the same DSP changes.
588
dab75788
DJ
5892006-05-08 Richard Sandiford <richard@codesourcery.com>
590
591 * sysdeps/unix/sysv/linux/mips/bits/stat.h (struct stat): Add
592 st_atim, st_mtim and st_ctim interface.
593 (struct stat64): Likewise.
594 * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat):
595 Replace st_atime and its padding field with st_atim. Likewise
596 st_mtime/st_mtim and st_ctime/st_ctim.
597 * sysdeps/unix/sysv/linux/mips/xstatconv.c (__xstat_conv): Update
598 after above changes.
599 (__xstat64_conv): Likewise.
600
19723bdd
DJ
6012006-05-08 Richard Sandiford <richard@codesourcery.com>
602
603 * sysdeps/mips/ldsodefs.h: New file.
604 * sysdeps/mips/tst-audit.h: New file.
605
075f1edd
DJ
6062006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
607
608 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Formatting changes
609 for consistency with other ports.
610 (MADV_REMOVE): Correct value.
611 (MADV_DONTFORK, MADV_DOFORK, POSIX_MADV_NORMAL,
612 POSIX_MADV_RANDOM, POSIX_MADV_SEQUENTIAL, POSIX_MADV_WILLNEED,
613 POSIX_MADV_DONTNEED): Define.
614
142b51e4
DJ
6152006-05-05 Lior Balkohen <balkohen@gmail.com>
616
617 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove
618 LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT.
619 Define SYNC_FILE_RANGE_WAIT_BEFORE, SYNC_FILE_RANGE_WRITE
620 and SYNC_FILE_RANGE_WAIT_AFTER.
621 Declare sync_file_range, vmsplice, splice and tee.
622
f3fb78ec
DJ
6232006-03-27 Lior Balkohen <balkohen@gmail.com>
624
625 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define
626 LINUX_FADV_ASYNC_WRITE and LINUX_FADV_WRITE_WAIT. Add readahead
627 prototype.
628
bfc23f5a
DJ
6292006-03-27 Daniel Jacobowitz <dan@codesourcery.com>
630
631 * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
632 Define.
633
b415b963
DJ
6342006-03-27 Denis Barbier <barbier@linuxfr.org>
635
636 * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_RTPRIO): Fix
637 typo.
638
712619d7
DJ
6392006-03-11 Daniel Jacobowitz <dan@codesourcery.com>
640
641 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: Correct path to
642 i386/fork.c.
643
aea60744
DJ
6442006-03-11 Daniel Jacobowitz <dan@codesourcery.com>
645
646 * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir,
647 libc_cv_localedir, libdir, arch_minimum_kernel, and
648 libc_cv_gcc_unwind_find_fde.
649 * sysdeps/unix/sysv/linux/mips/mips64/configure.in: New file.
650 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
651 * sysdeps/unix/sysv/linux/mips/mips64/configure: Generated.
652
13d7881a
DJ
6532006-03-02 Lior Balkohen <balkohen@gmail.com>
654
655 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
656 (__pthread_list_t, __pthread_slist_t): New typedefs.
657 (pthread_mutex_t): Replace __next and __prev fields with __list.
658 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (FUTEX_WAKE_OP,
659 FUTEX_OP_CLEAR_WAKE_IF_GT_ONE): Define.
660 (lll_futex_wake_unlock): Define.
661 (lll_robust_mutex_dead, lll_robust_mutex_trylock, lll_robust_mutex_lock,
662 lll_robust_mutex_cond_lock, lll_robust_mutex_timedlock,
663 lll_robust_mutex_unlock): New macros.
664 (__lll_robust_lock_wait, __lll_robust_timedlock_wait): New prototypes.
665 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: Use correct path to
666 vfork.S.
667 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: Likewise.
668
73204807
DJ
6692006-03-02 Daniel Jacobowitz <dan@codesourcery.com>
670
671 * sysdeps/unix/sysv/linux/mips/ptrace.c: Delete file.
672 * sysdeps/unix/sysv/linux/mips/sys/ptrace.h: Delete file.
673
6428ce3c
DJ
6742006-03-02 Daniel Jacobowitz <dan@codesourcery.com>
675
676 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
677 (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
678 (INTERNAL_SYSCALL_NCS): New.
679 (internal_syscall0, internal_syscall1, internal_syscall2,
680 internal_syscall3, internal_syscall4, internal_syscall5,
681 internal_syscall6): Take ncs_init, cs_init, and input arguments.
682 Use them. Correct types for registers.
683 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
684 (INTERNAL_SYSCALL): Update internal_syscall##nr invocation.
685 (INTERNAL_SYSCALL_NCS): New.
686 (internal_syscall0, internal_syscall1, internal_syscall2,
687 internal_syscall3, internal_syscall4, internal_syscall5,
688 internal_syscall6): Take ncs_init, cs_init, and input arguments.
689 Use them.
690 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove
691 recvfrom and sendto. Mark lseek, msgrcv, and msgsnd as cancellation
692 points.
693 * sysdeps/mips/dl-machine.h (elf_machine_rel): Remove unused "value".
694 Use Elf(Addr) for TLS relocation targets.
695 * sysdeps/unix/sysv/linux/mips/mips64/Makefile: New file.
696 * sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h (lll_futex_wait,
697 lll_futex_timed_wait, lll_futex_wake, lll_futex_requeue): Cast
698 futexp to long for n64.
699 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: New file.
700
2575768d
RM
7012006-02-20 Roland McGrath <roland@redhat.com>
702
703 * sysdeps/mips/shlib-versions: New file.
704 * sysdeps/mips/preconfigure: New file.
705 * sysdeps/unix/sysv/linux/mips/kernel-features.h: New file.