mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-02 09:18:31 +00:00
Create ELF aliases for identical symbols
This change greatly reduces the number of modules that need to be compiled. The only issue right now is that sometimes when viewing symbol table entries, the aliased symbol is chosen.
This commit is contained in:
parent
e1b83399bd
commit
b8a6a989c0
191 changed files with 414 additions and 2190 deletions
|
@ -2,6 +2,17 @@
|
|||
#define COSMOPOLITAN_LIBC_FMT_LEB128_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
#ifdef COSMO
|
||||
|
||||
#define sleb64 __sleb64
|
||||
#define zleb64 __zleb64
|
||||
#define uleb64 __uleb64
|
||||
#define unzleb64 __unzleb64
|
||||
#define unuleb64 __unuleb64
|
||||
#define sleb128 __sleb128
|
||||
#define zleb128 __zleb128
|
||||
#define uleb128 __uleb128
|
||||
#define unsleb128 __unsleb128
|
||||
|
||||
char *sleb64(char *, int64_t);
|
||||
char *zleb64(char[hasatleast 10], int64_t);
|
||||
|
@ -16,6 +27,7 @@ char *uleb128(char *, uint128_t);
|
|||
int unsleb128(const void *, size_t, int128_t *);
|
||||
#endif /* __STRICT_ANSI__ */
|
||||
|
||||
#endif /* COSMO */
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_FMT_LEB128_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue