* RE: Re: Optimization of strcpy with an offset outside the string
@ 2001-12-04 8:24 smallmeter
0 siblings, 0 replies; only message in thread
From: smallmeter @ 2001-12-04 8:24 UTC (permalink / raw)
To: Daniel Jacobowitz, Corey Minyard; +Cc: gcc
Daniel Jacobowitz <drow@mvista.com> wrote:
>On Mon, Dec 03, 2001 at 08:45:26PM -0600, Corey Minyard wrote:
>> In the PowerPC Linux kernel, at some points in time the reference to
>> some constant data is at an offset (because the MMU is not set up yet).
>> So you see expressions like:
>>
>> print("test" + offset);
>>
>Is this still in the current PPC kernels?
Current stock 2.4.16. I'm not using the PPC development kernels.
>
>Franz raised this issue several months ago, and I believe the verdict
>was that it was illegal.
Sounds good to me.
>
>I personally wouldn't mind a warning being generated, though!
How could we generate a warning? They don't know the value of the
offset, and it may be perfectly legal.
-Corey
--
__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-12-04 16:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-04 8:24 Re: Optimization of strcpy with an offset outside the string smallmeter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).