Commit Graph

378 Commits

Author SHA1 Message Date
Michael Hope
402a76b62d ARM: Implement *context routines.
* sysdeps/unix/sysv/linux/arm/eabi/getcontext.S: New file.
	* sysdeps/unix/sysv/linux/arm/eabi/makecontext.c: New file.
	* sysdeps/unix/sysv/linux/arm/eabi/setcontext.S: New file.
	* sysdeps/unix/sysv/linux/arm/eabi/swapcontext.S: New file.
	* sysdeps/unix/sysv/linux/arm/ucontext_i.sym: New file.
	* sysdeps/unix/sysv/linux/arm/Makefile (gen-as-const-headers): Add
	ucontext_i.sym.
2012-03-05 18:00:14 -05:00
Joseph Myers
e7c0dc24ea ARM: fix pthread_attr_t definitions. 2012-02-27 15:14:04 +00:00
Joseph Myers
7ba6eb7c8a ARM: name pthread_attr_t union. 2012-02-26 19:39:00 +00:00
Khem Raj
3fdf1316ac Only build libc-do-syscall.S in Thumb mode. 2012-02-15 22:09:44 +00:00
Joseph Myers
5155e70cbe Remove ARM old-ABI support (straightforward parts). 2012-01-07 20:32:29 +00:00
Mike Frysinger
a80fb81672 Use END in ARM old-ABI sigrestorer.S. 2012-01-03 16:34:40 +00:00
Mike Frysinger
8117345d22 Use ENTRY/END macros in old-ABI ARM sysdep-cancel.h. 2012-01-03 16:32:28 +00:00
Peter Green
c1e30fd8bf Reduce ARM sys/ucontext.h namespace polution. 2011-12-20 16:02:29 +00:00
Joseph Myers
84715d22e1 Use fopen "rce" in ARM ioperm. 2011-11-16 16:07:33 +00:00
Joseph Myers
6136cdd6dd Remove HAVE_TLS_SUPPORT conditionals for ARM. 2011-09-13 15:52:57 +00:00
Ramana Radhakrishnan
978f13ef73 [ARM] Add libc-do-syscall for libnss_db. 2011-08-18 14:13:12 +00:00
Andrew Haley
3c6ac5cbe1 Mark ARM __clone as .cantunwind. 2011-08-02 15:32:10 +00:00
Joseph Myers
45c99e6495 sendmmsg for ARM. 2011-06-20 19:34:43 +00:00
Manjunath Matti
a875971e8e Fix profiling build of __libc_do_syscall. 2011-04-26 22:15:46 +00:00
Joseph Myers
54feca395a Rename open_by_handle to open_by_handle_at for ARM. 2011-04-01 19:19:52 +00:00
Ryosei Takagi
420d6ddd5b Save and restore r7 and adjust stack on failure for ARM EABI ____longjmp_chk. 2011-04-01 16:44:42 +00:00
Joseph Myers
adb252daea Define O_PATH for ARM. 2011-04-01 16:29:57 +00:00
Joseph Myers
82be5f39a0 Add name_to_handle_at, open_by_handle etc. to ARM bits/fcntl.h. 2011-04-01 16:18:40 +00:00
Ulrich Weigand
ea4774c3f3 [arm] Remove linuxthreads support. 2011-03-21 20:46:01 +00:00
Ulrich Weigand
b53600e5ca [arm] Fix bug in _nocancel system call stubs. 2011-03-21 20:44:55 +00:00
Ulrich Weigand
738860089d Create ARM unwind records for system call stubs. 2011-03-21 20:44:01 +00:00
Joseph Myers
2242368302 Fix GPL and GCC references in last paragraphs of license notices. 2011-03-21 15:40:37 +00:00
Joseph Myers
2ca1e67193 Define MADV_HUGEPAGE and MADV_NOHUGEPAGE for ARM. 2011-01-25 20:57:58 +00:00
Ken Werner
2c2019389e Use __sync_* on ARM where supported by the compiler. 2010-11-24 23:23:48 +00:00
Joseph Myers
dc54bc1eaa Add fanotify_mark for ARM. 2010-09-30 18:17:22 +00:00
Alexander Kanevskiy
fd5fe45924 ARM: Align hwcap names and definitions with kernel, mark VFP and NEON as HWCAP_IMPORTANT.
- Align hwcap names with kernel (arch/arm/kernel/setup.c)
- Align HWCAP_ARM_* definitions with kernel
- Make VFP and NEON as HWCAP_IMPORTANT, this can help in scenarios
where VFP/NEON HW optimizations can be utilized.
2010-08-13 19:43:35 +00:00
Joseph Myers
3c11c98eaf Add prlimit64 for ARM. 2010-08-12 15:38:57 +00:00
Joseph Myers
ce47c03640 Define F_SETPIPE_SZ and F_GETPIPE_SZ for ARM. 2010-06-14 22:09:08 +00:00
Joseph Myers
d0160bcc19 Fix internal_recvmmsg build attributes for ARM EABI. 2010-05-21 23:18:13 +00:00
Daniel Jacobowitz
2dcd7ed8fd Fix unwinding through Thumb-2 system calls. 2010-04-08 12:43:55 -04:00
Joseph Myers
848fa4a9c0 Update ARM for ABIVERSION changes. 2010-03-30 16:26:07 +00:00
Thomas Schwinge
01b32e7361 Add CFI statements to ARM's assembly code. 2010-03-26 18:12:56 +00:00
Joseph Myers
0549913fb4 Update ARM bits/fcntl.h for XPG7. 2010-01-10 16:55:39 +00:00
Joseph Myers
4d0f4f9f26 Update ARM O_SYNC. 2009-12-15 18:11:13 +00:00
Joseph Myers
bc97817ff6 Define F_OWNER_PGRP for ARM. 2009-11-19 16:46:16 +00:00
Joseph Myers
3a2e1f4e6a Assume pselect6 and ppoll on ARM for kernels 2.6.32 and later. 2009-11-19 16:36:58 +00:00
Joseph Myers
0ecde27222 Change misleading names of parameters of sync_file_range for ARM. 2009-11-18 17:11:07 +00:00
Joseph Myers
35141d00d4 Add new MADV_* values for ARM. 2009-11-17 20:45:50 +00:00
Joseph Myers
06bda6deb5 Fix F_SETOWN_EX and F_GETOWN_EX definitions for ARM. 2009-11-14 22:39:23 +00:00
Joseph Myers
b055d3f1f7 Fix ARM fallocate for -D_FILE_OFFSET_BITS=64.
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h (fallocate): Fix types
	of last two arguments when -D_FILE_OFFSET_BITS=64.
