Subject: Re: gcc -fPIC/-fpic and 'const'
To: Todd Vierling <>
From: Jaromír <>
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 Dolecek <>
@@@@  Wanna a real operating system ? Go and get NetBSD, dammit!  @@@@