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]

Re: [PATCH] PowerPC64 ELFv2 ABI 2/6: Remove function descriptors


On Wed, 13 Nov 2013, Ulrich Weigand wrote:

> However, there are assembler files where none of this applies.  This is
> typically files that define only data objects.  We had thought to maybe
> force these to use .abiversion, but it turns out that this would have
> required annoying changes (even in glibc we have platform-independent
> assembler source files defining data --- these would have had to be
> patched with powerpc-specific code), for no real good reason: such
> files (data only) are actually compatible with either ABI anyway!

On ARM, we found that putting .eabi_attribute directives in sysdep.h (to 
specify required and maintained stack alignment, a similar case where 
default assembler output isn't compatible with compiler output) covered 
almost all assembly sources in glibc, leaving only a handful of .S files 
needing such directives directly in the .S file.

-- 
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]