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] test-skeleton.c: xmalloc, xcalloc, xrealloc are potentially unused


On 22 Jun 2016 17:18, Florian Weimer wrote:
> __attribute__ ((used)) means that the function has to be
> emitted in assembly because it is referenced in ways the
> compiler cannot detect (such as asm statements, or some
> post-processing on the generated assembly).
> 
> The unused attribute needs to come first, otherwise it is
> applied to the return type and not the function definition.

ok
-mike

Attachment: signature.asc
Description: Digital signature


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