crt0_shared.cpp 288 B

123456789101112131415
  1. /*
  2. * Copyright (c) 2020, the SerenityOS developers.
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #include <AK/Types.h>
  7. #include <assert.h>
  8. #include <stdio.h>
  9. #include <sys/internals.h>
  10. #include <unistd.h>
  11. #ifndef _DYNAMIC_LOADER
  12. void* __dso_handle __attribute__((__weak__));
  13. #endif