Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5625445e authored by Sami Tolvanen's avatar Sami Tolvanen Committed by Nick Desaulniers
Browse files

ANDROID: syscalls/x86: use a weak function for IA32 compat syscalls

After LLVM commit rG8f8b5e5587c3 ("[MC] Error for .globl/.local which
change the symbol binding and warn for .weak"), using cond_syscall()
for IA32 compat syscalls produces the following errors with LTO:

  error: __ia32_compat_sys_sysctl changed binding to STB_GLOBAL

Avoid conflicting .weak/.globl statements by using a weak function for
the stub instead.

Bug: 180726982
Link: https://github.com/ClangBuiltLinux/linux/issues/1269


Change-Id: I52446c153155f40cefecf6230cbc0d229de02041
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent 9f2be51d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment