linkage.h 720 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef __ASM_PARISC_LINKAGE_H
  2. #define __ASM_PARISC_LINKAGE_H
  3. #include <asm/dwarf.h>
  4. #ifndef __ALIGN
  5. #define __ALIGN .align 4
  6. #define __ALIGN_STR ".align 4"
  7. #endif
  8. /*
  9. * In parisc assembly a semicolon marks a comment while a
  10. * exclamation mark is used to separate independent lines.
  11. */
  12. #define ASM_NL !
  13. #ifdef __ASSEMBLY__
  14. #define ENTRY(name) \
  15. .export name !\
  16. ALIGN !\
  17. name:
  18. #ifdef CONFIG_64BIT
  19. #define ENDPROC(name) \
  20. END(name)
  21. #else
  22. #define ENDPROC(name) \
  23. .type name, @function !\
  24. END(name)
  25. #endif
  26. #define ENTRY_CFI(name) \
  27. ENTRY(name) ASM_NL\
  28. CFI_STARTPROC
  29. #define ENDPROC_CFI(name) \
  30. ENDPROC(name) ASM_NL\
  31. CFI_ENDPROC
  32. #endif /* __ASSEMBLY__ */
  33. #endif /* __ASM_PARISC_LINKAGE_H */