cross-build: Add __weak_symbol definition for libdwarf bootstrap
Fixes: 3aa0bc89c6
("libdwarf: Add a weak uncompress() symbol")
MFC after: 1 week
This commit is contained in:
parent
9dc70af83e
commit
d752d10e53
@ -109,6 +109,9 @@
|
||||
#define __predict_false(exp) __builtin_expect((exp), 0)
|
||||
#endif
|
||||
|
||||
#ifndef __weak_symbol
|
||||
#define __weak_symbol __attribute__((__weak__))
|
||||
#endif
|
||||
#ifndef __weak_reference
|
||||
#ifdef __ELF__
|
||||
#define __weak_reference(sym, alias) \
|
||||
|
Loading…
Reference in New Issue
Block a user