[Top] [All Lists]

Re: [PATCH v3] MIPS: Clean up the calculation of VMLINUZ_LOAD_ADD

To: wu zhangjin <>
Subject: Re: [PATCH v3] MIPS: Clean up the calculation of VMLINUZ_LOAD_ADDRESS
From: Sam Ravnborg <>
Date: Wed, 2 Jun 2010 06:48:27 +0200
Cc: Ralf Baechle <>, linux-mips <>, Alexander Clouter <>, Manuel Lauss <>
In-reply-to: <>
References: <> <> <>
User-agent: Mutt/1.5.18 (2008-05-17)
> >
> > Note: The load_addr local variable _must_ use "=" asignment
> This is the _key_ stuff. I  tried to use VMLINUZ_LOAD_ADDR(like your
> load_addr) as the load address, but failed all the time, seems I used
> the ":=" assignment, now with "=", it works, thanks!

:= evaluate at once. So the right hand side is executed when Make see the line.
= do late evaluation, so the right hand side is executed/evaluated when

In your case you need the late version because calc_vmlinux_load_Addr needs
to be built before you do the evaluation.


<Prev in Thread] Current Thread [Next in Thread>