Skip to contentSkip to conversation

kbuild: warn about references from .init.text to .exit.text

PATCH In review Sam Ravnborg 1 participant 1 message Jun 3, 2007 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 15/19 kbuild: warn about references from .init.text to .exit.text

Subject: [PATCH 15/19] kbuild: warn about references from .init.text to .exit.text
From: Sam Ravnborg <[email protected]>
Date: Sat, 2 Jun 2007 21:29:20 +0200

The .exit.text section may be discarded either at build or at runtime. So let modpost warn if this situation is detected.

---
 scripts/mod/modpost.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
scripts/mod/modpost.c +0 -1
index 2b881c2..0f9130f 100644
@@ -1216,7 +1216,6 @@ static int exit_section_ref_ok(const char *name)
 		".exit.data",
 		".exit.text",
 		".exitcall.exit",
-		".init.text",
 		".rodata",
 		NULL
 	};
Signature · 4 lines
1.5.1.rc3.1544.g8a923


----- End forwarded message -----