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.
24 lines
1.1 KiB
ArmAsm
24 lines
1.1 KiB
ArmAsm
#if 0
|
|
/*─────────────────────────────────────────────────────────────────╗
|
|
│ To the extent possible under law, Justine Tunney has waived │
|
|
│ all copyright and related or neighboring rights to this file, │
|
|
│ as it is written in the following disclaimers: │
|
|
│ • http://unlicense.org/ │
|
|
│ • http://creativecommons.org/publicdomain/zero/1.0/ │
|
|
╚─────────────────────────────────────────────────────────────────*/
|
|
#endif
|
|
#include "libc/macros.h"
|
|
|
|
// extern const char kWeekdayName[7][10];
|
|
.section .rodata,"a",@progbits
|
|
kWeekdayName:
|
|
.ascin "Sunday",10
|
|
.ascin "Monday",10
|
|
.ascin "Tuesday",10
|
|
.ascin "Wednesday",10
|
|
.ascin "Thursday",10
|
|
.ascin "Friday",10
|
|
.ascin "Saturday",10
|
|
.endobj kWeekdayName,globl
|
|
.previous
|