home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vxworks
- 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
- From: hmp@frc2.frc.ri.cmu.edu (Henning Pangels)
- Subject: Re: Interesting ld68k behavior
- In-Reply-To: geoff@wrs.com's message of Fri, 6 Nov 1992 15:51:44 GMT
- Message-ID: <HMP.92Nov6145827@squash.frc.ri.cmu.edu>
- Sender: news@cs.cmu.edu (Usenet News System)
- Nntp-Posting-Host: squash.frc.ri.cmu.edu
- Reply-To: hmp@frc2.frc.ri.cmu.edu (Henning Pangels)
- Organization: Field Robotics Center, CMU
- References: <HMP.92Nov6084047@squash.frc.ri.cmu.edu> <geoff.721065104@wrs.com>
- Date: Fri, 6 Nov 1992 19:58:27 GMT
- Lines: 27
-
-
- In article <geoff.721065104@wrs.com> geoff@wrs.com (Geoff Espin) writes:
-
-
- >The complaint that compiler flags "-Ttext" and "-e <entrypoint>" are
- >independent, at first, seems valid. But on further reflection,
- >it would be very inconvenient if the linker always insisted that
- >entry points be the first routines in a module, and that that module
- >be the first module listed on the linker command line. Not everybody
- >writes system code. :-) What about the UNIX application developer?
-
- I completely agree; from what (little) I know about the internal
- structure of loadable module formats (like a.out), there's no reason
- the entry point has to be at the beginning of the text segment.
-
- Perhaps, then, things should be changed in romStart() where, instead of
- requiring the entry point ot be at the beginning of the text segment,
- the actual address of the entry point specified with the -e flag is
- looked up somehow. Is the "struct exec" header from the a.out file
- no longer present after the compression/uncompression process?
-
- -hp
- --
- Henning Pangels |hmp@frc2.frc.ri.cmu.edu | Field Robotics Center
- Research Programmer|(412) 268-7088 |Carnegie-Mellon University
- ------------------------------------------------------------------------------
- It can be difficult to wreck a nice beach.
-