root/src/runtime/hexagon_remote/c11_stubs.cpp

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. __cxa_finalize
  2. __cxa_atexit

extern "C" {

// Hexagon-tools 8.0.06 and later are dependent on 2 additional symbols:
//    __cxa_finalize and __cxa_atexit
// We are providing weak symbol definitions of the these functions.

#include "HAP_farf.h"

//#define FARF_LOW 1    // Enable debug output

void __attribute__ ((weak)) __cxa_finalize() {
  FARF(LOW, "Finalizing\n");
  return;
}

void __attribute__ ((weak)) __cxa_atexit() {
  FARF(LOW, "Atexiting\n");
  return;
}

}  // extern "C"

/* [<][>][^][v][top][bottom][index][help] */