[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH v3 1/7] include/essentials: Provide __used, __section macros
Reviewed-by: Yuri Volchkov <yuri.volchkov@xxxxxxxxx> Simon Kuenzer <simon.kuenzer@xxxxxxxxx> writes: > Provide attribute macros for marking symbols as used > and for specifying a target section for a symbol to > be placed. > > Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> > --- > include/uk/essentials.h | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/include/uk/essentials.h b/include/uk/essentials.h > index 44a6232..f6cc6ea 100644 > --- a/include/uk/essentials.h > +++ b/include/uk/essentials.h > @@ -52,9 +52,15 @@ extern "C" { > #ifndef __weak > #define __weak __attribute__((weak)) > #endif > +#ifndef __used > +#define __used __attribute__((used)) > +#endif > #ifndef __unused > #define __unused __attribute__((unused)) > #endif > +#ifndef __section > +#define __section(s) __attribute__((section(s))) > +#endif > #ifndef __nonnull > #define __nonnull __attribute__((nonnull)) > #endif > -- > 2.7.4 > > > _______________________________________________ > Minios-devel mailing list > Minios-devel@xxxxxxxxxxxxxxxxxxxx > https://lists.xenproject.org/mailman/listinfo/minios-devel -- Yuri Volchkov Software Specialist NEC Europe Ltd Kurfürsten-Anlage 36 D-69115 Heidelberg _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |