This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
ARM hard-float ABI: add ldconfig flag value
- From: Steve McIntyre <steve dot mcintyre at linaro dot org>
- To: libc-alpha at sourceware dot org
- Date: Fri, 27 Jul 2012 17:09:53 +0100
- Subject: ARM hard-float ABI: add ldconfig flag value
Hi,
I'm back to working on some of the HF ABI issues that have been raised
in the past [1]; sorry for the long delay. As a first part, here's a
trivial patch to add a flag value for HF ABI libraries in ldconfig and
the cache:
diff --git a/sysdeps/generic/ldconfig.h b/sysdeps/generic/ldconfig.h
index ef3f4b9..1cffdc6 100644
--- a/sysdeps/generic/ldconfig.h
+++ b/sysdeps/generic/ldconfig.h
@@ -34,6 +34,7 @@
#define FLAG_MIPS64_LIBN32 0x0600
#define FLAG_MIPS64_LIBN64 0x0700
#define FLAG_X8664_LIBX32 0x0800
+#define FLAG_ARM_HFABI 0x0900
/* Name of auxiliary cache. */
#define _PATH_LDCONFIG_AUX_CACHE "/var/cache/ldconfig/aux-cache"
I'm discussing a possible use/implementation of the PT_ARM_ARCHEXT
segment with folks inside ARM at the moment, as a replacement for
checking the ARM-specific build attributes that people didn't like
back then. In advance of that, I'd like to stake a claim for a flag
value. I'm guessing that the new ARM AArch64 architecture will need
one too, but I'll leave that for the team to ask about separately when
they're ready.
[1] http://www.eglibc.org/archives/patches/msg01017.html
Cheers,
--
Steve McIntyre steve.mcintyre@linaro.org
<http://www.linaro.org/> Linaro.org | Open source software for ARM SoCs