From 4b101ddb75ecda7c17c934d6b068f8a4dc7fd002 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Mon, 3 Jun 2024 01:03:10 +0200 Subject: [PATCH] lib/elf: Remove stray semicolon in apply_relocations() --- common/lib/elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/elf.c b/common/lib/elf.c index 7a4efc6d..90748898 100644 --- a/common/lib/elf.c +++ b/common/lib/elf.c @@ -338,7 +338,7 @@ static bool elf64_apply_relocations(uint8_t *elf, struct elf64_hdr *hdr, void *b struct elf64_sym *s = (void *)elf + symtab_offset + symtab_ent * relocation->r_symbol; *ptr = slide + s->st_value #if defined (__aarch64__) - + relocation->r_addend; + + relocation->r_addend #endif ; break;