aboutsummaryrefslogtreecommitdiff
path: root/x86_64-link.c
diff options
context:
space:
mode:
Diffstat (limited to 'x86_64-link.c')
-rw-r--r--x86_64-link.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/x86_64-link.c b/x86_64-link.c
index 602a8ef..27cad93 100644
--- a/x86_64-link.c
+++ b/x86_64-link.c
@@ -61,6 +61,9 @@ int gotplt_entry_type (int reloc_type)
case R_X86_64_RELATIVE:
return NO_GOTPLT_ENTRY;
+ /* The following relocs wouldn't normally need GOT or PLT
+ slots, but we need them for simplicity in the link
+ editor part. See our caller for comments. */
case R_X86_64_32:
case R_X86_64_32S:
case R_X86_64_64: