From: Michael Ellerman Date: Tue, 24 Jun 2008 01:33:02 +0000 (+1000) Subject: powerpc: Add logic to patch alternative feature sections X-Git-Tag: v2.6.27-rc1~1058^2~89 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b1a735de64cc975c31a1642ec55e082ddbdfeaf;p=pandora-kernel.git powerpc: Add logic to patch alternative feature sections This commit adds the logic to patch alternative sections. This is fairly straightforward, except for branches. Relative branches that jump from inside the else section to outside of it need to be translated as they're moved, otherwise they will jump to the wrong location. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed