Commit Graph

157 Commits

Author SHA1 Message Date
Joseph Myers ce001f45bc Remove non-TLS support for ARM. 2011-09-11 11:15:50 +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
Richard Sandiford e5cd24d4bd [ARM] Align _start constant pool to 4 bytes 2011-06-30 15:55:49 +00:00
Joseph Myers 5411b5632d Define elf_ifunc_invoke for ARM. 2011-06-21 14:19:45 +00:00
Joseph Myers 45c99e6495 sendmmsg for ARM. 2011-06-20 19:34:43 +00:00
Konstantinos Margaritis 58a9f49bf4 Detect arm-linux-gnueabi* as ARM EABI. 2011-05-09 14:10:56 +00:00
Manjunath Matti a875971e8e Fix profiling build of __libc_do_syscall. 2011-04-26 22:15:46 +00:00
Richard Sandiford 70063199c3 Support for R_ARM_IRELATIVE relocations. 2011-04-26 21:00:46 +00:00
Joseph Myers b6dd51368d Define TLS_DTV_UNALLOCATED for ARM. 2011-04-11 13:30:33 +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
Nathan Sidwell 3447f0d785 ARM TLS descriptors support. 2011-03-05 03:39:15 +00:00
Manjunath Matti 94fd527b67 Fix profiling libc for ARM EABI to use __gnu_mcount_nc interface when available. 2011-02-16 17:30:13 +00:00
Joseph Myers 2ca1e67193 Define MADV_HUGEPAGE and MADV_NOHUGEPAGE for ARM. 2011-01-25 20:57:58 +00:00
Joseph Myers 038f24265e Fix ARM fenv.h fallbacks when excepts == 0. 2011-01-07 01:42:06 +00:00
Joseph Myers 7f3c9dd2cc Define DEFAULT_STACK_PERMS for ARM. 2010-12-21 00:39:39 +00:00
Ken Werner 2c2019389e Use __sync_* on ARM where supported by the compiler. 2010-11-24 23:23:48 +00:00
Andreas Schwab 82515b866b arm: only modify CFLAGS when configuring for arm-linux*eabi 2010-11-22 17:46:49 +01:00
Joseph Myers c6d5d85ccb Conditionally define FP_FAST_FMA* for ARM. 2010-10-19 20:09:24 +00:00
Joseph Myers 323e2ce5e0 Add hidden feupdateenv and fetestexcept definitions for ARM. 2010-10-11 14:57:33 +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 caf557426d Add hidden alias for ARM fegetenv. 2010-02-10 15:14:41 +00:00
Joseph Myers 0549913fb4 Update ARM bits/fcntl.h for XPG7. 2010-01-10 16:55:39 +00:00
Thomas Schwinge 2423dc241a Move ARM EABI mcount into a separate .S file. 2009-12-16 18:02:51 +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
Andrew Stubbs fbc4c20a80 Fix register conflicts and avoid deprecated instructions in ARM EABI setjmp/longjmp.
* setjmp and longjmp were using the obsolete fstmiax and fldmiax
  instructions.

* Because of a confusion with two different sets of names for the same
  registers (r0...r3 and a1...a4), if VFP was present then the
  subsequent check for iWMMXt support would use a register that had
  been clobbered by saving/restoring the VFP registers.  (The bit
  being checked was clobbered by a reserved bit of FPSCR that it
  always 0 on present hardware, and no present hardware has both VFP
  and iWMMXt, so this did not cause visible problems.)

2009-10-22  Andrew Stubbs  <ams@codesourcery.com>
            Julian Brown  <julian@codesourcery.com>

	* sysdeps/arm/eabi/setjmp.S (__sigsetjmp): Replace deprecated
	instruction fstmiax with vstmia.
	Correct register conflict and comment.
	* sysdeps/arm/eabi/__longjmp.S (__longjmp): Use vldmia not fldmiax.
	Don't clobber r1/a2 register before testing IWMMXT hwcap.
2009-10-22 19:35:53 +00:00
Julian Brown b5c2620bee Fix locating GOT for Thumb-2 PIE binaries.
* sysdeps/arm/elf/start.S (_start): Avoid dependency on PC pipeline
	offset.
2009-10-22 19:22:35 +00:00