mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
Revert "ANDROID: x86, module: Ignore __typeid__ relocations"
This reverts commit 25776752e7 as CFI is
being removed from the tree to come back later as a "clean" set of
patches.
Bug: 145210207
Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I74cdda3e07f165923ad628154c4e76fed4a914e0
This commit is contained in:
@@ -196,10 +196,6 @@ static int __apply_relocate_add(Elf64_Shdr *sechdrs,
|
||||
val -= (u64)loc;
|
||||
write(loc, &val, 8);
|
||||
break;
|
||||
case R_X86_64_8:
|
||||
if (!strncmp(strtab + sym->st_name, "__typeid__", 10))
|
||||
break;
|
||||
/* fallthrough */
|
||||
default:
|
||||
pr_err("%s: Unknown rela relocation: %llu\n",
|
||||
me->name, ELF64_R_TYPE(rel[i].r_info));
|
||||
|
||||
Reference in New Issue
Block a user