Separate data and function address spaces
Conor P. Cahill
cpcahil at virtech.uucp
Mon Nov 13 02:27:53 AEST 1989
In article <930 at fiver.UUCP>, palowoda at fiver.UUCP (Bob Palowoda) writes:
> From article <1989Nov10.123033.2494 at virtech.uucp>, by cpcahil at virtech.uucp (Conor P. Cahill):
> > I don't know what unix you are using, but the System V/386 Unixs use the small
> > model for compiled programs which place the data and text portion into the
> > same segment. I have executed out of data space on these systems. I have
> > even executed out of a shared memory segment.
>
> I'm curious, where did you find out that the System V/386 Unixs use the
> small model? I look through my manuals and cannot find the refernce to
> "models".
I believe it was in the original System V/386 Release 3.0 release notes, but
I no longer have them around and can't check them. However a check of the
assembly language generated by the C compiler shows that it does no use
any multi-segment function calls and/or data accesses.
--
+-----------------------------------------------------------------------+
| Conor P. Cahill uunet!virtech!cpcahil 703-430-9247 !
| Virtual Technologies Inc., P. O. Box 876, Sterling, VA 22170 |
+-----------------------------------------------------------------------+
More information about the Comp.lang.c
mailing list