From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cedric VINCENT Date: Thu, 26 May 2005 15:23:57 +0200 Subject: [U-Boot-Users] compile u-boot with recent toolchain : symbols problem 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 Hello, I used to compile U-Boot with ELDK, but I currently need to work with newer toolchain : - binutils-2.16 - gcc-3.4.3 The "__u_boot_cmd_start" symbol value, generated with this new toolchain, is wrong (U-Boot crashes when relocating the command table). There are two new sections between "__u_boot_cmd_start" and ".u_boot_cmd" address : - .data.rel.local - .data.rel I don't know what these (new) sections are, but the problem can be solved in "u-boot.lds" : - __u_boot_cmd_start = .; .u_boot_cmd : { *(.u_boot_cmd) } __u_boot_cmd_end = .; + __u_boot_cmd_start = ADDR(.u_boot_cmd); Best regards, Cedric VINCENT.