mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Make minor improvements
- Work towards simplifying ape.S startup process - Rewrote ar because it took minutes to build cosmopolitan.a
This commit is contained in:
parent
95bc650be8
commit
aea89fe832
70 changed files with 1037 additions and 456 deletions
|
@ -22,7 +22,7 @@
|
|||
#include "libc/runtime/ezmap.h"
|
||||
|
||||
Elf64_Ehdr *mapelfread(const char *filename, struct MappedFile *mf) {
|
||||
if (mapfileread(filename, mf) != -1 && iself64binary(mf->addr, mf->size)) {
|
||||
if (mapfileread(filename, mf) != -1 && IsElf64Binary(mf->addr, mf->size)) {
|
||||
return mf->addr;
|
||||
} else {
|
||||
unmapfile(mf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue