linkage.h 738 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_PARISC_LINKAGE_H
  3. #define __ASM_PARISC_LINKAGE_H
  4. #include <asm/dwarf.h>
  5. #ifndef __ALIGN
  6. #define __ALIGN .align 4
  7. #define __ALIGN_STR ".align 4"
  8. #endif
  9. /*
  10. * In parisc assembly a semicolon marks a comment while a
  11. * exclamation mark is used to separate independent lines.
  12. */
  13. #define ASM_NL !
  14. #ifdef __ASSEMBLY__
  15. #define ENTRY(name) \
  16. ALIGN !\
  17. name: ASM_NL\
  18. .export name
  19. #define ENTRY_CFI(name, ...) \
  20. ENTRY(name) ASM_NL\
  21. .proc ASM_NL\
  22. .callinfo __VA_ARGS__ ASM_NL\
  23. .entry ASM_NL\
  24. CFI_STARTPROC
  25. #define ENDPROC_CFI(name) \
  26. CFI_ENDPROC ASM_NL\
  27. .exit ASM_NL\
  28. .procend ASM_NL\
  29. ENDPROC(name)
  30. #endif /* __ASSEMBLY__ */
  31. #endif /* __ASM_PARISC_LINKAGE_H */