Commit Graph

16 Commits

Author SHA1 Message Date
Joseph Myers
7b583f0ab7 Don't define or test NO_UNDERSCORES or HAVE_WEAK_SYMBOLS for ARM. 2012-01-08 13:02:02 +00:00
Joseph Myers
10fd25cc3b Remove HAVE_ELF conditional for ARM. 2012-01-08 02:01:21 +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
Thomas Schwinge
01b32e7361 Add CFI statements to ARM's assembly code. 2010-03-26 18:12:56 +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
Roland McGrath
47f0752a48 2004-11-18 Daniel Jacobowitz <dan@codesourcery.com>
* sysdeps/arm/sysdep.h: Define __USE_BX__ if bx is available.
	Use it instead of __THUMB_INTERWORK__.  Make RETINSTR take
	only a condition and a register.
	* sysdeps/arm/dl-machine.h: Use __USE_BX__ instead of
	__THUMB_INTERWORK__.
	(_dl_start_user): Use BX.
	* sysdeps/arm/strlen.S: Use DO_RET.
	* sysdeps/unix/arm/brk.S, sysdeps/unix/arm/fork.S,
	sysdeps/unix/arm/sysdep.S, sysdeps/unix/arm/sysdep.h: Likewise.
	* sysdeps/unix/sysv/linux/arm/clone.S,
	sysdeps/unix/sysv/linux/arm/mmap.S,
	sysdeps/unix/sysv/linux/arm/mmap64.S,
	sysdeps/unix/sysv/linux/arm/socket.S,
	sysdeps/unix/sysv/linux/arm/sysdep.h,
	sysdeps/unix/sysv/linux/arm/vfork.S: Update uses of RETINSTR.
2004-12-04 21:20:17 +00:00
Ulrich Drepper
644d82249f (DO_RET): New. 2003-09-17 18:09:36 +00:00
Roland McGrath
4208b5c771 2003-03-21 Roland McGrath <roland@redhat.com>
* sysdeps/arm/sysdep.h (CALL_MCOUNT): Add trailing semicolon.
2003-03-21 20:51:59 +00:00
Andreas Jaeger
3214b89b32 Update to LGPL v2.1. 2001-07-06 04:56:23 +00:00
Ulrich Drepper
a35276bee2 (CALL_MCOUNT): Add missing semicolons. 1998-08-20 17:35:29 +00:00
Ulrich Drepper
22a7aa47a3 (CALL_MCOUNT): Replace stub with real implementation. 1998-07-27 17:52:15 +00:00
Ulrich Drepper
e0ebc3b2ef Use __ASSEMBLER__ test macro not ASSEMBLER. 1998-05-29 10:20:59 +00:00
Ulrich Drepper
0c56aa6338 (ALIGNARG): ELF .align directive uses a log, not a byte-count. 1998-05-19 16:11:52 +00:00
Ulrich Drepper
fe0955cdc4 Change format of .type directive. Correct comment about floating
point to reflect current reality.
1998-03-18 14:29:30 +00:00
Ulrich Drepper
c48d19d0d5 Use __APCS_32__ to decide whether or not to preserve condition codes
on function call.
1997-11-18 02:39:35 +00:00
Ulrich Drepper
d80b3f3c5b Basic functionality for libc on ARM 1997-04-14 02:11:12 +00:00