On Thu, Jul 24, 2008 at 2:58 AM, Haavard Skinnemoen
<[EMAIL PROTECTED]> wrote:
>
> IMO, it's best to avoid such pointers in the first place, especially
> ones that are statically initialized.
>
> Haavard
>

On Thu, Jul 24, 2008 at 5:23 AM, Jerry Van Baren <[EMAIL PROTECTED]> wrote:
>
> OK, now I'm curious: what happens if you make the pf() pointer constant?
>  This will (should) change it from an initialized variable in the .data

Haavard, Jerry, your both suggestions are very right, but you are
missing an important point: I am talking about porting code to u-boot,
libraries with hundreds of files, written and working in other
environments - they can't be compiled in as is, and changing them is
prohibitively inefficient.

cheers,
/vb

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to