Andreas Jaeger
664a9ce4ca
Use <bits/mman-linux.h> for MIPS
...
* sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS):
Allow definition via __MAP_ANONYMOUS.
* sysdeps/unix/sysv/linux/mips/bits/mman.h: Remove all defines
provided by bits/mman-linux.h and include <bits/mman-linux.h>.
(__MAP_ANONYMOUS): Define.
2013-03-06 17:36:37 +01:00
Andreas Jaeger
67525cb832
Sync with Linux 3.8
2013-03-06 16:35:19 +01:00
Maciej W. Rozycki
43301bd3c2
Add support for building as MIPS16 code.
2013-02-27 23:45:07 +00:00
Thomas Schwinge
f6432d898e
Properly sort a libc.abilist file.
...
Inconsistency introduced in commit 84b3fd8407
.
2013-02-20 16:49:59 +01:00
Joseph Myers
92363eb87c
Add FUTEX_*_REQUEUE_PI support for MIPS.
2013-02-19 00:49:25 +00:00
Siddhesh Poyarekar
ba384f6ed9
C++11 thread_local destructors support
...
This feature is specifically for the C++ compiler to offload calling
thread_local object destructors on thread program exit, to glibc.
This is to overcome the possible complication of destructors of
thread_local objects getting called after the DSO in which they're
defined is unloaded by the dynamic linker. The DSO is marked as
'unloadable' if it has a constructed thread_local object and marked as
'unloadable' again when all the constructed thread_local objects
defined in it are destroyed.
2013-02-18 19:08:21 +05:30
Joseph Myers
70d9946a44
Remove __ptrvalue, __bounded and __unbounded.
2013-02-13 23:30:40 +00:00
Joseph Myers
aea7a9b9d2
Add CFI information for MIPS assembly sources.
2013-02-11 18:19:14 +00:00
Joseph Myers
a2da1673fe
Remove CHECK_N and bp-checks.h.
2013-02-08 20:06:30 +00:00
Joseph Myers
f3aae3f3eb
Remove CHECK_1 and CHECK_1_NULL_OK.
2013-02-08 01:12:11 +00:00
Maciej W. Rozycki
f9834ea477
MIPS: Correct formatting of syscall wrapper `asm' specifiers.
2013-02-05 15:31:08 +00:00
Maciej W. Rozycki
b82ba2f011
MIPS: Respect the legacy syscall restart convention.
...
That convention requires the instruction immediately preceding SYSCALL
to initialize $v0 with the syscall number. Then if a restart triggers,
$v0 will have been clobbered by the syscall interrupted, and needs to be
reinititalized. The kernel will decrement the PC by 4 before switching
back to the user mode so that $v0 has been reloaded before SYSCALL is
executed again. This implies the place $v0 is loaded from must be
preserved across a syscall, e.g. an immediate, static register, stack
slot, etc.
The restriction was lifted with Linux 2.6.36 kernel release and no
special requirements are placed around the SYSCALL instruction anymore,
however we still support older kernel binaries.
2013-02-05 14:55:20 +00:00
Joseph Myers
6277fdabc0
Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.
2013-02-04 16:29:39 +00:00
Joseph Myers
2e8a5c8c46
Remove bp-semctl.h and CHECK_SEMCTL.
2013-01-31 22:59:04 +00:00
Maciej W. Rozycki
29bfb065e3
MIPS: Correct NewABI syscall wrapper whitespace damage.
2013-01-29 13:30:16 +00:00
Joseph Myers
828beb132d
Use __extension__ with long long in installed headers.
2013-01-10 20:19:45 +00:00
Andreas Jaeger
c40ea3d9a3
BZ#14985: Remove erroneous EPOLL_NONBLOCK
...
[BZ# 14985]
* sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
Remove.
* sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK):
Likewise.
* sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK):
Likewise.
ChangeLog.mips:
[BZ# 14985]
* sysdeps/unix/sysv/linux/mips/bits/epoll.h (EPOLL_NONBLOCK):
* Remove.
ChangeLog.hppa:
[BZ# 14985]
* sysdeps/unix/sysv/linux/hppa/sys/epoll.h (EPOLL_NONBLOCK):
Remove.
ChangeLog.alpha:
[BZ# 14985]
* sysdeps/unix/sysv/linux/alpha/bits/epoll.h (EPOLL_NONBLOCK):
Remove.
2013-01-08 19:32:00 +01:00
Joseph Myers
568035b787
Update copyright notices with scripts/update-copyrights.
2013-01-02 19:05:09 +00:00
Joseph Myers
f4cf5f2d8b
Add script to update copyright notices and reformat some to facilitate its use.
2013-01-01 16:29:10 +00:00
Joseph Myers
1672585fc1
Add 64-bit support to MIPS register-dump.h (bug 14893).
2012-11-29 23:03:48 +00:00
Joseph Myers
fc6394c6fc
Implement MIPS n64 sendfile64 as alias of sendfile syscall (bug 14822).
2012-11-22 02:37:02 +00:00
Joseph Myers
f59cba71d8
Use parentheses around MIPS syscall macro arguments.
2012-11-20 02:45:45 +00:00
Joseph Myers
aa099ade81
Fix int-to-pointer-cast warnings for MIPS.
2012-11-20 02:40:12 +00:00
Joseph Myers
6eb43a28af
Fix unused variable warnings from MIPS syscall macros.
2012-11-19 23:08:27 +00:00
Joseph Myers
d7fcee3a58
Define lll_futex_timed_wait_bitset for MIPS.
2012-11-05 22:30:54 +00:00
Thomas Schwinge
b830319d49
[BZ #157 ] Remove include/stub-tag.h for good.
2012-11-04 19:59:40 +01:00
Thomas Schwinge
46879baebf
Regenerate all configure scripts.
2012-11-01 18:04:56 +01:00
Thomas Schwinge
4c68e86547
BZ#14743: Move clock_* symbols from librt to libc.
...
Change missing from commit 6e6249d0b4
.
2012-11-01 01:59:19 +01:00
Steve Ellcey
48b76e2d04
2012-10-29 Steve Ellcey <sellcey@mips.com>
...
* sysdeps/unix/sysv/linux/mips/mips32/Makefile: Remove.
* sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Remove.
* sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Remove.
* sysdeps/unix/sysv/linux/mips/configure.in: Create default_abi.make.
* sysdeps/unix/sysv/linux/mips/configure: Regenerate.
* sysdeps/unix/sysv/linux/mips/Makefile: Include default_abi.make.
(abi-variants): Add hard and soft float versions.
(abi-o32-options): Remove.
(abi-o32-condition): Remove.
(abi-n32-options): Remove.
(abi-n32-condition): Remove.
(abi-n64-options): Remove.
(abi-n64-condition): Remove.
(abi-o32_soft-options): New.
(abi-o32_soft-condition): New.
(abi-o32_hard-options): New.
(abi-o32_hard-condition): New.
(abi-n32_soft-options): New.
(abi-n32_soft-condition): New.
(abi-n32_hard-options): New.
(abi-n32_hard-condition): New.
(abi-n64_soft-options): New.
(abi-n64_soft-condition): New.
(abi-n64_hard-options): New.
(abi-n64_hard-condition): New.
2012-10-29 11:42:39 -07:00
Steve Ellcey
55e64efadf
2012-10-29 Steve Ellcey <sellcey@mips.com>
...
* sysdeps/unix/sysv/linux/mips/mips32/Makefile: Remove.
* sysdeps/unix/sysv/linux/mips/mips64/n32/Makefile: Remove.
* sysdeps/unix/sysv/linux/mips/mips64/n64/Makefile: Remove.
* sysdeps/unix/sysv/linux/mips/configure.in: Create default_abi.make.
* sysdeps/unix/sysv/linux/mips/configure: Regenerate.
* sysdeps/unix/sysv/linux/mips/Makefile: Include default_abi.make.
(abi-variants): Add hard and soft float versions.
(abi-o32-options): Remove.
(abi-o32-condition): Remove.
(abi-n32-options): Remove.
(abi-n32-condition): Remove.
(abi-n64-options): Remove.
(abi-n64-condition): Remove.
(abi-o32_soft-options): New.
(abi-o32_soft-condition): New.
(abi-o32_hard-options): New.
(abi-o32_hard-condition): New.
(abi-n32_soft-options): New.
(abi-n32_soft-condition): New.
(abi-n32_hard-options): New.
(abi-n32_hard-condition): New.
(abi-n64_soft-options): New.
(abi-n64_soft-condition): New.
(abi-n64_hard-options): New.
(abi-n64_hard-condition): New.
2012-10-29 11:40:31 -07:00
Roland McGrath
6e6249d0b4
BZ#14743: Move clock_* symbols from librt to libc.
2012-10-24 14:50:46 -07:00
Andreas Jaeger
de2b6422c6
Convert MIPS to use <bits/fcntl-linux.h>
...
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Remove all
definitions and declarations that are provided by
<bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2012-10-24 22:13:15 +02:00
Siddhesh Poyarekar
adcdc775e1
Fix clone flag name in comment to CLONE_CHILD_CLEARTID.
2012-10-02 08:52:55 +05:30
Joseph Myers
ad845c0be9
Remove __ASSUME_STAT64_SYSCALL.
2012-08-27 19:36:04 +00:00
Joseph Myers
eaeffd07f7
Clean up MIPS stat64 handling.
2012-08-22 21:03:12 +00:00
Maxim Kuvyrkov
309becf120
Optimize __libc_lock_lock and __libc_lock_trylock for MIPS.
2012-08-15 16:44:30 -07:00
Joseph Myers
7f54025287
Define __ASSUME_UTIMES for MIPS.
2012-08-09 23:33:41 +00:00
Joseph Myers
6dad2c0688
Remove pre-2.6.16 Linux kernel support.
2012-08-07 16:40:32 +00:00
Joseph Myers
23bddc0668
Remove __ASSUME_FCNTL64.
2012-08-01 21:27:58 +00:00
Joseph Myers
7e6242f556
Improve MIPS n64 handling of 64-bit fcntl.
2012-07-31 23:17:24 +00:00
Joseph Myers
89d9c04def
Make mmap64 an alias of mmap on MIPS.
2012-07-27 13:43:46 +00:00
Florian Weimer
84b3fd8407
Rename __secure_getenv to secure_getenv
2012-07-25 19:46:22 +02:00
Joseph Myers
7d67a5d1dc
Add c++-types information for MIPS.
2012-07-17 16:25:02 +00:00
Joseph Myers
e64ac02c24
Move all files into ports/ subdirectory in preparation for merge with glibc
2012-07-01 13:06:41 +00:00