mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Fix Clang support
The amalgamated release is now confirmed to be working with Clang, including its integrated assembler. Fixes #41
This commit is contained in:
parent
e06c90fafc
commit
d7733579d3
103 changed files with 384 additions and 359 deletions
|
@ -66,17 +66,17 @@
|
|||
#define SFLINK(FMT) FMT
|
||||
#ifdef __GNUC__
|
||||
__asm__(".section .yoink\n\t"
|
||||
"nop\tntoa(%rip)\n\t"
|
||||
"nop\tftoa(%rip)\n\t"
|
||||
"nop\tkCp437(%rip)\n\t"
|
||||
"nop\tstrerror(%rip)\n\t"
|
||||
"nop\tstrnwidth(%rip)\n\t"
|
||||
"nop\tstrnwidth16(%rip)\n\t"
|
||||
"nop\twcsnwidth(%rip)\n\t"
|
||||
"nop\tmalloc(%rip)\n\t"
|
||||
"nop\tcalloc(%rip)\n\t"
|
||||
"nop\tfree_s(%rip)\n\t"
|
||||
"nop\t__grow(%rip)\n\t"
|
||||
"nopl\tntoa(%rip)\n\t"
|
||||
"nopl\tftoa(%rip)\n\t"
|
||||
"nopl\tkCp437(%rip)\n\t"
|
||||
"nopl\tstrerror(%rip)\n\t"
|
||||
"nopl\tstrnwidth(%rip)\n\t"
|
||||
"nopl\tstrnwidth16(%rip)\n\t"
|
||||
"nopl\twcsnwidth(%rip)\n\t"
|
||||
"nopl\tmalloc(%rip)\n\t"
|
||||
"nopl\tcalloc(%rip)\n\t"
|
||||
"nopl\tfree_s(%rip)\n\t"
|
||||
"nopl\t__grow(%rip)\n\t"
|
||||
".previous");
|
||||
#else
|
||||
#include "libc/fmt/palandprintf.internal.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue