]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[MIPS] Discard .exit.text at runtime.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 8 Mar 2006 14:13:04 +0000 (14:13 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 9 Mar 2006 18:05:09 +0000 (18:05 +0000)
commitbb7d83f74477b41a2dee71771805c8447cdaa70f
tree27ec3663ce4488fee15b48136eb173ff65b370f9
parentec28f3065795ed3be7413368efd7f63d7b81e82d
[MIPS] Discard .exit.text at runtime.

At times gcc will place bits of __exit functions into .rodata.  If
compiled into the kernle itself we used to discard .exit.text - but
not the bits left in .rodata.  While harmless this did at times result
in a large number of warnings.  So until gcc fixes this, discard
.exit.text at runtime.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/vmlinux.lds.S