From: Tom Rini Date: Tue, 13 Sep 2005 08:25:09 +0000 (-0700) Subject: [PATCH] ppc32: discard *.exit.text and *.exit.data sections X-Git-Tag: v2.6.14-rc2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a00cbfcf8ffdd719cb5a27e1a0a9779665d1e23;p=pandora-kernel.git [PATCH] ppc32: discard *.exit.text and *.exit.data sections Discard *.exit.text sections on runtime. We cannot do this on link time because of the way BUG macros are implemented. If "__exit function" calls one of those macros, __bug_table section will reference this function. This is similar to ".altinstructions" situation on i386. *.exit.data seems to be OK in this respect and is discarded on link time. Signed-off-by: Eugene Surovegin Signed-off-by: Tom Rini Acked-by: Paul Mackerras Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed