| 1 | #include <stdio.h> |
| 2 | |
| 3 | // the 'l' prefix makes this an auto-strip symbol |
| 4 | void my_auto_strip_weak() __asm ( "lautostrip" ); |
| 5 | |
| 6 | void __attribute__((weak)) my_auto_strip_weak() |
| 7 | { |
| 8 | |
| 9 | } |
| 10 | |
| 11 | int main() |
| 12 | { |
| 13 | my_auto_strip_weak(); |
| 14 | return 0; |
| 15 | } |
| 16 | |