Get GCC to mostly build with Cosmo

This commit is contained in:
Justine Tunney 2023-06-09 06:41:34 -07:00
parent 2eb7148474
commit 9b55dbe417
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
54 changed files with 113 additions and 132 deletions

View file

@ -22,8 +22,8 @@
Mark Adler madler@alumni.caltech.edu
*/
#include "libc/runtime/runtime.h"
#include "third_party/puff/puff.h"
#include "libc/runtime/runtime.h"
// clang-format off
asm(".ident\t\"\\n\\n\
@ -158,7 +158,7 @@ struct state {
* buffer, using shift right, and new bytes are appended to the top of the
* bit buffer, using shift left.
*/
local noinstrument int bits(struct state *s, int need)
local dontinstrument int bits(struct state *s, int need)
{
long val; /* bit accumulator (can use up to 20 bits) */