Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aarch64 loader passes os #1042

Merged
merged 7 commits into from
Dec 31, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
simplify if statement
  • Loading branch information
mrdomino committed Dec 31, 2023
commit c3a0808999b00363b1d16c207407361bf2f70060
5 changes: 1 addition & 4 deletions libc/runtime/cosmo2.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,7 @@ wontreturn textstartup void cosmo(long *sp, struct Syslib *m1, char *exename,
__program_executable_name = exename;
program_invocation_name = argv[0];
__oldstack = (intptr_t)sp;
if (os) {
hostos = os;
} else {
/* old/no loader */
if (!(hostos = os)) {
if (SupportsFreebsd() && is_freebsd) {
hostos = _HOSTFREEBSD;
} else if (SupportsXnu() && m1) {
Expand Down