Subject: Re: gcc -fPIC/-fpic and 'const'
To: Todd Vierling <tv@wasabisystems.com>
From: Jaromír <jdolecek@netbsd.org>
List: tech-userlevel
Date: 03/01/2001 21:52:07
Todd Vierling wrote:
> Note that on ELF, .text is not the only read-only section. There are
> several possible ones; .rodata is actually supposed to be mapped read-only
> and *non-executable* where possible. 8-)
Ah, OK :) I was confused by the size(1) output, which was different
for fpic and non-fpic version.
Jaromir
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.ics.muni.cz/~dolecek/
@@@@ Wanna a real operating system ? Go and get NetBSD, dammit! @@@@