commit f259f4882880a1f6996aeaf8f5be834e3ef45c5c
parent 5ef656fab165f6689f688dc814fc30a1ec74b3aa
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Mon, 23 Oct 2023 17:05:00 +0200
libmach/elf64: Remove outdated comment
XINDEX is not supported in elf64read.c and objects using it are
rejected. for this reason the TODO comment does not make
sense anymore.
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/libmach/elf64/elf64getsym.c b/src/libmach/elf64/elf64getsym.c
@@ -95,7 +95,6 @@ elf64getsym(Obj *obj, int *idx, Symbol *sym)
ent = &elf->syms[n];
if (ELF_ST_TYPE(ent->st_info) == STT_SECTION) {
- /* TODO: Implement XINDEX */
Elf_Shdr *shdr = &elf->shdr[ent->st_shndx];
sym->name = elf64str(obj, SEC_STRTBL, shdr->sh_name);
} else {