Joseph Myers
3538f2fb14
Add MIPS NPTL shlib-versions file replacing entry in libc copy.
2012-01-07 18:31:08 +00:00
Joseph Myers
e3950b2956
Update mips files for removal of ia64 from libc.
2012-01-07 16:52:54 +00:00
Tom de Vries
32a6153180
Use -fno-unwind-tables for *initfini* on MIPS.
2012-01-04 12:03:20 +00:00
Tom de Vries
04d4502636
Use IA64 backtrace on MIPS.
2012-01-03 16:20:45 +00:00
Joseph Myers
25bb26d0e8
Fix bits/syscall.h generation for MIPS using generic code.
2011-12-22 18:30:43 +00:00
Joseph Myers
c2aeee16c8
Define EPOLLONESHOT and EPOLLET using unsigned values for MIPS.
2011-12-22 13:05:21 +00:00
Joseph Myers
d92b0dd4ed
Use sysdeps path to locate sys/syscall.h in MIPS bits/syscall.h rule.
2011-12-19 22:08:23 +00:00
Joseph Myers
61b01ec689
Fix ftw64 for MIPS n64.
2011-11-17 02:31:55 +00:00
Joseph Myers
a9ff8724b3
Update MIPS dl-lookup.c.
2011-11-11 22:07:55 +00:00
Joseph Myers
c3beb30239
Add __sqrt*_finite aliases for MIPS.
2011-10-12 16:12:13 +00:00
Andreas Schwab
9a7e10917d
mips: don't call ifunc functions in trace mode
2011-10-05 11:53:16 +02:00
Joseph Myers
560d4a5882
Cast __cmsg_nxthdr return value for MIPS.
2011-09-13 16:04:03 +00:00
Joseph Myers
329c2e6358
Remove HAVE_TLS_SUPPORT conditionals for MIPS.
2011-09-13 15:55:38 +00:00
Joseph Myers
b8ead09ab7
Remove USE_TLS conditionals for MIPS.
2011-09-11 11:22:32 +00:00
Joseph Myers
c26e391dd3
Fix statfs64/fstatfs64 for MIPS n64.
2011-09-06 14:04:08 +00:00
Matt Turner
e349dfdb68
Workaround R10K ll/sc errata.
2011-08-02 15:18:06 +00:00
Joseph Myers
9dc88b5c93
Define PF_NFC and AF_NFC for MIPS.
2011-07-25 15:19:56 +00:00
Joseph Myers
6cc02c7aae
sendmmsg for MIPS.
2011-06-20 19:35:31 +00:00
Joseph Myers
6b5adfe9dc
Don't mention raise in SI_USER comment for MIPS.
2011-06-20 19:26:42 +00:00
Aurelien Jarno
8969f4df1a
Define RLIMIT_RTTIME for MIPS.
2011-05-23 20:34:36 +00:00
Joseph Myers
f1d4d4beaf
Update MIPS dl-lookup.c.
2011-05-13 10:11:25 +00:00
Joseph Myers
a32d0d808b
Update MIPS dl-lookup.c from generic version.
2011-05-10 15:52:47 +00:00
Joseph Myers
ed36e1de02
Define TLS_DTV_UNALLOCATED for MIPS.
2011-04-11 13:30:52 +00:00
Joseph Myers
e6893dbaa5
Rename open_by_handle to open_by_handle_at for MIPS.
2011-04-01 19:20:14 +00:00
Joseph Myers
cea4484792
Define O_PATH for MIPS.
2011-04-01 16:30:22 +00:00
Joseph Myers
01b5049d10
Add name_to_handle_at, open_by_handle etc. to MIPS bits/fcntl.h.
2011-04-01 16:19:06 +00:00
Joseph Myers
0f53d140ec
Make MIPS fallocate, fallocate64 and sync_file_range cancellation points.
2011-04-01 16:11:19 +00:00
Joseph Myers
6d9a4e5564
Properly define MIPS n64 sync_file_range.
2011-04-01 16:04:38 +00:00
Joseph Myers
8825867bdd
Update MIPS dl-lookup.c from generic version.
2011-03-22 20:42:13 +00:00
Joseph Myers
91a59c6a5d
Define MADV_HUGEPAGE and MADV_NOHUGEPAGE for MIPS.
2011-01-25 20:58:24 +00:00
Joseph Myers
eb76b06f88
Define new socket constants for MIPS.
2011-01-25 20:49:51 +00:00
Joseph Myers
4f46492730
Handle NO_CTORS_DTORS_SECTIONS for MIPS.
2010-12-30 21:36:54 +00:00
Joseph Myers
390651fd1d
Define DEFAULT_STACK_PERMS for MIPS.
2010-12-21 00:40:13 +00:00
Matt Turner
834956483f
Delete getpagesize.c for MIPS.
...
(ChangeLog entry missing from previous commit.)
2010-12-09 13:34:30 +00:00
Joseph Myers
604e89e473
Increase minimum MIPS kernel to 2.4.1.
2010-12-06 16:25:46 +00:00
Joseph Myers
94a2483c91
Add MIPS fanotify_mark.
2010-10-21 22:37:53 +00:00
Joseph Myers
9431b1591b
Add hidden feupdateenv and fetestexcept definitions for MIPS.
2010-10-11 14:58:01 +00:00
Joseph Myers
5ccc178fd7
Undefine __ASSUME_GETDENTS64_SYSCALL for n32 before 2.6.35.
2010-08-13 23:37:54 +00:00
Chandrakala Chavva
5237c94b63
Fix MIPS PSEUDO define for n32 and n64 non-PIC.
2010-08-13 23:25:10 +00:00
Joseph Myers
32b9acf3d9
Define EXTPROC for MIPS.
2010-08-13 16:50:07 +00:00
Joseph Myers
0955180613
Add f_flags to struct statfs for MIPS.
2010-08-12 22:18:00 +00:00
Joseph Myers
9672c67a8c
Add IN_EXCL_UNLINK for MIPS.
2010-08-12 22:01:30 +00:00
Joseph Myers
c16fd24675
Add prlimit64 for MIPS.
2010-08-12 15:40:29 +00:00
Joseph Myers
fdb3ec206e
Define F_SETPIPE_SZ and F_GETPIPE_SZ for MIPS.
2010-06-14 22:09:52 +00:00
Joseph Myers
6531684d50
Fix recvmmsg for MIPS.
2010-05-21 23:16:17 +00:00
Joseph Myers
b1ab8c5fd9
Update MIPS libc-abis configuration for libc changes.
2010-04-14 19:28:10 +00:00
Joseph Myers
1dbb4edc73
Fix abiversion handling for MIPS.
2010-04-06 20:26:22 +00:00
Joseph Myers
e9823ee1b8
Define MSG_WAITFORONE for MIPS.
2010-03-30 13:16:44 +00:00
Joseph Myers
cca1fbbc2f
Update MIPS dl-lookup.c from generic version.
2010-03-24 18:05:37 +00:00
Mischa Jonker
1eb0725631
Fix bug 11291: add *mem as atomic operation output for MIPS.
2010-03-23 15:03:10 +00:00
Joseph Myers
8256e69afd
Add hidden alias for MIPS fegetenv.
2010-02-10 15:15:32 +00:00
Joseph Myers
54b7103af4
Fix microMIPS glibc by avoiding hardcoded instruction length assumptions.
...
microMIPS is a variable-length encoding of the MIPS32 instruction set
(plus some extra instructions). As it supports almost all of MIPS32,
assembly sources in glibc do not generally need changes to work with
microMIPS, but dl-trampoline.c contains some code with a hardcoded
assumption that three instructions occupy twelve bytes. This patch
fixes this code for microMIPS by using the difference between two
labels to let the assembler calculate the relevant length.
2010-01-29 01:54:52 +00:00
Joseph Myers
cbbf2c84d8
Fix MIPS bits/stat.h double inclusion problem.
2010-01-11 21:00:28 +00:00
Joseph Myers
31afac4713
Update MIPS bits/sigaction.h for XPG7.
2010-01-11 13:28:37 +00:00
Joseph Myers
60a0880e36
Update MIPS bits/fcntl.h for XPG7 and allow bits/stat.h inclusion from fcntl.h.
2010-01-10 16:56:19 +00:00
Joseph Myers
8ef2c3b0f7
Update MIPS bits/poll.h for POSIX 2008.
2009-12-16 17:48:31 +00:00
Joseph Myers
872083bf15
Update MIPS dl-lookup.c.
2009-12-16 17:44:03 +00:00
Joseph Myers
93a0dfdaf4
Update MIPS O_SYNC.
2009-12-15 18:11:38 +00:00
Joseph Myers
5d5cb5a2e5
Update MIPS bits/socket.h for mmsghdr and recvmmsg.
2009-12-09 16:51:18 +00:00
Joseph Myers
2d68f6afef
Fix MIPS64 posix_fadvise and posix_fadvise64.
...
Similar to the problems I fixed for posix_fallocate
<http://sourceware.org/ml/libc-ports/2008-12/msg00007.html > and
fallocate <http://sourceware.org/ml/libc-ports/2009-05/msg00031.html >,
MIPS64 posix_advise also needs fixes to use the correct syscall
interfaces. Although the existing n32 posix_fadvise64 is OK, getting
posix_fadvise from syscalls.list does not work correctly, as this
function is supposed to return an error code instead of storing it in
errno as the generic syscall implementations from syscalls.list do.
2009-12-01 01:27:19 +00:00
Joseph Myers
84f926688b
Update MIPS dl-lookup.c from generic version.
2009-12-01 00:07:32 +00:00
Joseph Myers
b00ec94881
Use struct timespec for timestamps in struct stat for MIPS also if __USE_XOPEN2K8.
2009-11-23 19:06:52 +00:00
Joseph Myers
78698bbbf1
Define F_OWNER_PGRP for MIPS.
2009-11-19 16:46:57 +00:00
Joseph Myers
983ee7f269
Change misleading names of parameters of sync_file_range for MIPS.
2009-11-18 17:11:34 +00:00
Joseph Myers
24bcda036c
Add new MADV_* values for MIPS.
2009-11-17 20:46:35 +00:00
Joseph Myers
87d2bea064
Define ERFKILL for MIPS.
2009-11-17 20:22:36 +00:00
Joseph Myers
37a907cc86
Fix F_SETOWN_EX and F_GETOWN_EX definitions for MIPS.
2009-11-14 22:40:19 +00:00
Joseph Myers
86ad0d12e1
Fix MIPS fallocate for -D_FILE_OFFSET_BITS=64.
...
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (fallocate): Fix types
of last two arguments when -D_FILE_OFFSET_BITS=64.
2009-11-06 23:45:30 +00:00
Joseph Myers
a896552ef1
Define F_OWNER_* and f_owner_ex for MIPS.
...
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_OWNER_* and
f_owner_ex.
2009-10-29 16:51:55 +00:00
Joseph Myers
afd09ae82a
Define F_SETOWN_EX and F_GETOWN_EX for MIPS.
...
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Define F_SETOWN_EX
and F_GETOWN_EX.
2009-10-03 17:39:53 +00:00
Daniel Jacobowitz
f1297d79b2
Prevent GCC reusing "hi" and "lo" across system calls.
...
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
(__SYSCALL_CLOBBERS): Add "hi" and "lo".
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
(__SYSCALL_CLOBBERS): Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
(__SYSCALL_CLOBBERS): Likewise.
2009-09-25 18:19:03 -04:00
Joseph Myers
c67273d5b2
Signal stack support for MIPS ____longjmp_chk.
...
* sysdeps/mips/____longjmp_chk.c: Remove. Replaced by....
* sysdeps/unix/sysv/linux/mips/____longjmp_chk.c: This. New file.
* sysdeps/mips/__longjmp.c (__longjmp): Use explicit register
variable for env. Use expansion of CHECK_SP macro for check.
* sysdeps/mips/mips64/__longjmp.c (__Longjmp): Likewise.
2009-08-05 21:02:50 +00:00
Joseph Myers
9d84a81fe9
Make accept4 for MIPS o32 avoid socketcall.
...
sysdeps/unix/sysv/linux/internal_accept4.S expects socket.S to be
present if __NR_socketcall is defined (which it is on MIPS o32, even
though there are separate syscalls as well) and __NR_accept4 isn't.
MIPS does not have socket.S, since it uses separate syscalls, but
though the accept4 syscall should be added soon present kernel headers
do not have it. This patch creates a dummy internal_accept4.S for
MIPS o32, and an accept4.c wrapper that undefines __NR_socketcall so
that the main accept4.c falls back to the ENOSYS implementation if
__NR_accept4 isn't defined; it doesn't seem worthwhile to have a
special socketcall-based assembly implementation just for o32 on a few
kernels in the range between accept4 being available via socketcall
and the accept4 syscall being available.
2009-08-03 16:48:38 +00:00
Aurelien Jarno
197aec2596
Define __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4 for MIPS.
...
* sysdeps/unix/sysv/linux/mips/kernel-features.h: Define
__ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
2009-07-29 15:27:35 +00:00
Joseph Myers
cda50f828e
Update MIPS dl-lookup.c for changes to generic version.
...
* sysdeps/mips/do-lookup.h: Remove.
* sysdeps/mips/dl-lookup.c: Update from generic version, with
non-PIC handling integrated.
2009-07-17 20:39:04 +00:00
Joseph Myers
8200e168ef
Define PF_IEEE802154 and AF_IEEE802154 for MIPS.
...
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Define PF_IEEE802154
and AF_IEEE802154.
2009-06-18 22:04:19 +00:00
Joseph Myers
6a9f82ac93
____longjmp_chk for MIPS.
...
* sysdeps/mips/____longjmp_chk.c: New file.
* sysdeps/mips/__longjmp.c: If CHECK_SP is defined, use it. Don't
undefine __longjmp.
* sysdeps/mips64/__longjmp.c: Likewise.
2009-05-16 22:24:56 +00:00
Joseph Myers
d9056ac655
fallocate fixes for MIPS n32 and n64.
...
* sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c,
sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c,
sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c,
sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: New.
2009-05-16 17:42:10 +00:00
Joseph Myers
c504ff3be9
Add fallocate64 export for MIPS.
...
* sysdeps/unix/sysv/linux/mips/Versions (libc): Add
fallocate64@@GLIBC_2.11.
2009-05-16 14:30:47 +00:00
Joseph Myers
19afa98284
Fix MIPS n64 build failure with preadv64/pwritev64 aliases.
...
* sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c,
sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: New files.
2009-05-14 22:24:35 +00:00
Joseph Myers
ff3475331e
2009-04-18 Maciej W. Rozycki <macro@codesourcery.com>
...
* sysdeps/unix/sysv/linux/mips/getcontext.S: New file.
* sysdeps/unix/sysv/linux/mips/makecontext.S: New file.
* sysdeps/unix/sysv/linux/mips/setcontext.S: New file.
* sysdeps/unix/sysv/linux/mips/swapcontext.S: New file.
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h (mcontext_t):
Update comment.
* sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h: New file.
* sysdeps/unix/sysv/linux/mips/ucontext_i.sym: New file.
* sysdeps/unix/sysv/linux/mips/Makefile (gen-as-const-headers):
Add ucontext_i.sym.
2009-04-18 17:32:04 +00:00
Joseph Myers
57d0274fe9
* sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_PREADV,
...
__ASSUME_PWRITEV): Don't define here.
2009-04-18 14:08:18 +00:00
Joseph Myers
6db53cd548
2009-04-15 Maciej W. Rozycki <macro@codesourcery.com>
...
* sysdeps/mips/sys/fpregdef.h: Update for new ABIs.
2009-04-15 20:22:41 +00:00
Joseph Myers
70fdbfd956
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Add missing protocol
...
numbers.
* sysdeps/unix/sysv/linux/mips/sys/eventfd.h (EFD_SEMAPHORE):
Define.
* sysdeps/unix/sysv/linux/mips/kernel-features.h: Add entries for
preadv and pwritev.
2009-04-09 22:14:47 +00:00
Joseph Myers
d69fd0cbd2
2009-03-18 Maciej W. Rozycki <macro@codesourcery.com>
...
* sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
Use the Elf32_Ehdr type to check for EF_MIPS_ABI2 in the flags.
2009-03-18 14:38:51 +00:00
Joseph Myers
0262d0c47c
2009-03-18 Zhang Le <r0bertz@gentoo.org>
...
[BZ #7074 ]
* sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
Fix the condition used to annotate n32 objects.
2009-03-18 14:31:30 +00:00
Joseph Myers
4c8c18106e
* sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
...
Change parameters and use next_line.
2009-03-17 15:52:15 +00:00
Joseph Myers
340f797628
* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Include errno.h.
...
* sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2009-03-17 15:49:10 +00:00
Joseph Myers
ad32d65a9f
* sysdeps/mips/bits/link.h: Uglify function parameter names.
...
* sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
* sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise.
2009-03-15 16:54:26 +00:00
Joseph Myers
93311332ba
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare
...
fallocate{,64}.
2009-03-03 23:19:19 +00:00
Joseph Myers
2e3804efbf
* sysdeps/unix/sysv/linux/mips/bits/stat.h: Protect UTIME_NOW and
...
UTIME_OMIT only with __USE_ATFILE.
2009-02-26 23:25:24 +00:00
Joseph Myers
1090d6bf10
[BZ #7040 ]
...
* sysdeps/unix/sysv/linux/mips/sys/inotify.h: Second parameter of
inotify_rm_watch should have type int.
2009-02-13 17:38:50 +00:00
Joseph Myers
8085bd60e2
* sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_EXEC): Define.
2009-02-02 15:36:15 +00:00
Daniel Jacobowitz
9290e55376
PR glibc/1048
...
* sysdeps/unix/sysv/linux/mips/dl-static.c: New file to support
variable page size for MIPS.
* sysdeps/unix/sysv/linux/mips/ldsodefs.h: Likewise.
* sysdeps/unix/sysv/linux/mips/Makefile: Build dl-static in elf.
* sysdeps/unix/sysv/linux/mips/Versions: Add _dl_var_init.
2009-01-27 15:32:55 +00:00
Joseph Myers
e27433a869
* sysdeps/unix/sysv/linux/mips/bits/resource.h (enum
...
__rusage_who): Avoid comma after RUSAGE_CHILDREN if not
-D_GNU_SOURCE.
2009-01-12 16:45:43 +00:00
Joseph Myers
bb3b3056df
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
...
FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
2009-01-12 16:38:17 +00:00
Joseph Myers
01aa93bd54
* sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c,
...
sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c,
sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c,
sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: New.
2008-12-19 21:35:57 +00:00
Joseph Myers
64762db413
* sysdeps/unix/sysv/linux/mips/bits/socket.h (SCM_CREDENTIALS):
...
Make available only for __USE_GNU.
2008-12-09 23:53:33 +00:00
Joseph Myers
9a9863b435
* sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h: Define
...
FUTEX_WAIT_BITSET and FUTEX_WAKE_BITSET.
2008-12-03 23:37:48 +00:00
Joseph Myers
10d461b558
* sysdeps/unix/sysv/linux/mips/sys/signalfd.h (signalfd): Fix
...
__THROW vs. __nonnull order for C++.
2008-11-25 16:45:39 +00:00