Re: [PATCH 12/14] powerpc: Add logic to patch alternative feature sections

2008-06-25 Thread Michael Ellerman
On Tue, 2008-06-24 at 08:47 -0500, Kumar Gala wrote: On Jun 23, 2008, at 8:33 PM, Michael Ellerman wrote: This patch adds the logic to patch alternative sections. This is fairly straight forward, except for branches. Relative branches that jump from inside the else section to

Re: [PATCH 12/14] powerpc: Add logic to patch alternative feature sections

2008-06-24 Thread Kumar Gala
On Jun 23, 2008, at 8:33 PM, Michael Ellerman wrote: This patch adds the logic to patch alternative sections. This is fairly straight forward, 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

[PATCH 12/14] powerpc: Add logic to patch alternative feature sections

2008-06-23 Thread Michael Ellerman
This patch adds the logic to patch alternative sections. This is fairly straight forward, 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