modpost: remove self-definitions of R_ARM_* macros
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 4 Jul 2024 13:47:56 +0000 (22:47 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 16 Jul 2024 07:07:14 +0000 (16:07 +0900)
commit3914cdde89c29b681e73e507a04ca50f147482a3
treeb5abf84d12439c8d025e70013004b2058d29d234
parent5f99665ee8f4335f334a5292b6d5b41a577fc2c0
modpost: remove self-definitions of R_ARM_* macros

Commit f5983dab0ead ("modpost: define more R_ARM_* for old
distributions") added self-definitions for the R_ARM_* macros to fix
build errors on CentOS 7.

RHEL/CentOS 7 were retired at the end of June.

Remove all the R_ARM_* definitions (except for R_ARM_THM_CALL), which
should be available in recent distributions.

glibc and musl added most of R_ARM_* macros in 2013. [1] [2]

[1]: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=08cbd996d33114ca50644d060fbe3a08260430fb
[2]: https://git.musl-libc.org/cgit/musl/commit/?id=268375c1c017c0bdefeed1a330811e433c4dfaef

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
scripts/mod/modpost.c