summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-11 20:29:59 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-05-11 20:29:59 +0200
commit08c36f4c11f5ffdcd1656802257ea472df8339e7 (patch)
tree01c5fcffc61bdda640aa598193e98059bd8f2e78 /ldso
parent7d8c08baf43d27aac22a29e55c1108f31b8d7595 (diff)
x86_64: add TODO for R_X86_64_RELATIVE
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/x86_64/dl-startup.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ldso/ldso/x86_64/dl-startup.h b/ldso/ldso/x86_64/dl-startup.h
index 7e05846dd..b2ea93db7 100644
--- a/ldso/ldso/x86_64/dl-startup.h
+++ b/ldso/ldso/x86_64/dl-startup.h
@@ -58,6 +58,9 @@ void PERFORM_BOOTSTRAP_RELOC(ELF_RELOC *rpnt, ElfW(Addr) *reloc_addr,
case R_X86_64_TPOFF64:
*reloc_addr = sym->st_value + rpnt->r_addend - symbol_addr;
break;
+/*TODO: case R_X86_64_RELATIVE:
+ *reloc_addr = load_addr + rpnt->r_addend;
+ break; */
default:
_dl_exit(1);
}