mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 06:48:31 +00:00
Fold conv package into fmt
Both packages had nearly identical dependency requirements, so merging them should help reduce the complexity of the build graph.
This commit is contained in:
parent
978b7858f9
commit
1fc91f3580
203 changed files with 352 additions and 563 deletions
|
@ -28,11 +28,17 @@ program_invocation_short_name:
|
|||
.previous
|
||||
|
||||
.init.start 400,_init_program_invocation_short_name
|
||||
push %rdi
|
||||
push %rsi
|
||||
mov (%r13),%rdi
|
||||
call basename
|
||||
mov (%r13),%rsi
|
||||
mov %rsi,%rcx
|
||||
1: lodsb
|
||||
cmp $'/,%al
|
||||
cmoveq %rsi,%rcx
|
||||
cmp $'\\,%al
|
||||
cmoveq %rsi,%rcx
|
||||
test %al,%al
|
||||
jnz 1b
|
||||
xchg %rcx,%rax
|
||||
pop %rsi
|
||||
pop %rdi
|
||||
stosq
|
||||
.init.end 400,_init_program_invocation_short_name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue