Re: GCC section alignment, and GCC-4.9 being a weird one

From: Miguel Ojeda
Date: Wed Oct 21 2020 - 15:27:28 EST


On Wed, Oct 21, 2020 at 8:35 PM Joe Perches <joe@xxxxxxxxxxx> wrote:
>
> Perhaps something to add as a generic test in checkpatch.

Agreed! It would be nice to check all of them. Even checking for
`attribute` and `__attribute__` could be potentially reasonable (i.e.
so that people are reminded to consider adding whatever attributes
they need into `compiler_attributes.h`), although perhaps too
annoying/noisy for some (e.g. for `arch/*` devs...).

Cheers,
Miguel