projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d8af55
)
kbuild: warn about references from .init.text to .exit.text
author
Sam Ravnborg
<sam@ravnborg.org>
Sat, 2 Jun 2007 19:29:20 +0000
(21:29 +0200)
committer
Sam Ravnborg
<sam@ravnborg.org>
Mon, 16 Jul 2007 21:24:47 +0000
(23:24 +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
patch
|
blob
|
blame
|
history
diff --git
a/scripts/mod/modpost.c
b/scripts/mod/modpost.c
index 1ef78753db97662001ac77863bdfb7a9394a8dd3..7f5ff7e0a0f3f572019f76f7053da30088ae42ca 100644
(file)
--- a/
scripts/mod/modpost.c
+++ b/
scripts/mod/modpost.c
@@
-1214,7
+1214,6
@@
static int exit_section_ref_ok(const char *name)
".exit.data",
".exit.text",
".exitcall.exit",
- ".init.text",
".rodata",
NULL
};