asmarm.h
上传用户:shenzhenrh
上传日期:2013-05-12
资源大小:2904k
文件大小:0k
源码类别:

信息检索与抽取

开发平台:

Unix_Linux

  1. // Assembly language support for arm CPU.
  2. // Bruno Haible 29.5.1999
  3. #ifdef ASM_UNDERSCORE
  4. #ifdef __STDC__
  5. #define C(entrypoint) _##entrypoint
  6. #else
  7. #define C(entrypoint) _/**/entrypoint
  8. #endif
  9. #else
  10. #define C(entrypoint) entrypoint
  11. #endif
  12. // When assembly language code is compiled into a shared library, ELF linkers
  13. // need to know which symbols are functions.
  14. #if defined(__NetBSD__)
  15. #define DECLARE_FUNCTION(name) .type C(name),%function
  16. #else
  17. #define DECLARE_FUNCTION(name)
  18. #endif