Re: [PATCH] scripts: Make sortextable handle relocations.

From: H. Peter Anvin
Date: Fri Apr 20 2012 - 21:41:22 EST


On 04/20/2012 04:17 PM, H. Peter Anvin wrote:
> On 04/20/2012 04:14 PM, David Daney wrote:
>>>
>>> I think Linus is right and the right thing to do is to switch to using
>>> relative entries in the exception table; I am currently testing a
>>> patchset to do exactly that (on x86). It also has the benefit of making
>>> the table half the size on x86-64. Then we can just zero out the
>>> .rel[a]__ex_table section and be done with it.
>>
>> That's fine.
>>
>> In any event we want to do build time sorting, this patch improves the
>> original sortextable, so may be worthwhile as purely a cleanup. I
>> wanted to fix the relocation breakage, even if the eventual solution
>> needs to be somewhat different.
>>
>
> Yes... let me finish the patchset and then you can look at what is needed.
>
> -hpa
>

The patchset is finished and is in the x86/extable branch of the -tip
tree. Any way I can convinc you to produce a patch(set) on top of that
branch?

-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/