1
0

asm-generic.h 683 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2006-2023 RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2023-03-12 WangXiaoyao the first version
  9. */
  10. #ifndef __ASM_GENERIC_H__
  11. #define __ASM_GENERIC_H__
  12. #define START_POINT(funcname) \
  13. .type funcname, %function; \
  14. .global funcname; \
  15. funcname: \
  16. .cfi_sections .debug_frame, .eh_frame; \
  17. .cfi_startproc; \
  18. .cfi_undefined lr
  19. #define START_POINT_END(name) \
  20. .cfi_endproc; \
  21. .size name, .-name;
  22. #endif /* __ASM_GENERIC_H__ */