mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Reuse existing variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205572 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
25540a7f39
commit
da7ea68f0d
@ -256,8 +256,7 @@ error_code ELFObjectFile<ELFT>::getSymbolAddress(DataRefImpl Symb,
|
||||
Result = ESym->st_value;
|
||||
|
||||
// Clear the ARM/Thumb indicator flag.
|
||||
if (EF.getHeader()->e_machine == ELF::EM_ARM &&
|
||||
ESym->getType() == ELF::STT_FUNC)
|
||||
if (Header->e_machine == ELF::EM_ARM && ESym->getType() == ELF::STT_FUNC)
|
||||
Result &= ~1;
|
||||
|
||||
if (Header->e_type == ELF::ET_REL)
|
||||
|
Loading…
Reference in New Issue
Block a user