From fd9214efa47f721e6d08dd2530efbb40b99c3b7b Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 25 Feb 2023 18:10:39 +0100 Subject: toolchain: working customized toolchain for userland bins --- src/user/lib/elfreloc.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/user/lib/elfreloc.c') diff --git a/src/user/lib/elfreloc.c b/src/user/lib/elfreloc.c index 632f60f..aab2a2a 100644 --- a/src/user/lib/elfreloc.c +++ b/src/user/lib/elfreloc.c @@ -15,10 +15,7 @@ static struct Elf64_Dyn *dyn_gettag(Elf64_Xword tag) { } void elf_selfreloc(void) { - // TODO DT_REL - if (dyn_gettag(DT_PLTGOT) || dyn_gettag(DT_JMPREL)) { - _klogf("elf: unimplemented tag in _DYNAMIC\n"); - } + // TODO DT_REL, DT_JMPREL struct Elf64_Dyn *rela_tag = dyn_gettag(DT_RELA); if (rela_tag) { -- cgit v1.2.3