From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlev Zundel Date: Fri, 11 Jun 2010 16:46:45 +0200 Subject: [U-Boot] [PATCH] display the entry point when compiling a stand-alone program In-Reply-To: <1276203289-19488-1-git-send-email-timur@freescale.com> (Timur Tabi's message of "Thu, 10 Jun 2010 15:54:49 -0500") References: <1276203289-19488-1-git-send-email-timur@freescale.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Timur, > Contrary to popular belief, the entry point for a stand-alone program is not > consistent. The only way to know for sure is to use the nm program and > search for the entry point function. So we update the Makefile build rule > to display this entry point after the ELF image is created. > > Signed-off-by: Timur Tabi I was thinking along the same lines but decided that this is not the correct solution but only sweetening the fall ;) We should concentrate on creating a correct linker script so that the entry point ends up where we want it to be, namely at STANDALONE_LOAD_ADDR. Can you have a look at this and maybe solve the problem for good then? Thanks! Detlev -- Der erfahrene Politiker hantiert mit Werten wie mit Fahnen. Man tut so, als ob klar sei, was gerecht ist, und unterstellt jedem, der dar?ber diskutieren will, er sei dagegen. -- Norbert Bolz -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de