Re: GCC section alignment, and GCC-4.9 being a weird one
From: Miguel Ojeda
Date: Wed Oct 21 2020 - 13:54:26 EST
On Wed, Oct 21, 2020 at 7:42 PM Nick Desaulniers
<ndesaulniers@xxxxxxxxxx> wrote:
>
> If you used some of the macros from
> include/linux/compiler_attributes.h like __section and __aligned, I
> would prefer it. Please consider spelling out __attribute__(()) an
> antipattern.
+1, the shorthands should be used unless there is a reason not to (and
please write the reason in a comment in that case).
Cheers,
Miguel