home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sgi / 12403 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  1.1 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!wupost!bcm!aio!nuntius
  2. From: Barrett_Jim@ial3.jsc.nasa.gov (Jim Barrett)
  3. Newsgroups: comp.sys.sgi
  4. Subject: How to I re-direct a symbol at link time?
  5. Message-ID: <1992Aug14.141046.9517@aio.jsc.nasa.gov>
  6. Date: 14 Aug 1992 14:10:46 GMT
  7. Sender: news@aio.jsc.nasa.gov (USENET News System)
  8. Organization: Lockheed Engineering & Sciences Co.
  9. Lines: 19
  10. X-Useragent: Nuntius v1.1
  11.  
  12. Pardon me if I'm boring you with repeat posts, but I don't think my first
  13. attempt made it past my local new server ...
  14.  
  15. I would like to tell the linker to remap a symbol at load time.
  16.  
  17. Specifically, if my program calls a subroutine named 'x', I would like to
  18. tell the linker to load subroutine 'y' in place of 'x'.  Can I do this?
  19.  
  20. I'm trying this in fortran, but would also like to do it in C, if
  21. possible.
  22.  
  23. If it matters, we're running under IRIX 4.0.2
  24.  
  25. Advance thanks,
  26.  
  27. Jim
  28. --
  29. Jim Barrett                Lockheed Engineering & Sciences Co., Houston, TX
  30. Barrett_Jim@ial3.jsc.nasa.gov                                  713-333-6103
  31.