From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Tue, 15 Jun 2010 14:45:21 -0500 Subject: [U-Boot] [PATCH] examples/standalone: Remove relocation compile flags for PowerPC In-Reply-To: <1276630601.32134.1501.camel@petert> References: <1276572325-12642-1-git-send-email-ptyser@xes-inc.com> <4C17CE2F.9050208@freescale.com> <4C17CEEC.8000409@freescale.com> <1276630601.32134.1501.camel@petert> Message-ID: <4C17D851.4010307@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Peter Tyser wrote: > Was commenting out the 'ifeq' above necessary? It shouldn't be, so my > first question would be why it was needed. Probably because I was using an older U-Boot. When I switch to the latest code, it compiles fine. However, my entry point is not at 40000: $ nm -n examples/standalone/flash_wp 00040000 t command_exit 000400c4 t is_locked 00040184 T flash_wp 000403d0 T dummy 'flash_wp' should be at 40000. command_exit and is_locked are two functions in my code. command_exit, however, is not the first function, it's the third.