Skip to contentSkip to conversation

Revert "scripts/mod/modpost.c: permit '.cranges' secton for sh64 architecture."

PATCH New Masahiro Yamada 1 participant 1 message Jul 11, 2022 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Revert "scripts/mod/modpost.c: permit '.cranges' secton for sh64 architecture."

This reverts commit 4d10c223baab8be8f717df3625cfece5be26dead.

Commit 37744feebc08 ("sh: remove sh5 support") removed the sh64 support entirely.

Note:
.cranges was only used for sh64 ever.
Commit 211dc24b8744 ("Remove sh5 and sh64 support") in binutils-gdb already removed the relevant code.

---

Changes in v2:
- Mention that binutils-gdb also remove the .cranges code.

 scripts/mod/modpost.c | 1 -
 1 file changed, 1 deletion(-)
scripts/mod/modpost.c +0 -1
index ba7c5a8ad448..7735d095338c 100644
@@ -753,7 +753,6 @@ static const char *const section_white_list[] =
 {
 	".comment*",
 	".debug*",
-	".cranges",		/* sh64 */
 	".zdebug*",		/* Compressed debug sections. */
 	".GCC.command.line",	/* record-gcc-switches */
 	".mdebug*",        /* alpha, score, mips etc. */
Signature · 1 line
2.32.0