mirror of
https://github.com/dynup/kpatch
synced 2025-01-05 04:29:31 +00:00
Merge pull request #797 from jpoimboe/PPC64_LOCAL_ENTRY_OFFSET-fix
create-diff-object: Fix PPC64_LOCAL_ENTRY_OFFSET usage
This commit is contained in:
commit
bb088de342
@ -137,7 +137,7 @@ static int is_bundleable(struct symbol *sym)
|
||||
*/
|
||||
static int is_gcc6_localentry_bundled_sym(struct symbol *sym)
|
||||
{
|
||||
return (PPC64_LOCAL_ENTRY_OFFSET(sym->sym.st_other) &&
|
||||
return ((PPC64_LOCAL_ENTRY_OFFSET(sym->sym.st_other) != 0) &&
|
||||
sym->sym.st_value == 8);
|
||||
}
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user