This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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]

Re: ARM hard-float ABI: add ldconfig flag value


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


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