This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: rs6000_flag_pic
On Wed, Mar 12, 2003 at 06:25:34PM -0500, David Edelsohn wrote:
> Even when not creating a shared library, one wants to share text
> for multiple running instances of the same application.
Sure. And the example I gave won't need a relocation on
msg:
.quad .LC0
when non-shared, thus there's nothing to prevent sharing of text.
The same goes for every other case I can think of, including const
function pointers.
--
Alan Modra
IBM OzLabs - Linux Technology Centre