r5377 - in glibc-package/branches/eglibc-2.16/debian: . patches patches/arm
Author: adconrad
Date: 2012-11-18 20:12:08 +0000 (Sun, 18 Nov 2012)
New Revision: 5377
Added:
glibc-package/branches/eglibc-2.16/debian/patches/arm/local-vfp-sysdeps.diff
Modified:
glibc-package/branches/eglibc-2.16/debian/changelog
glibc-package/branches/eglibc-2.16/debian/patches/series
Log:
patches/arm/local-vfp-sysdeps.diff: Force the Tag_ABI_HardFP_use
and Tag_ABI_VFP_args EABI tags when building for armhf, so compilers
only linking crti.o will generate what appear to be armhf binaries.
Modified: glibc-package/branches/eglibc-2.16/debian/changelog
===================================================================
--- glibc-package/branches/eglibc-2.16/debian/changelog 2012-11-18 20:10:07 UTC (rev 5376)
+++ glibc-package/branches/eglibc-2.16/debian/changelog 2012-11-18 20:12:08 UTC (rev 5377)
@@ -363,6 +363,9 @@
* Adjust libc.posinst and libc.preinst service restart code for 2.16.
* Merge regression/progression test suite improvements from Ubuntu.
* Provide backward compatibility for DEB_STAGE->DEB_BUILD_PROFILE.
+ * patches/arm/local-vfp-sysdeps.diff: Force the Tag_ABI_HardFP_use
+ and Tag_ABI_VFP_args EABI tags when building for armhf, so compilers
+ only linking crti.o will generate what appear to be armhf binaries.
[ Matthias Klose ]
* Add patches/any/local-revert-bz13979.diff: revert a commit that made
Added: glibc-package/branches/eglibc-2.16/debian/patches/arm/local-vfp-sysdeps.diff
===================================================================
--- glibc-package/branches/eglibc-2.16/debian/patches/arm/local-vfp-sysdeps.diff (rev 0)
+++ glibc-package/branches/eglibc-2.16/debian/patches/arm/local-vfp-sysdeps.diff 2012-11-18 20:12:08 UTC (rev 5377)
@@ -0,0 +1,21 @@
+Description: Work around broken compilers (like fpc) on armhf
+ patches/arm/local-vfp-sysdeps.diff: Force the Tag_ABI_HardFP_use
+ and Tag_ABI_VFP_args EABI tags when building for armhf, so compilers
+ only linking crti.o will generate what appear to be armhf binaries.
+Author: Adam Conrad <adconrad@debian.org>
+Forwarded: no
+
+--- eglibc-2.16.orig/ports/sysdeps/arm/sysdep.h
++++ eglibc-2.16/ports/sysdeps/arm/sysdep.h
+@@ -117,4 +117,11 @@
+ the caller. */
+ .eabi_attribute 24, 1
+
++#ifdef __ARM_PCS_VFP
++/* Tag_ABI_HardFP_use: This code uses hard floating point */
++ .eabi_attribute 27, 3
++/* Tag_ABI_VFP_args: This code stores FP arguments in VFP registers */
++ .eabi_attribute 28, 1
++#endif /* __ARM_PCS_VFP */
++
+ #endif /* __ASSEMBLER__ */
Modified: glibc-package/branches/eglibc-2.16/debian/patches/series
===================================================================
--- glibc-package/branches/eglibc-2.16/debian/patches/series 2012-11-18 20:10:07 UTC (rev 5376)
+++ glibc-package/branches/eglibc-2.16/debian/patches/series 2012-11-18 20:12:08 UTC (rev 5377)
@@ -57,6 +57,7 @@
arm/unsubmitted-ldso-abi-check.diff
arm/unsubmitted-armhf-linker.diff
arm/local-soname-hack.diff
+arm/local-vfp-sysdeps.diff
arm64/submitted-aarch64-support.diff
Reply to: