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: Fix sysdeps/unix/sysv/linux/arm/libc-do-syscall.S warning


On 03/05/2015 05:14 PM, Joseph Myers wrote:
> On Thu, 5 Mar 2015, Carlos O'Donell wrote:
> 
>>>> should we update features.h to avoid that define when __ASSEMBLER__ is defined ?
>>>> seems like this warning can impact external code too.
>>>
>>> I don't know.  To what extent do we support users including glibc header 
>>> files from assembler code?
>>
>> To the extent that it builds glibc without warnings?
> 
> That answer bears no relation to my intended question.  Users = users of 
> glibc including headers in non-glibc applications, built outside of the 
> glibc build process.  Such uses are completely independent of whether 
> glibc itself builds without warnings.

If compiling libc-do-syscall.S generates a warning, we should fix it so it
doesn't generate a warning. Any fixes beyond those which fix the warning
are superfluous.

We should not do any active work to support including glibc header files
from assembly unless we have specific requests from users for specific
use cases.

Does that answer your question?

Cheers,
Carlos.
 


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