From: Martin Schwidefsky Date: Fri, 11 Jan 2013 12:15:35 +0000 (+0100) Subject: s390/modules: add relocation overflow checking X-Git-Tag: v3.9-rc1~111^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=083e14c09b7ae0247b9944a386fdc32cd0719da1;p=pandora-kernel.git s390/modules: add relocation overflow checking Given enough debug options some modules can grow large enough that the GOT table gets bigger than 4K. On s390 the modules are compiled with -fpic which limits the GOT to 4K. The end result is a module that is loaded but won't work. Add a sanity check to apply_rela and return with an error if a relocation error is detected for a module. Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed