This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]