For compatibility with SVR4, GCC supports a set of #pragma
directives for declaring symbols to be weak, and defining weak aliases.
#pragma weak
symbol
#pragma weak
symbol1 =
symbol2
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-6.3.0/gcc/Weak-Pragmas.html