Justine Tunney
31194165d2
Remove .internal from more header filenames
2024-08-04 12:52:25 -07:00
Jōshin
2fc507c98f
Fix more vi modelines ( #1006 )
...
* modelines: tw -> sw
shiftwidth, not textwidth.
* space-surround modelines
* fix irregular modelines
* Fix modeline in titlegen.c
2023-12-13 02:28:11 -05:00
Jōshin
e16a7d8f3b
flip et / noet in modelines
...
`et` means `expandtab`.
```sh
rg 'vi: .* :vi' -l -0 | \
xargs -0 sed -i '' 's/vi: \(.*\) et\(.*\) :vi/vi: \1 xoet\2:vi/'
rg 'vi: .* :vi' -l -0 | \
xargs -0 sed -i '' 's/vi: \(.*\)noet\(.*\):vi/vi: \1et\2 :vi/'
rg 'vi: .* :vi' -l -0 | \
xargs -0 sed -i '' 's/vi: \(.*\)xoet\(.*\):vi/vi: \1noet\2:vi/'
```
2023-12-07 22:17:11 -05:00
Jōshin
394d998315
Fix vi modelines ( #989 )
...
At least in neovim, `│vi:` is not recognized as a modeline because it
has no preceding whitespace. After fixing this, opening a file yields
an error because `net` is not an option. (`noet`, however, is.)
2023-12-05 14:37:54 -08:00
Justine Tunney
0105e3e2b6
Introduce new linker for fat ape binaries
2023-08-11 04:39:19 -07:00
Justine Tunney
6c2fd9ecc6
Clean old .source directive out of asm code
2022-03-18 12:43:21 -07:00
Justine Tunney
d932948fb4
Remove more nonstandard stuff from cosmopolitan.h
...
Fixes #61
2021-03-01 00:18:23 -08:00
Justine Tunney
e75ffde09e
Get codebase completely working with LLVM
...
You can now build Cosmopolitan with Clang:
make -j8 MODE=llvm
o/llvm/examples/hello.com
The assembler and linker code is now friendly to LLVM too.
So it's not needed to configure Clang to use binutils under
the hood. If you love LLVM then you can now use pure LLVM.
2021-02-09 02:57:32 -08:00
Justine Tunney
0e36cb3ac4
Improve dead code elimination
2021-02-08 04:04:42 -08:00
Justine Tunney
37a4c70c36
Change license
2020-12-27 17:18:44 -08:00
Justine Tunney
7327c345f9
Get address sanitizer mostly working
2020-09-03 05:44:37 -07:00