home *** CD-ROM | disk | FTP | other *** search
/ Serving the Web / ServingTheWeb1995.disc1of1.iso / linux / slacksrce / d / libc / libc-4.6 / libc-4 / libc-linux / misc / errno.S < prev    next >
Encoding:
Text File  |  1994-08-26  |  345 b   |  24 lines

  1. #ifdef __ELF__
  2. .globl _errno
  3. .data
  4.  
  5. _errno:
  6.     .long 0
  7.  
  8. .type _errno,@object
  9. /* FIXME - why is this in assembly code, anyway.  On a 64 bit machine, the
  10. .size will be incorrect, but we currently cannot use difference expressions
  11. in .size pseudo-ops. */
  12. .size _errno,4
  13. .weak errno
  14. errno = _errno
  15.  
  16. #else
  17. .globl _errno
  18. .data
  19.  
  20. _errno:
  21.     .long 0
  22.  
  23. #endif
  24.