mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-29 14:00:29 +00:00
Bump support up to FreeBSD 13 and NetBSD 9.2
These releases are really exciting since they contained the patches we worked to get upstreamed. It means that their /bin/sh interpreters all work fine with Actually Portable Executable now.
This commit is contained in:
parent
1ae6cfc198
commit
e96aceae41
14 changed files with 512 additions and 11 deletions
|
@ -19,7 +19,7 @@
|
|||
#include "libc/macros.internal.h"
|
||||
.text.startup
|
||||
|
||||
// Seventeen byte decompressor.
|
||||
// Thirteen byte decompressor.
|
||||
//
|
||||
// @param di points to output buffer
|
||||
// @param si points to uint8_t {len₁,byte₁}, ..., {0,0}
|
||||
|
@ -32,8 +32,7 @@ rldecode:
|
|||
xchg %al,%cl
|
||||
lodsb
|
||||
jrcxz 2f
|
||||
1: stosb
|
||||
.loop 1b
|
||||
rep stosb
|
||||
jmp 0b
|
||||
2: .leafepilogue
|
||||
.endfn rldecode,globl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue