Data in text segment (was: Re: Problem with xstr)
The Beach Bum
jfh at rpp386.Dallas.TX.US
Mon Sep 26 13:02:23 AEST 1988
In article <159 at taux02.UUCP> amos at taux02.UUCP (Amos Shapir) writes:
>Thanks to all people who corrected my mistake - separate I/D pdp11 cannot
>support text-segment shared data. It's been a long time since I hacked
>a pdp11 :-(
most modern CPU's can support separate I&D space in some sense by way
of protection bits, etc. in the MMU. i think Zilog Z8000's support it
more or less directly, like the PDP-11's did. the rest of the world
has EXECUTE bits in the MMU which (may or may not) inhibit data cycles
to text segments.
--
John F. Haugh II (jfh at rpp386.Dallas.TX.US) HASA, "S" Division
"Why waste negative entropy on comments, when you could use the same
entropy to create bugs instead?" -- Steve Elias
More information about the Comp.unix.wizards
mailing list