mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-01 03:53:33 +00:00
15 lines
345 B
C
15 lines
345 B
C
|
#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_ */
|