2009-11-06 23:44:33 +00:00
Philip Blundell
b2b2415fe0 Fix ARMv4T interworking.
* sysdeps/unix/sysv/linux/arm/clone.S: Support V4T interworking.
        * sysdeps/unix/sysv/linux/arm/sysdep.h (__local_syscall_error): Likewise.
        * sysdeps/arm/memcpy.S: Likewise.
        * sysdeps/arm/memmove.S: Likewise.
2009-11-06 08:07:18 +00:00
Joseph Myers
0366e55931 Define F_OWNER_* and f_owner_ex for ARM.
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Define F_OWNER_* and
	f_owner_ex.
2009-10-29 16:51:04 +00:00
Daniel Gutson
274895575e Add ARM EABI build attributes.
Ensure that all objects in ARM EABI glibc have the proper EABI build
attributes to indicate that 8-byte stack alignment is required and
preserved.  (GNU ld does not currently give errors for mixing code
requiring 8-byte alignment - such as anything built with GCC - and
code not marked as preserving it, because of the prevalence of
assembly code without proper markers to indicate that alignment is
preserved.  The ARM RealView linker does give such errors.)

The bulk of the markers are accomplished by the change to sysdep.h,
but a few .S files do not include sysdep.h.  In the case of
internal_accept4.S, no code is generated because EABI does not have
socketcall, but for completeness a dummy file with the right
attributes is used to override the default version in libc.

	* sysdeps/arm/sysdep.h: (Tag_ABI_align8_preserved,
	Tag_ABI_align8_needed): Attributes added.
	* sysdeps/arm/elf/start.S: Likewise.
	* sysdeps/arm/eabi/abi-note.S: New file.
	* sysdeps/unix/sysv/linux/arm/eabi/internal_accept4.S: New
	file.
2009-10-22 19:39:47 +00:00
Joseph Myers
4ba089f88e Define F_SETOWN_EX and F_GETOWN_EX for ARM.
* sysdeps/unix/sysv/linux/arm/bits/fcntl.h: Define F_SETOWN_EX and
	F_GETOWN_EX.
2009-10-03 17:39:05 +00:00
Joseph Myers
53df8bcec0 Add alternate signal stack support to ARM ____longjmp_chk.
* sysdeps/arm/____longjmp_chk.S: Remove.  Replaced by....
	* sysdeps/unix/sysv/linux/arm/____longjmp_chk.S,
	sysdeps/unix/sysv/linux/arm/eabi/____longjmp_chk.S: This.  New
	files.
	* sysdeps/arm/__longjmp.S, sysdeps/arm/eabi/__longjmp.S: Use r4
	for saved sp.
2009-08-06 16:53:09 +00:00
Aurelien Jarno
0a6ab2a600 Define __ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4 for ARM.
* sysdeps/unix/sysv/linux/arm/kernel-features.h: Define
	__ASSUME_EVENTFD2 and __ASSUME_SIGNALFD4.
2009-07-29 15:26:39 +00:00
Maxim Kuvyrkov
b6dec1881f ARM EABI backtrace using unwind information.
2009-06-24  Maxim Kuvyrkov  <maxim@codesourcery.com>
            Mark Mitchell  <mark@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>
            Kazu Hirata  <kazu@codesourcery.com>

	* sysdeps/arm/eabi/backtrace.c: New.
	* sysdeps/arm/eabi/Makefile (CFLAGS-backtrace.c): Add
	-funwind-tables.
	* sysdeps/arm/preconfigure: Add -fno-unwind-tables to CFLAGS.
	* sysdeps/unix/sysv/linux/arm/eabi/configure.in: Remove
	-fno-unwind-tables from CFLAGS.
	* sysdeps/unix/sysv/linux/arm/eabi/configure: Regenerate.
	* sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind.h (_Unwind_Trace_Fn):
	Define.
	(_Unwind_Backtrace): Declare.
2009-06-24 15:55:04 +00:00
Joseph Myers
9f8832d47f Assume preadv and pwritev syscalls on ARM for 2.6.30.
* sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_PREADV,
	__ASSUME_PWRITEV): Don't undefine.
2009-05-16 15:19:32 +00:00
Joseph Myers
db99b35dde Add fallocate64 export for ARM.
* sysdeps/unix/sysv/linux/arm/Versions (libc): Add
	fallocate64@@GLIBC_2.11.
2009-05-16 14:29:06 +00:00
Joseph Myers
80c0ce1cac * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_PREADV,
__ASSUME_PWRITEV): Undefine.
2009-04-18 14:08:41 +00:00