home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.24 / text0014.txt < prev    next >
Encoding:
Text File  |  1991-09-03  |  881 b   |  21 lines

  1. Submitted-by: peter@ficc.ferranti.com (Peter da Silva)
  2.  
  3. In article <1991Jun15.175831.6319@uunet.uu.net> sef@kithrup.COM (Sean Eric Fagan) writes:
  4. > have all "illegal" symbols be "safe" (__select, for example).  All library
  5. > routines are written to use the __ names; then, you have the linker accept
  6. > an option that tells it to try to ignore the leading __ if there are
  7. > unresolved externals.
  8.  
  9. You could implement this simply by having the library contain duplicate
  10. symbol table entries for __x and x, with the same offset. You could
  11. handle it in a separate pass after compilation before creating the
  12. library. No extra work should be needed in the librarian, compiler, or
  13. linker!
  14. -- 
  15. Peter da Silva; Ferranti International Controls Corporation; +1 713 274 5180;
  16. Sugar Land, TX  77487-5012;         `-_-' "Have you hugged your wolf, today?"
  17.  
  18.  
  19. Volume-Number: Volume 24, Number 16
  20.  
  21.