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:
Justine Tunney 2022-06-11 09:27:14 -07:00
parent 1ae6cfc198
commit e96aceae41
14 changed files with 512 additions and 11 deletions

View file

@ -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