home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / vxworks / 1001 < prev    next >
Encoding:
Text File  |  1992-11-08  |  2.0 KB  |  42 lines

  1. Newsgroups: comp.os.vxworks
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!crabapple.srv.cs.cmu.edu!netnews.srv.cs.cmu.edu!hmp
  3. From: hmp@frc2.frc.ri.cmu.edu (Henning Pangels)
  4. Subject: Re: Interesting ld68k behavior
  5. In-Reply-To: geoff@wrs.com's message of Fri, 6 Nov 1992 15:51:44 GMT
  6. Message-ID: <HMP.92Nov6145827@squash.frc.ri.cmu.edu>
  7. Sender: news@cs.cmu.edu (Usenet News System)
  8. Nntp-Posting-Host: squash.frc.ri.cmu.edu
  9. Reply-To: hmp@frc2.frc.ri.cmu.edu (Henning Pangels)
  10. Organization: Field Robotics Center, CMU
  11. References: <HMP.92Nov6084047@squash.frc.ri.cmu.edu> <geoff.721065104@wrs.com>
  12. Date: Fri, 6 Nov 1992 19:58:27 GMT
  13. Lines: 27
  14.  
  15.  
  16. In article <geoff.721065104@wrs.com> geoff@wrs.com (Geoff Espin) writes:
  17.  
  18.  
  19. >The complaint that compiler flags "-Ttext" and "-e <entrypoint>" are
  20. >independent, at first, seems valid.  But on further reflection,
  21. >it would be very inconvenient if the linker always insisted that
  22. >entry points be the first routines in a module, and that that module
  23. >be the first module listed on the linker command line.  Not everybody
  24. >writes system code.  :-)  What about the UNIX application developer?
  25.  
  26. I completely agree; from what (little) I know about the internal
  27. structure of loadable module formats (like a.out), there's no reason
  28. the entry point has to be at the beginning of the text segment. 
  29.  
  30. Perhaps, then, things should be changed in romStart() where, instead of
  31. requiring the entry point ot be at the beginning of the text segment,
  32. the actual address of the entry point specified with the -e flag is
  33. looked up somehow. Is the "struct exec" header from the a.out file
  34. no longer present after the compression/uncompression process?
  35.  
  36. -hp
  37. --
  38. Henning Pangels    |hmp@frc2.frc.ri.cmu.edu        |     Field Robotics Center
  39. Research Programmer|(412) 268-7088                 |Carnegie-Mellon University
  40. ------------------------------------------------------------------------------
  41.                   It can be difficult to wreck a nice beach.
  42.