Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!killer!pollux!dalsqnt!rpp386!jfh
From: jfh@rpp386.Dallas.TX.US (The Beach Bum)
Newsgroups: comp.unix.wizards
Subject: Data in text segment (was: Re: Problem with xstr)
Summary: don't worry, amos.  just don't do it again ...
Message-ID: <7124@rpp386.Dallas.TX.US>
Date: 26 Sep 88 03:02:23 GMT
References: <159@taux02.UUCP>
Reply-To: jfh@rpp386.Dallas.TX.US (The Beach Bum)
Organization: HASA, "S" Division
Lines: 15

In article <159@taux02.UUCP> amos@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@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