Subject: Re: ELF loader doesn't mprotect(PROT_EXEC).
To: Jason Thorpe <thorpej@shagadelic.org>
From: Aymeric Vincent <Aymeric.Vincent@labri.fr>
List: tech-x11
Date: 10/22/2004 15:50:44
Jason Thorpe <thorpej@shagadelic.org> writes:

> > -	    ppc_flush_icache(&symbol->code.plt[6]);
> > +	    ppc_flush_icache(&symbol->code.plt[6]); /* XXX why 6? */
> 
> Maybe that's the start of the next cache line?

That was my guess, but it would mean that the minimum cache line on
any powerpc is 12 bytes, which seems unlikely to me because it's not a
power of 2.

 Aymeric