]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
powerpc: Add logic to patch alternative feature sections
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 24 Jun 2008 01:33:02 +0000 (11:33 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 1 Jul 2008 01:28:29 +0000 (11:28 +1000)
commit9b1a735de64cc975c31a1642ec55e082ddbdfeaf
treefe5b45f207b8831cbaab550abafdc96d6761f300
parentfac23fe4be23259a8eaa9bad822f5b14dd07d15c
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 <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/lib/feature-fixups.c