lkml.org 
[lkml]   [2021]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH v2 23/23] objtool: Remove .fixup handling
    The .fixup has gone the way of the Dodo, that test will always be
    false.

    Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
    ---
    tools/objtool/check.c | 8 ++------
    1 file changed, 2 insertions(+), 6 deletions(-)

    --- a/tools/objtool/check.c
    +++ b/tools/objtool/check.c
    @@ -3296,14 +3296,10 @@ static bool ignore_unreachable_insn(stru
    return true;

    /*
    - * Ignore any unused exceptions. This can happen when a whitelisted
    - * function has an exception table entry.
    - *
    - * Also ignore alternative replacement instructions. This can happen
    + * Ignore alternative replacement instructions. This can happen
    * when a whitelisted function uses one of the ALTERNATIVE macros.
    */
    - if (!strcmp(insn->sec->name, ".fixup") ||
    - !strcmp(insn->sec->name, ".altinstr_replacement") ||
    + if (!strcmp(insn->sec->name, ".altinstr_replacement") ||
    !strcmp(insn->sec->name, ".altinstr_aux"))
    return true;


    \
     
     \ /
      Last update: 2021-11-10 11:17    [W:4.230 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site