Leave TODO in loader

This commit is contained in:
Jōshin 2024-01-06 03:40:04 +00:00
parent 2869605486
commit e69fb00a98
No known key found for this signature in database

View file

@ -947,6 +947,7 @@ EXTERN_C __attribute__((__noreturn__)) void ApeLoader(long di, long *sp,
} else if (SupportsNetbsd() && !os && ap[0] == AT_EXECFN_NETBSD) { } else if (SupportsNetbsd() && !os && ap[0] == AT_EXECFN_NETBSD) {
os = NETBSD; os = NETBSD;
} else if (SupportsLinux() && ap[0] == AT_FLAGS) { } else if (SupportsLinux() && ap[0] == AT_FLAGS) {
// TODO(mrdomino): maybe set/insert this when we are called as "ape -".
arg0 = !!(ap[1] & AT_FLAGS_PRESERVE_ARGV0); arg0 = !!(ap[1] & AT_FLAGS_PRESERVE_ARGV0);
} }
} }