]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
genksyms: Teach parser about 128-bit built-in types
authorWill Deacon <will.deacon@arm.com>
Tue, 18 Jun 2019 13:10:48 +0000 (14:10 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commitb0d6ac21e6d445d9b0a973f54eafc305c0ff8825
tree7534acd1dacb059877a988bcbdce06cb41d25521
parent8241ff68ad85b0eab65ede010d58a30c9a7c2985
genksyms: Teach parser about 128-bit built-in types

BugLink: https://bugs.launchpad.net/bugs/1839213
[ Upstream commit a222061b85234d8a44486a46bd4df7e2cda52385 ]

__uint128_t crops up in a few files that export symbols to modules, so
teach genksyms about it and the other GCC built-in 128-bit integer types
so that we don't end up skipping the CRC generation for some symbols due
to the parser failing to spot them:

  | WARNING: EXPORT symbol "kernel_neon_begin" [vmlinux] version
  |          generation failed, symbol will not be versioned.
  | ld: arch/arm64/kernel/fpsimd.o: relocation R_AARCH64_ABS32 against
  |     `__crc_kernel_neon_begin' can not be used when making a shared
  |     object
  | ld: arch/arm64/kernel/fpsimd.o:(.data+0x0): dangerous relocation:
  |     unsupported relocation

Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
scripts/genksyms/keywords.c
scripts/genksyms/parse.y