]> git.baikalelectronics.ru Git - kernel.git/commit
kallsyms: lower alignment on ARM
authorMathias Krause <minipli@googlemail.com>
Sun, 30 Dec 2018 12:36:00 +0000 (13:36 +0100)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 6 Jan 2019 00:46:51 +0000 (09:46 +0900)
commit45fde531949ba31a8a3f5165070d9380f796c87d
tree174383def931ff5a7ffff21e95df5f9913845290
parente84e2ba7d7fa54d56fe3c9a19093f717ceeabbd9
kallsyms: lower alignment on ARM

As mentioned in the info pages of gas, the '.align' pseudo op's
interpretation of the alignment value is architecture specific.
It might either be a byte value or taken to the power of two.

On ARM it's actually the latter which leads to unnecessary large
alignments of 16 bytes for 32 bit builds or 256 bytes for 64 bit
builds.

Fix this by switching to '.balign' instead which is consistent
across all architectures.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kallsyms.c