home *** CD-ROM | disk | FTP | other *** search
/ Serving the Web / ServingTheWeb1995.disc1of1.iso / linux / slacksrce / d / libc / libc-4.6 / libc-4 / libc-linux / sysdeps / i386 / asm-ops.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-12-12  |  639 b   |  33 lines

  1. #ifndef ASM_OPS_H
  2. #define ASM_OPS_H
  3.  
  4. #ifdef __ELF__
  5. #define L(X)  ".LX" #X
  6. #define LF(X) ".LX" #X
  7. #define LB(X) ".LX" #X
  8. #define LL(X) ".LX" #X ":"
  9. #define ASIDENT(X) #X
  10. #else
  11. #define L(X) #X
  12. #define LF(X) #X "f"
  13. #define LB(X) #X "b"
  14. #define LL(X) #X ":"
  15. #define ASIDENT(X) "_" #X
  16. #endif
  17.  
  18. #if !defined(__i486__) && !defined(__i586__)
  19. #ifdef __ELF__
  20. #define ALIGN ".align 4,0x90"
  21. #else  /* __ELF__ */
  22. #define ALIGN ".align 2,0x90"
  23. #endif /* __ELF__ */
  24. #else  /* __i486__/__i586__ */
  25. #ifdef __ELF__
  26. #define ALIGN ".align 16,0x90"
  27. #else  /* __ELF__ */
  28. #define ALIGN ".align 4,0x90"
  29. #endif /* __ELF__ */
  30. #endif /* __i486__/__i586__ */
  31.  
  32. #endif
  33.