This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: ARM hard-float ABI: add ldconfig flag value
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: Steve McIntyre <steve dot mcintyre at linaro dot org>, <libc-alpha at sourceware dot org>,<libc-ports at sourceware dot org>
- Date: Thu, 2 Aug 2012 20:50:41 +0000
- Subject: Re: ARM hard-float ABI: add ldconfig flag value
- References: <20120727160941.GA13597@linaro.org> <20120802165658.GG24537@linaro.org><20120802172843.AC5092C0DF@topped-with-meat.com>
On Thu, 2 Aug 2012, Roland McGrath wrote:
> libc-ports@sourceware.org is the right list for discussing ARM.
Only for ports patches; the original posting was a patch to a libc file
(sysdeps/generic/ldconfig.h). It could have done with more background
explanation of what these flag values are and how they are used, and
whether and why they do need to be in a single global place rather than
each architecture having its own definitions in sysdeps.
> OSABI is used in a generic way and should not be used for machine-specific
> purposes. An e_flags (EF_*) bit is probably a better choice. There are
> already these bits (among others):
> #define EF_ARM_SOFT_FLOAT 0x200
> #define EF_ARM_VFP_FLOAT 0x400
> #define EF_ARM_MAVERICK_FLOAT 0x800
> But I don't know the history of their use. Off hand EF_ARM_VFP_FLOAT seems
> like it's already what you want, but maybe it has a different meaning (like
> just that it uses VFP, not that the ABI specifies using VFP registers in
> the calling convention).
All those values are for obsolete ABI versions and not defined in AAELF.
--
Joseph S. Myers
joseph@codesourcery.com