example of __attribute__((weak)) in gcc