eabi_compat.c 729 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Utility functions needed for (some) EABI conformant tool chains.
  3. *
  4. * (C) Copyright 2009 Wolfgang Denk <wd@denx.de>
  5. *
  6. * This program is Free Software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License as
  8. * published by the Free Software Foundation; either version 2 of the
  9. * License, or (at your option) any later version.
  10. */
  11. #include <common.h>
  12. int raise (int signum)
  13. {
  14. /* Even if printf() is available, it's large. Punt it for SPL builds */
  15. #if !defined(CONFIG_SPL_BUILD)
  16. printf("raise: Signal # %d caught\n", signum);
  17. #endif
  18. return 0;
  19. }
  20. /* Dummy function to avoid linker complaints */
  21. void __aeabi_unwind_cpp_pr0(void)
  22. {
  23. };
  24. void __aeabi_unwind_cpp_pr1(void)
  25. {
  26. };