]> git.ipfire.org Git - thirdparty/glibc.git/commit
Add ARM EABI build attributes.
authorDaniel Gutson <dgutson@codesourcery.com>
Thu, 22 Oct 2009 19:39:47 +0000 (19:39 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 22 Oct 2009 19:39:47 +0000 (19:39 +0000)
commit274895575e732a4ae6117c8a4469552b36c5d783
tree921156cb58005d55a06d1512da8b5e9601f62c24
parentfbc4c20a80a81ef6bc624a219ef5f2c746efe563
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.
ChangeLog.arm
sysdeps/arm/eabi/abi-note.S [new file with mode: 0644]
sysdeps/arm/elf/start.S
sysdeps/arm/sysdep.h
sysdeps/unix/sysv/linux/arm/eabi/internal_accept4.S [new file with mode: 0644]