Thread (19 messages) flat view 19 messages, 8 authors, 2006-08-16

RE: PowerPC paxtest results w/ gcc-4.1

From: Matt Sealey <hidden>
Date: 2006-08-14 11:51:01

Of course, that won't make all that much difference on your 
Cube, because the G4 CPU doesn't have hardware support for 
non-executable pages (any readable page is executable)
I don't think this is true?

Book I compatible PowerPC's have had a "no-executable" bit in
the page protection flags since the dark ages.. see page 7-38
and 7-39 of the 'Programming Environments Manual for 32-Bit
Microprocessors'.. this document predates even the G3.

As far as the documentation goes, you can make the page
readable and writable to the LSU, but the N bit causes the
instruction fetch to cause a machine check. That's pretty
"not-executable" to me at least :)

-- 
Matt Sealey [off-list ref]
Manager, Genesi, Developer Relations
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help