lkml.org 
[lkml]   [2007]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[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 <sam@ravnborg.org>
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.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
scripts/mod/modpost.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 2b881c2..0f9130f 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -1216,7 +1216,6 @@ static int exit_section_ref_ok(const char *name)
".exit.data",
".exit.text",
".exitcall.exit",
- ".init.text",
".rodata",
NULL
};
--
1.5.1.rc3.1544.g8a923

----- End forwarded message -----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-06-03 22:53    [W:0.097 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site