Initial import
This commit is contained in:
14
libc/runtime/symbolic.h
Normal file
14
libc/runtime/symbolic.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef COSMOPOLITAN_LIBC_RUNTIME_SYMBOLIC_H_
|
||||
#define COSMOPOLITAN_LIBC_RUNTIME_SYMBOLIC_H_
|
||||
|
||||
#ifdef __ASSEMBLER__
|
||||
/* clang-format off */
|
||||
#define SYMBOLIC(NAME) NAME(%rip)
|
||||
#define LITERALLY(NAME) $NAME
|
||||
/* clang-format on */
|
||||
#else
|
||||
#define SYMBOLIC(NAME) NAME
|
||||
#define LITERALLY(NAME) NAME
|
||||
#endif
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_RUNTIME_SYMBOLIC_H_ */
|
||||
Reference in New Issue
Block a user