aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/vmlinux.lds.h
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-10-13 03:40:24 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-13 12:58:59 -0400
commit23ec23c2d3496d1cdf74f73d60ab1051405ca774 (patch)
treeef8847acda750434ca6b7007a8c49194efd954b3 /include/asm-generic/vmlinux.lds.h
parentc5d6471ff9172e4d8f7a5b484b459c56904ae1f0 (diff)
fix sparc32 breakage (result of vmlinux.lds.S bug)
In commit 4665079cbb2a3e17de82f2ab2940b9f97f37d65e ("[NETNS]: Move some code into __init section when CONFIG_NET_NS=n") we got a new section - .exit.text.refok (more of 'let's tell modpost that some bogus calls are not bogus', a-la text.init.refok). Unfortunately, the commit in question forgot to add it to TEXT_TEXT, with rather amusing results. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-generic/vmlinux.lds.h')
-rw-r--r--include/asm-generic/vmlinux.lds.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index 0240e0506a0..5615440027e 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -153,7 +153,8 @@
153#define TEXT_TEXT \ 153#define TEXT_TEXT \
154 ALIGN_FUNCTION(); \ 154 ALIGN_FUNCTION(); \
155 *(.text) \ 155 *(.text) \
156 *(.text.init.refok) 156 *(.text.init.refok) \
157 *(.exit.text.refok)
157 158
158/* sched.text is aling to function alignment to secure we have same 159/* sched.text is aling to function alignment to secure we have same
159 * address even at second ld pass when generating System.map */ 160 * address even at second ld pass when generating System.map */