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:
Joe Lawrence 2018-03-19 16:15:31 -04:00 committed by GitHub
commit bb088de342
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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