home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / atari / st / tech / 6889 < prev    next >
Encoding:
Text File  |  1993-01-28  |  2.0 KB  |  48 lines

  1. Newsgroups: comp.sys.atari.st.tech
  2. Path: sparky!uunet!email!nino
  3. From: nino@vmars.tuwien.ac.at (Marinos Yannikos)
  4. Subject: Re: A summary of the new stuff in MiNT/gcc please?
  5. Message-ID: <1993Jan28.110815.8588@email.tuwien.ac.at>
  6. Sender: news@email.tuwien.ac.at
  7. Nntp-Posting-Host: gipsy.vmars.tuwien.ac.at
  8. Organization: TU Wien, Vienna, Austria
  9. References: <3_800_842_fidonet2b625f3a@Kralizec.fido.zeta.org.au>
  10. Date: Thu, 28 Jan 1993 11:08:15 GMT
  11. Lines: 35
  12.  
  13. michael.smith@f842.n800.z3.fido.zeta.org.au (michael smith) writes:
  14. : Hi guys...
  15. :     It looks like I can't get onto the MiNT mailing list (partly coz I don't
  16. : know what the address is, and partly because, well, I'm probably nobody 8)
  17. : ... so I as wondering if someone could give a summary of the interesting
  18. : things since 0.95?
  19.  
  20. Get mint99s.zoo and have a look at the 'changes' file... ;-)
  21.  
  22. : -mbaserel and -mpcrel would be interesting to know, along with some info on
  23. : how the shared text/shared data works...
  24.  
  25. The -mbaserel and -mpcrel options for gcc were implemented by Howard Chu,
  26. and he posted information about them a few weeks ago. Basically
  27. -mpcrel makes the compiler try to use pc-relative addressing mode only
  28. (for text-segment adresses), while -mbaserel makes all accesses to 
  29. the data-segment relative to a base-register (currently A4), so that
  30. by just changing that register one text segment can be used for multiple
  31. copies of a process in memory - that means, that if eg. you have a shell
  32. that was compiled with -mbaserel, if you call it 2x (eg. recursively),
  33. MiNT just needs to allocate a new data segment for the second invocation
  34. and can use the same text segment - so that saves you the amount of
  35. memory the second text segment would require. MiNT only has to set
  36. A4 for the second process to the second data segment...
  37. This is supported since Howard Chu's port of GCC 2.3.1 and MiNT 0.96
  38. as far as I know... Shared 'data' doesn't work as far as I know! ;-)
  39.  
  40. -MY
  41.  
  42. PS: Howard Chu would surely be able to explain this better... Please
  43.     correct me if I'm wrong!
  44.  
  45.  
  46.