This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 2/2] glibc: Define HAVE_ARM_PCS_VFP


This final patch adds a config.h.in definition that will be set by the
ARM configure fragment when the hard-float ABI is detected.

The ARM shlib-versions file will use an %ifdef HAVE_ARM_PCS_VFP to
select the appropriate dynamic linker.

It was noted by Joseph Myers that it not a very good design to have
x86/x86_64, SPARC, Power, and now ARM defines in the top-level
config.in.h. We really should cleanup the config.in.h processing to
allow machines to have config.h.in fragments. While I agree that this
is where we want to go, I don't want to see this cleanup block the ARM
dynamic linker name changes. I've filed
http://sourceware.org/bugzilla/show_bug.cgi?id=14068 to look into the
cleanup.

OK to commit?

2012-05-06  Carlos O'Donell  <carlos_odonell@mentor.com>

	* config.h.in: Add HAVE_ARM_PCS_VFP.

diff --git a/config.h.in b/config.h.in
index 81704a1..787873b 100644
--- a/config.h.in
+++ b/config.h.in
@@ -218,4 +218,7 @@

 #define HAVE_REGEX 1

+/* The ARM hard-float ABI is being used.  */
+#undef HAVE_ARM_PCS_VFP
+
 #endif
===

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]