mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Improve cosmocc toolchain
- Decouple zlib from libc - Add some underscores to mostly internal names
This commit is contained in:
parent
713d4424c6
commit
ba180e754d
25 changed files with 128 additions and 42 deletions
|
@ -30,7 +30,7 @@
|
|||
// @return file descriptor
|
||||
// @note only works on .com binary (not .com.dbg)
|
||||
// @note only supports linux, freebsd, openbsd, and netbsd
|
||||
OpenExecutable:
|
||||
_OpenExecutable:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
pushq __NR_open(%rip) # -0x08(%rbp)
|
||||
|
@ -198,7 +198,7 @@ OpenExecutable:
|
|||
pop %rbx
|
||||
leave
|
||||
ret
|
||||
9: .endfn OpenExecutable,globl
|
||||
9: .endfn _OpenExecutable,globl
|
||||
|
||||
.weak ape_rom_vaddr
|
||||
.weak ape_rom_filesz
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue