home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!mcsun!fuug!mits!rkaivola
- From: rkaivola@mits.mdata.fi (Risto Kaivola)
- Subject: LoadSeg and order of hunks
- Message-ID: <1992Jul29.135349.21773@mits.mdata.fi>
- Organization: Microdata International Telecomm Service, Helsinki, Finland
- Date: Wed, 29 Jul 1992 13:53:49 GMT
- Lines: 15
-
- The AmigaDOS function LoadSeg() loads a load module into memory.
- I would like to know whether the resulting segment list is
- guaranteed to reflect the order of hunks in the load module. That
- is, is the order of the segments in the segment list the same as
- the order of code and data hunks in the load module?
- The reason why I ask is that I have a custom linker (works on
- standard AmigaDOS object modules, though) that supports a special
- feature by which a list of machine language instructions in the
- load module can be linked to a high-level source. The feature
- is implemented by means of the hunk_debug, so I'm not breaking the
- rules.
-
- --
- Risto Kaivola
- (Internet address: rkaivola@mits.mdata.fi)
-