dummy.c 292 B

123456789101112
  1. /*
  2. * Dummy replacements for some newlib functions which we neither need
  3. * nor want.
  4. */
  5. void __dummy(void)
  6. {
  7. }
  8. #pragma GCC diagnostic ignored "-Wattribute-alias"
  9. void __do_global_dtors_aux(void) __attribute__((alias("__dummy")));
  10. void frame_dummy(void) __attribute__((alias("__dummy")));